From 3ce16f541d7b1da5e84e1275e0d71646cfca1a09 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 13 Jul 2022 22:48:43 +0000 Subject: [PATCH 1/2] feat: Add Presto dialect to bigquerymigration v2 client library PiperOrigin-RevId: 460797158 Source-Link: https://github.com/googleapis/googleapis/commit/46f2598ea5da4a9d83598dc8ba682066e4c91409 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8f720ff867a7591bf0d6a413d6134ed8cc74281e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGY3MjBmZjg2N2E3NTkxYmYwZDZhNDEzZDYxMzRlZDhjYzc0MjgxZSJ9 --- .../migration/v2/MigrationServiceGrpc.java | 1129 -------- .../v2alpha/MigrationServiceGrpc.java | 1136 -------- .../migration/v2/MigrationServiceClient.java | 42 +- .../v2/MigrationServiceSettings.java | 19 +- .../bigquery/migration/v2/gapic_metadata.json | 0 .../bigquery/migration/v2/package-info.java | 0 .../GrpcMigrationServiceCallableFactory.java | 0 .../v2/stub/GrpcMigrationServiceStub.java | 1 + ...tpJsonMigrationServiceCallableFactory.java | 0 .../v2/stub/HttpJsonMigrationServiceStub.java | 0 .../v2/stub/MigrationServiceStub.java | 0 .../v2/stub/MigrationServiceStubSettings.java | 45 +- .../MigrationServiceClientHttpJsonTest.java | 0 .../v2/MigrationServiceClientTest.java | 0 .../migration/v2/MockMigrationService.java | 0 .../v2/MockMigrationServiceImpl.java | 0 .../migration/v2/MigrationServiceGrpc.java | 831 ++++++ .../migration/v2/AzureSynapseDialect.java | 238 +- .../v2/AzureSynapseDialectOrBuilder.java | 9 + .../migration/v2/BigQueryDialect.java | 238 +- .../v2/BigQueryDialectOrBuilder.java | 9 + .../v2/CreateMigrationWorkflowRequest.java | 541 ++-- ...eateMigrationWorkflowRequestOrBuilder.java | 58 + .../v2/DeleteMigrationWorkflowRequest.java | 378 ++- ...leteMigrationWorkflowRequestOrBuilder.java | 31 + .../cloud/bigquery/migration/v2/Dialect.java | 2280 ++++++++--------- .../migration/v2/DialectOrBuilder.java | 163 +- .../bigquery/migration/v2/ErrorDetail.java | 471 ++-- .../migration/v2/ErrorDetailOrBuilder.java | 46 +- .../bigquery/migration/v2/ErrorLocation.java | 303 +-- .../migration/v2/ErrorLocationOrBuilder.java | 24 +- .../v2/GetMigrationSubtaskRequest.java | 495 ++-- .../GetMigrationSubtaskRequestOrBuilder.java | 52 +- .../v2/GetMigrationWorkflowRequest.java | 463 ++-- .../GetMigrationWorkflowRequestOrBuilder.java | 43 +- .../bigquery/migration/v2/HiveQLDialect.java | 235 +- .../migration/v2/HiveQLDialectOrBuilder.java | 9 + .../v2/ListMigrationSubtasksRequest.java | 693 ++--- ...ListMigrationSubtasksRequestOrBuilder.java | 73 +- .../v2/ListMigrationSubtasksResponse.java | 591 ++--- ...istMigrationSubtasksResponseOrBuilder.java | 56 +- .../v2/ListMigrationWorkflowsRequest.java | 576 ++--- ...istMigrationWorkflowsRequestOrBuilder.java | 55 +- .../v2/ListMigrationWorkflowsResponse.java | 598 ++--- ...stMigrationWorkflowsResponseOrBuilder.java | 56 +- .../bigquery/migration/v2/LocationName.java | 0 .../migration/v2/MigrationEntitiesProto.java | 161 ++ .../v2/MigrationErrorDetailsProto.java | 96 + .../migration/v2/MigrationMetricsProto.java | 119 + .../migration/v2/MigrationServiceProto.java | 247 ++ .../migration/v2/MigrationSubtask.java | 1494 ++++------- .../migration/v2/MigrationSubtaskName.java | 0 .../v2/MigrationSubtaskOrBuilder.java | 159 +- .../bigquery/migration/v2/MigrationTask.java | 1195 +++------ .../migration/v2/MigrationTaskOrBuilder.java | 118 +- .../migration/v2/MigrationWorkflow.java | 1066 +++----- .../migration/v2/MigrationWorkflowName.java | 0 .../v2/MigrationWorkflowOrBuilder.java | 104 +- .../bigquery/migration/v2/NameMappingKey.java | 726 +++--- .../migration/v2/NameMappingKeyOrBuilder.java | 60 +- .../migration/v2/NameMappingValue.java | 553 ++-- .../v2/NameMappingValueOrBuilder.java | 54 +- .../bigquery/migration/v2/NetezzaDialect.java | 238 +- .../migration/v2/NetezzaDialectOrBuilder.java | 9 + .../migration/v2/ObjectNameMapping.java | 440 ++-- .../migration/v2/ObjectNameMappingList.java | 392 ++- .../v2/ObjectNameMappingListOrBuilder.java | 36 +- .../v2/ObjectNameMappingOrBuilder.java | 34 +- .../bigquery/migration/v2/OracleDialect.java | 235 +- .../migration/v2/OracleDialectOrBuilder.java | 9 + .../cloud/bigquery/migration/v2/Point.java | 425 ++- .../bigquery/migration/v2/PointOrBuilder.java | 34 +- .../migration/v2/PostgresqlDialect.java | 429 ++++ .../v2/PostgresqlDialectOrBuilder.java | 9 + .../bigquery/migration/v2/PrestoDialect.java | 429 ++++ .../migration/v2/PrestoDialectOrBuilder.java | 9 + .../migration/v2/RedshiftDialect.java | 238 +- .../v2/RedshiftDialectOrBuilder.java | 9 + .../migration/v2/ResourceErrorDetail.java | 629 ++--- .../v2/ResourceErrorDetailOrBuilder.java | 76 +- .../migration/v2/SQLServerDialect.java | 238 +- .../v2/SQLServerDialectOrBuilder.java | 9 + .../migration/v2/SnowflakeDialect.java | 238 +- .../v2/SnowflakeDialectOrBuilder.java | 9 + .../bigquery/migration/v2/SourceEnv.java | 419 ++- .../migration/v2/SourceEnvOrBuilder.java | 45 +- .../migration/v2/SparkSQLDialect.java | 238 +- .../v2/SparkSQLDialectOrBuilder.java | 9 + .../v2/StartMigrationWorkflowRequest.java | 375 ++- ...tartMigrationWorkflowRequestOrBuilder.java | 31 + .../migration/v2/TeradataDialect.java | 375 ++- .../v2/TeradataDialectOrBuilder.java | 24 +- .../bigquery/migration/v2/TimeInterval.java | 476 ++-- .../migration/v2/TimeIntervalOrBuilder.java | 43 +- .../bigquery/migration/v2/TimeSeries.java | 732 ++---- .../migration/v2/TimeSeriesOrBuilder.java | 93 +- .../v2/TranslationConfigDetails.java | 992 +++---- .../v2/TranslationConfigDetailsOrBuilder.java | 86 +- .../migration/v2/TranslationConfigProto.java | 328 +++ .../bigquery/migration/v2/TypedValue.java | 650 ++--- .../migration/v2/TypedValueOrBuilder.java | 56 +- .../bigquery/migration/v2/VerticaDialect.java | 238 +- .../migration/v2/VerticaDialectOrBuilder.java | 9 + .../migration/v2/migration_entities.proto | 2 +- .../v2/migration_error_details.proto | 0 .../migration/v2/migration_metrics.proto | 0 .../migration/v2/migration_service.proto | 0 .../migration/v2/translation_config.proto | 12 + .../v2alpha/MigrationServiceClient.java | 42 +- .../v2alpha/MigrationServiceSettings.java | 19 +- .../migration/v2alpha/gapic_metadata.json | 0 .../migration/v2alpha/package-info.java | 0 .../GrpcMigrationServiceCallableFactory.java | 0 .../stub/GrpcMigrationServiceStub.java | 1 + ...tpJsonMigrationServiceCallableFactory.java | 0 .../stub/HttpJsonMigrationServiceStub.java | 0 .../v2alpha/stub/MigrationServiceStub.java | 0 .../stub/MigrationServiceStubSettings.java | 45 +- .../MigrationServiceClientHttpJsonTest.java | 0 .../v2alpha/MigrationServiceClientTest.java | 0 .../v2alpha/MockMigrationService.java | 0 .../v2alpha/MockMigrationServiceImpl.java | 0 .../v2alpha/MigrationServiceGrpc.java | 831 ++++++ .../AssessmentOrchestrationResultDetails.java | 447 ++-- ...ntOrchestrationResultDetailsOrBuilder.java | 27 +- .../v2alpha/AssessmentTaskDetails.java | 582 ++--- .../AssessmentTaskDetailsOrBuilder.java | 54 +- .../v2alpha/AssessmentTaskProto.java | 78 + .../migration/v2alpha/BteqOptions.java | 673 ++--- .../v2alpha/BteqOptionsOrBuilder.java | 69 +- .../CreateMigrationWorkflowRequest.java | 605 ++--- ...eateMigrationWorkflowRequestOrBuilder.java | 58 + .../migration/v2alpha/DatasetReference.java | 400 ++- .../v2alpha/DatasetReferenceOrBuilder.java | 36 +- .../DeleteMigrationWorkflowRequest.java | 441 ++-- ...leteMigrationWorkflowRequestOrBuilder.java | 31 + .../migration/v2alpha/ErrorDetail.java | 477 ++-- .../v2alpha/ErrorDetailOrBuilder.java | 46 +- .../migration/v2alpha/ErrorLocation.java | 306 +-- .../v2alpha/ErrorLocationOrBuilder.java | 24 +- .../bigquery/migration/v2alpha/Filter.java | 350 +-- .../migration/v2alpha/FilterOrBuilder.java | 36 +- .../v2alpha/GetMigrationSubtaskRequest.java | 502 ++-- .../GetMigrationSubtaskRequestOrBuilder.java | 52 +- .../v2alpha/GetMigrationWorkflowRequest.java | 473 ++-- .../GetMigrationWorkflowRequestOrBuilder.java | 43 +- .../migration/v2alpha/IdentifierSettings.java | 620 ++--- .../v2alpha/IdentifierSettingsOrBuilder.java | 47 + .../v2alpha/ListMigrationSubtasksRequest.java | 706 ++--- ...ListMigrationSubtasksRequestOrBuilder.java | 73 +- .../ListMigrationSubtasksResponse.java | 643 ++--- ...istMigrationSubtasksResponseOrBuilder.java | 65 +- .../ListMigrationWorkflowsRequest.java | 596 ++--- ...istMigrationWorkflowsRequestOrBuilder.java | 55 +- .../ListMigrationWorkflowsResponse.java | 689 ++--- ...stMigrationWorkflowsResponseOrBuilder.java | 65 +- .../migration/v2alpha/LocationName.java | 0 .../v2alpha/MigrationEntitiesProto.java | 191 ++ .../v2alpha/MigrationErrorDetailsProto.java | 97 + .../v2alpha/MigrationMetricsProto.java | 120 + .../v2alpha/MigrationServiceProto.java | 261 ++ .../migration/v2alpha/MigrationSubtask.java | 1496 ++++------- .../v2alpha/MigrationSubtaskName.java | 0 .../v2alpha/MigrationSubtaskOrBuilder.java | 162 +- .../migration/v2alpha/MigrationTask.java | 1685 ++++-------- .../v2alpha/MigrationTaskOrBuilder.java | 174 +- .../MigrationTaskOrchestrationResult.java | 612 ++--- ...ationTaskOrchestrationResultOrBuilder.java | 38 + .../migration/v2alpha/MigrationWorkflow.java | 1119 +++----- .../v2alpha/MigrationWorkflowName.java | 0 .../v2alpha/MigrationWorkflowOrBuilder.java | 118 +- .../bigquery/migration/v2alpha/Point.java | 438 ++-- .../migration/v2alpha/PointOrBuilder.java | 34 +- .../v2alpha/ResourceErrorDetail.java | 671 ++--- .../v2alpha/ResourceErrorDetailOrBuilder.java | 73 +- .../StartMigrationWorkflowRequest.java | 395 ++- ...tartMigrationWorkflowRequestOrBuilder.java | 31 + .../migration/v2alpha/TeradataOptions.java | 238 +- .../v2alpha/TeradataOptionsOrBuilder.java | 9 + .../migration/v2alpha/TimeInterval.java | 479 ++-- .../v2alpha/TimeIntervalOrBuilder.java | 43 +- .../migration/v2alpha/TimeSeries.java | 735 ++---- .../v2alpha/TimeSeriesOrBuilder.java | 93 +- .../v2alpha/TranslationFileMapping.java | 426 ++- .../TranslationFileMappingOrBuilder.java | 36 +- .../v2alpha/TranslationTaskDetails.java | 2257 ++++++---------- .../TranslationTaskDetailsOrBuilder.java | 248 +- .../v2alpha/TranslationTaskProto.java | 194 ++ .../migration/v2alpha/TypedValue.java | 653 ++--- .../v2alpha/TypedValueOrBuilder.java | 56 +- .../migration/v2alpha/assessment_task.proto | 0 .../v2alpha/migration_entities.proto | 0 .../v2alpha/migration_error_details.proto | 0 .../migration/v2alpha/migration_metrics.proto | 0 .../migration/v2alpha/migration_service.proto | 0 .../migration/v2alpha/translation_task.proto | 0 .../v2/AzureSynapseDialectOrBuilder.java | 24 - .../v2/BigQueryDialectOrBuilder.java | 24 - ...eateMigrationWorkflowRequestOrBuilder.java | 97 - ...leteMigrationWorkflowRequestOrBuilder.java | 56 - .../migration/v2/HiveQLDialectOrBuilder.java | 24 - .../migration/v2/MigrationEntitiesProto.java | 197 -- .../v2/MigrationErrorDetailsProto.java | 113 - .../migration/v2/MigrationMetricsProto.java | 137 - .../migration/v2/MigrationServiceProto.java | 270 -- .../migration/v2/NetezzaDialectOrBuilder.java | 24 - .../migration/v2/OracleDialectOrBuilder.java | 24 - .../v2/RedshiftDialectOrBuilder.java | 24 - .../v2/SQLServerDialectOrBuilder.java | 24 - .../v2/SnowflakeDialectOrBuilder.java | 24 - .../v2/SparkSQLDialectOrBuilder.java | 24 - ...tartMigrationWorkflowRequestOrBuilder.java | 56 - .../migration/v2/TranslationConfigProto.java | 330 --- .../migration/v2/VerticaDialectOrBuilder.java | 24 - .../v2alpha/AssessmentTaskProto.java | 94 - ...eateMigrationWorkflowRequestOrBuilder.java | 98 - ...leteMigrationWorkflowRequestOrBuilder.java | 56 - .../v2alpha/IdentifierSettingsOrBuilder.java | 85 - .../v2alpha/MigrationEntitiesProto.java | 232 -- .../v2alpha/MigrationErrorDetailsProto.java | 114 - .../v2alpha/MigrationMetricsProto.java | 138 - .../v2alpha/MigrationServiceProto.java | 285 --- ...ationTaskOrchestrationResultOrBuilder.java | 71 - ...tartMigrationWorkflowRequestOrBuilder.java | 56 - .../v2alpha/TeradataOptionsOrBuilder.java | 24 - .../v2alpha/TranslationTaskProto.java | 228 -- 226 files changed, 20931 insertions(+), 33081 deletions(-) delete mode 100644 grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java delete mode 100644 grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java (97%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java (94%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java (99%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java (95%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java (100%) create mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java (60%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java (62%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java (63%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java (84%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java (60%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java (71%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java (57%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java (65%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java (55%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java (65%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java (57%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java (70%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java (68%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java (66%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java (69%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java (68%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java (100%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java (70%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java (100%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java (72%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java (68%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java (100%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java (72%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java (73%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java (72%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java (71%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java (73%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java (65%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java (72%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java (76%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java (83%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java (67%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java (56%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java (74%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java (70%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java (62%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java (70%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java (56%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java (70%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java (72%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java (70%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java (71%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java (80%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java (72%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java (77%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto (99%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto (100%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto (100%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto (100%) rename {proto-google-cloud-bigquerymigration-v2 => owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto (96%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java (97%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java (94%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java (99%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java (95%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java (100%) rename {google-cloud-bigquerymigration => owl-bot-staging/v2alpha/google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java (100%) create mode 100644 owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java (57%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java (54%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java (71%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java (68%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java (72%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java (55%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java (70%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java (62%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java (55%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java (67%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java (60%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java (58%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java (64%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java (64%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java (55%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java (64%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java (57%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java (62%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java (69%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java (63%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java (54%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java (67%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java (67%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java (60%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java (54%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java (100%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java (69%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java (63%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java (65%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java (52%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java (65%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java (69%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java (75%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java (83%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java (65%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java (57%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java (60%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java (67%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java (70%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java (71%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java (67%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java (58%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java (65%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java (71%) create mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java (72%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java (77%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto (100%) rename {proto-google-cloud-bigquerymigration-v2alpha => owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto (100%) delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java delete mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java diff --git a/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java deleted file mode 100644 index fab01f0..0000000 --- a/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java +++ /dev/null @@ -1,1129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.bigquery.migration.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service to handle EDW migrations.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/migration/v2/migration_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MigrationServiceGrpc { - - private MigrationServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2.MigrationService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getCreateMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getCreateMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getCreateMigrationWorkflowMethod; - if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getCreateMigrationWorkflowMethod = - MigrationServiceGrpc.getCreateMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getCreateMigrationWorkflowMethod = - getCreateMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) - .build(); - } - } - } - return getCreateMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getGetMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getGetMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getGetMigrationWorkflowMethod; - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getGetMigrationWorkflowMethod = - getGetMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) - .build(); - } - } - } - return getGetMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> - getListMigrationWorkflowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", - requestType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> - getListMigrationWorkflowsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> - getListMigrationWorkflowsMethod; - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) - == null) { - MigrationServiceGrpc.getListMigrationWorkflowsMethod = - getListMigrationWorkflowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) - .build(); - } - } - } - return getListMigrationWorkflowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty> - getDeleteMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty> - getDeleteMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty> - getDeleteMigrationWorkflowMethod; - if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getDeleteMigrationWorkflowMethod = - MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = - getDeleteMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) - .build(); - } - } - } - return getDeleteMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, - com.google.protobuf.Empty> - getStartMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, - com.google.protobuf.Empty> - getStartMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, - com.google.protobuf.Empty> - getStartMigrationWorkflowMethod; - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getStartMigrationWorkflowMethod = - getStartMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) - .build(); - } - } - } - return getStartMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2.MigrationSubtask> - getGetMigrationSubtaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", - requestType = com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2.MigrationSubtask> - getGetMigrationSubtaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2.MigrationSubtask> - getGetMigrationSubtaskMethod; - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) - == null) { - MigrationServiceGrpc.getGetMigrationSubtaskMethod = - getGetMigrationSubtaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.MigrationSubtask - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) - .build(); - } - } - } - return getGetMigrationSubtaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> - getListMigrationSubtasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", - requestType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> - getListMigrationSubtasksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> - getListMigrationSubtasksMethod; - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) - == null) { - MigrationServiceGrpc.getListMigrationSubtasksMethod = - getListMigrationSubtasksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) - .build(); - } - } - } - return getListMigrationSubtasksMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static MigrationServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - }; - return MigrationServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MigrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - }; - return MigrationServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static MigrationServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - }; - return MigrationServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public abstract static class MigrationServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMigrationWorkflowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMigrationSubtaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMigrationSubtasksMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( - this, METHODID_CREATE_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( - this, METHODID_GET_MIGRATION_WORKFLOW))) - .addMethod( - getListMigrationWorkflowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>( - this, METHODID_LIST_MIGRATION_WORKFLOWS))) - .addMethod( - getDeleteMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_MIGRATION_WORKFLOW))) - .addMethod( - getStartMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, - com.google.protobuf.Empty>(this, METHODID_START_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationSubtaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2.MigrationSubtask>( - this, METHODID_GET_MIGRATION_SUBTASK))) - .addMethod( - getListMigrationSubtasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>( - this, METHODID_LIST_MIGRATION_SUBTASKS))) - .build(); - } - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private MigrationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private MigrationServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.protobuf.Empty deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.protobuf.Empty startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtask( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private MigrationServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow> - getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> - listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2.MigrationSubtask> - getMigrationSubtask( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> - listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; - private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; - private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; - private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; - private static final int METHODID_START_MIGRATION_WORKFLOW = 4; - private static final int METHODID_GET_MIGRATION_SUBTASK = 5; - private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final MigrationServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_MIGRATION_WORKFLOW: - serviceImpl.createMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>) - responseObserver); - break; - case METHODID_GET_MIGRATION_WORKFLOW: - serviceImpl.getMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>) - responseObserver); - break; - case METHODID_LIST_MIGRATION_WORKFLOWS: - serviceImpl.listMigrationWorkflows( - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>) - responseObserver); - break; - case METHODID_DELETE_MIGRATION_WORKFLOW: - serviceImpl.deleteMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MIGRATION_WORKFLOW: - serviceImpl.startMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATION_SUBTASK: - serviceImpl.getMigrationSubtask( - (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_MIGRATION_SUBTASKS: - serviceImpl.listMigrationSubtasks( - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MigrationServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MigrationService"); - } - } - - private static final class MigrationServiceFileDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier { - MigrationServiceFileDescriptorSupplier() {} - } - - private static final class MigrationServiceMethodDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - MigrationServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MigrationServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) - .addMethod(getCreateMigrationWorkflowMethod()) - .addMethod(getGetMigrationWorkflowMethod()) - .addMethod(getListMigrationWorkflowsMethod()) - .addMethod(getDeleteMigrationWorkflowMethod()) - .addMethod(getStartMigrationWorkflowMethod()) - .addMethod(getGetMigrationSubtaskMethod()) - .addMethod(getListMigrationSubtasksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java deleted file mode 100644 index 0091e32..0000000 --- a/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java +++ /dev/null @@ -1,1136 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.bigquery.migration.v2alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service to handle EDW migrations.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/migration/v2alpha/migration_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MigrationServiceGrpc { - - private MigrationServiceGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.bigquery.migration.v2alpha.MigrationService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getCreateMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", - requestType = - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getCreateMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getCreateMigrationWorkflowMethod; - if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getCreateMigrationWorkflowMethod = - MigrationServiceGrpc.getCreateMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getCreateMigrationWorkflowMethod = - getCreateMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .CreateMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) - .build(); - } - } - } - return getCreateMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getGetMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getGetMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getGetMigrationWorkflowMethod; - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getGetMigrationWorkflowMethod = - getGetMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .GetMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) - .build(); - } - } - } - return getGetMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> - getListMigrationWorkflowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", - requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, - responseType = - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> - getListMigrationWorkflowsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> - getListMigrationWorkflowsMethod; - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) - == null) { - MigrationServiceGrpc.getListMigrationWorkflowsMethod = - getListMigrationWorkflowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .ListMigrationWorkflowsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .ListMigrationWorkflowsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) - .build(); - } - } - } - return getListMigrationWorkflowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty> - getDeleteMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", - requestType = - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty> - getDeleteMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty> - getDeleteMigrationWorkflowMethod; - if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getDeleteMigrationWorkflowMethod = - MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = - getDeleteMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .DeleteMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) - .build(); - } - } - } - return getDeleteMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, - com.google.protobuf.Empty> - getStartMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, - com.google.protobuf.Empty> - getStartMigrationWorkflowMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, - com.google.protobuf.Empty> - getStartMigrationWorkflowMethod; - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) - == null) { - MigrationServiceGrpc.getStartMigrationWorkflowMethod = - getStartMigrationWorkflowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .StartMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) - .build(); - } - } - } - return getStartMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> - getGetMigrationSubtaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", - requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> - getGetMigrationSubtaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> - getGetMigrationSubtaskMethod; - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) - == null) { - MigrationServiceGrpc.getGetMigrationSubtaskMethod = - getGetMigrationSubtaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask - .getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) - .build(); - } - } - } - return getGetMigrationSubtaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> - getListMigrationSubtasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", - requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, - responseType = - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> - getListMigrationSubtasksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> - getListMigrationSubtasksMethod; - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) - == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) - == null) { - MigrationServiceGrpc.getListMigrationSubtasksMethod = - getListMigrationSubtasksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .ListMigrationSubtasksRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha - .ListMigrationSubtasksResponse.getDefaultInstance())) - .setSchemaDescriptor( - new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) - .build(); - } - } - } - return getListMigrationSubtasksMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static MigrationServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - }; - return MigrationServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MigrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - }; - return MigrationServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static MigrationServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - }; - return MigrationServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public abstract static class MigrationServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMigrationWorkflowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartMigrationWorkflowMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMigrationSubtaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMigrationSubtasksMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( - this, METHODID_CREATE_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( - this, METHODID_GET_MIGRATION_WORKFLOW))) - .addMethod( - getListMigrationWorkflowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>( - this, METHODID_LIST_MIGRATION_WORKFLOWS))) - .addMethod( - getDeleteMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_MIGRATION_WORKFLOW))) - .addMethod( - getStartMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, - com.google.protobuf.Empty>(this, METHODID_START_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationSubtaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>( - this, METHODID_GET_MIGRATION_SUBTASK))) - .addMethod( - getListMigrationSubtasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>( - this, METHODID_LIST_MIGRATION_SUBTASKS))) - .build(); - } - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private MigrationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private MigrationServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.protobuf.Empty deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.protobuf.Empty startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtask( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private MigrationServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> - getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> - listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> - getMigrationSubtask( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> - listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; - private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; - private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; - private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; - private static final int METHODID_START_MIGRATION_WORKFLOW = 4; - private static final int METHODID_GET_MIGRATION_SUBTASK = 5; - private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final MigrationServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_MIGRATION_WORKFLOW: - serviceImpl.createMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>) - responseObserver); - break; - case METHODID_GET_MIGRATION_WORKFLOW: - serviceImpl.getMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>) - responseObserver); - break; - case METHODID_LIST_MIGRATION_WORKFLOWS: - serviceImpl.listMigrationWorkflows( - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>) - responseObserver); - break; - case METHODID_DELETE_MIGRATION_WORKFLOW: - serviceImpl.deleteMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MIGRATION_WORKFLOW: - serviceImpl.startMigrationWorkflow( - (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATION_SUBTASK: - serviceImpl.getMigrationSubtask( - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>) - responseObserver); - break; - case METHODID_LIST_MIGRATION_SUBTASKS: - serviceImpl.listMigrationSubtasks( - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MigrationServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MigrationService"); - } - } - - private static final class MigrationServiceFileDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier { - MigrationServiceFileDescriptorSupplier() {} - } - - private static final class MigrationServiceMethodDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - MigrationServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MigrationServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) - .addMethod(getCreateMigrationWorkflowMethod()) - .addMethod(getGetMigrationWorkflowMethod()) - .addMethod(getListMigrationWorkflowsMethod()) - .addMethod(getDeleteMigrationWorkflowMethod()) - .addMethod(getStartMigrationWorkflowMethod()) - .addMethod(getGetMigrationSubtaskMethod()) - .addMethod(getListMigrationSubtasksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java similarity index 97% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java index 5ee019f..864af60 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java +++ b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java @@ -59,13 +59,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1077,11 +1077,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListMigrationWorkflowsPagedResponse extends AbstractPagedListResponse< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, - MigrationWorkflow, - ListMigrationWorkflowsPage, - ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, + ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1103,9 +1100,7 @@ private ListMigrationWorkflowsPagedResponse(ListMigrationWorkflowsPage page) { public static class ListMigrationWorkflowsPage extends AbstractPage< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, - MigrationWorkflow, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, ListMigrationWorkflowsPage> { private ListMigrationWorkflowsPage( @@ -1141,11 +1136,8 @@ public ApiFuture createPageAsync( public static class ListMigrationWorkflowsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, - MigrationWorkflow, - ListMigrationWorkflowsPage, - ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, + ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { private ListMigrationWorkflowsFixedSizeCollection( List pages, int collectionSize) { @@ -1165,11 +1157,8 @@ protected ListMigrationWorkflowsFixedSizeCollection createCollection( public static class ListMigrationSubtasksPagedResponse extends AbstractPagedListResponse< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, - MigrationSubtask, - ListMigrationSubtasksPage, - ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, + ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -1190,9 +1179,7 @@ private ListMigrationSubtasksPagedResponse(ListMigrationSubtasksPage page) { public static class ListMigrationSubtasksPage extends AbstractPage< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, - MigrationSubtask, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, ListMigrationSubtasksPage> { private ListMigrationSubtasksPage( @@ -1225,11 +1212,8 @@ public ApiFuture createPageAsync( public static class ListMigrationSubtasksFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, - MigrationSubtask, - ListMigrationSubtasksPage, - ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, + ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { private ListMigrationSubtasksFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java similarity index 94% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java index d47dede..d10756f 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java +++ b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.migration.v2.stub.MigrationServiceStubSettings; @@ -44,10 +45,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -89,8 +90,7 @@ public class MigrationServiceSettings extends ClientSettings listMigrationWorkflowsSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationWorkflowsSettings(); @@ -115,8 +115,7 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationSubtasksSettings(); @@ -251,8 +250,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return getStubSettingsBuilder().listMigrationWorkflowsSettings(); @@ -278,8 +276,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return getStubSettingsBuilder().listMigrationSubtasksSettings(); diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java similarity index 99% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java index 375474d..fdf2f7a 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java +++ b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java @@ -42,6 +42,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java similarity index 95% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java index f297382..163bf18 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java +++ b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java @@ -72,10 +72,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -111,8 +111,7 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationWorkflowSettings; private final PagedCallSettings< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings @@ -122,8 +121,7 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationSubtaskSettings; private final PagedCallSettings< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; @@ -212,13 +210,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> LIST_MIGRATION_WORKFLOWS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -228,8 +224,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow> pageContext = PageContext.create( @@ -239,13 +234,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> LIST_MIGRATION_SUBTASKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -276,8 +269,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -302,8 +294,7 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; @@ -432,8 +423,7 @@ public static class Builder extends StubSettings.Builder getMigrationWorkflowSettings; private final PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings.Builder @@ -443,8 +433,7 @@ public static class Builder extends StubSettings.Builder getMigrationSubtaskSettings; private final PagedCallSettings.Builder< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; private static final ImmutableMap> @@ -636,8 +625,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -663,8 +651,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java b/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java rename to owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java new file mode 100644 index 0000000..ab32596 --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java @@ -0,0 +1,831 @@ +package com.google.cloud.bigquery.migration.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service to handle EDW migrations.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/migration/v2/migration_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MigrationServiceGrpc { + + private MigrationServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2.MigrationService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; + if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getCreateMigrationWorkflowMethod = getCreateMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) + .build(); + } + } + } + return getCreateMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getGetMigrationWorkflowMethod = getGetMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) + .build(); + } + } + } + return getGetMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", + requestType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMigrationWorkflowsMethod() { + io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { + MigrationServiceGrpc.getListMigrationWorkflowsMethod = getListMigrationWorkflowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) + .build(); + } + } + } + return getListMigrationWorkflowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; + if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = getDeleteMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) + .build(); + } + } + } + return getDeleteMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getStartMigrationWorkflowMethod = getStartMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) + .build(); + } + } + } + return getStartMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", + requestType = com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMigrationSubtaskMethod() { + io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { + MigrationServiceGrpc.getGetMigrationSubtaskMethod = getGetMigrationSubtaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) + .build(); + } + } + } + return getGetMigrationSubtaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMigrationSubtasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", + requestType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMigrationSubtasksMethod() { + io.grpc.MethodDescriptor getListMigrationSubtasksMethod; + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { + MigrationServiceGrpc.getListMigrationSubtasksMethod = getListMigrationSubtasksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) + .build(); + } + } + } + return getListMigrationSubtasksMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static MigrationServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + }; + return MigrationServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MigrationServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + }; + return MigrationServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static MigrationServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + }; + return MigrationServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static abstract class MigrationServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationWorkflowsMethod(), responseObserver); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationSubtaskMethod(), responseObserver); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationSubtasksMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( + this, METHODID_CREATE_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( + this, METHODID_GET_MIGRATION_WORKFLOW))) + .addMethod( + getListMigrationWorkflowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>( + this, METHODID_LIST_MIGRATION_WORKFLOWS))) + .addMethod( + getDeleteMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MIGRATION_WORKFLOW))) + .addMethod( + getStartMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, + com.google.protobuf.Empty>( + this, METHODID_START_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationSubtaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2.MigrationSubtask>( + this, METHODID_GET_MIGRATION_SUBTASK))) + .addMethod( + getListMigrationSubtasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>( + this, METHODID_LIST_MIGRATION_SUBTASKS))) + .build(); + } + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub { + private MigrationServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private MigrationServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.protobuf.Empty deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.protobuf.Empty startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private MigrationServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMigrationSubtask( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; + private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; + private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; + private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; + private static final int METHODID_START_MIGRATION_WORKFLOW = 4; + private static final int METHODID_GET_MIGRATION_SUBTASK = 5; + private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final MigrationServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_MIGRATION_WORKFLOW: + serviceImpl.createMigrationWorkflow((com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATION_WORKFLOW: + serviceImpl.getMigrationWorkflow((com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MIGRATION_WORKFLOWS: + serviceImpl.listMigrationWorkflows((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MIGRATION_WORKFLOW: + serviceImpl.deleteMigrationWorkflow((com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MIGRATION_WORKFLOW: + serviceImpl.startMigrationWorkflow((com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATION_SUBTASK: + serviceImpl.getMigrationSubtask((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MIGRATION_SUBTASKS: + serviceImpl.listMigrationSubtasks((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MigrationServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MigrationService"); + } + } + + private static final class MigrationServiceFileDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier { + MigrationServiceFileDescriptorSupplier() {} + } + + private static final class MigrationServiceMethodDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + MigrationServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MigrationServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) + .addMethod(getCreateMigrationWorkflowMethod()) + .addMethod(getGetMigrationWorkflowMethod()) + .addMethod(getListMigrationWorkflowsMethod()) + .addMethod(getDeleteMigrationWorkflowMethod()) + .addMethod(getStartMigrationWorkflowMethod()) + .addMethod(getGetMigrationSubtaskMethod()) + .addMethod(getListMigrationSubtasksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java index 76e41c2..5e7ae8e 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Azure Synapse.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.AzureSynapseDialect} */ -public final class AzureSynapseDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureSynapseDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.AzureSynapseDialect) AzureSynapseDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureSynapseDialect.newBuilder() to construct. private AzureSynapseDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AzureSynapseDialect() {} + private AzureSynapseDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureSynapseDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureSynapseDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private AzureSynapseDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private AzureSynapseDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.AzureSynapseDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect other = - (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) obj; + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect other = (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Azure Synapse.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.AzureSynapseDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.AzureSynapseDialect) com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect result = - new com.google.cloud.bigquery.migration.v2.AzureSynapseDialect(this); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect result = new com.google.cloud.bigquery.migration.v2.AzureSynapseDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.AzureSynapseDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.AzureSynapseDialect) private static final com.google.cloud.bigquery.migration.v2.AzureSynapseDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.AzureSynapseDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureSynapseDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AzureSynapseDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureSynapseDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AzureSynapseDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java new file mode 100644 index 0000000..6006ad2 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface AzureSynapseDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.AzureSynapseDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java index e47e78d..9276e68 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for BigQuery.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.BigQueryDialect} */ -public final class BigQueryDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.BigQueryDialect) BigQueryDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryDialect.newBuilder() to construct. private BigQueryDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BigQueryDialect() {} + private BigQueryDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private BigQueryDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private BigQueryDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.BigQueryDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.BigQueryDialect other = - (com.google.cloud.bigquery.migration.v2.BigQueryDialect) obj; + com.google.cloud.bigquery.migration.v2.BigQueryDialect other = (com.google.cloud.bigquery.migration.v2.BigQueryDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.BigQueryDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.BigQueryDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for BigQuery.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.BigQueryDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.BigQueryDialect) com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.BigQueryDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.BigQueryDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.BigQueryDialect result = - new com.google.cloud.bigquery.migration.v2.BigQueryDialect(this); + com.google.cloud.bigquery.migration.v2.BigQueryDialect result = new com.google.cloud.bigquery.migration.v2.BigQueryDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.BigQueryDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.BigQueryDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.BigQueryDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.BigQueryDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.BigQueryDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.BigQueryDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.BigQueryDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.BigQueryDialect) private static final com.google.cloud.bigquery.migration.v2.BigQueryDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.BigQueryDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.BigQueryDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.BigQueryDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java new file mode 100644 index 0000000..3314e59 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface BigQueryDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.BigQueryDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java similarity index 60% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java index cb9d1a4..cf007c8 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Request to create a migration workflow resource.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest} */ -public final class CreateMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) CreateMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMigrationWorkflowRequest.newBuilder() to construct. - private CreateMigrationWorkflowRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMigrationWorkflowRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +53,32 @@ private CreateMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder subBuilder = null; + if (migrationWorkflow_ != null) { + subBuilder = migrationWorkflow_.toBuilder(); } - case 18: - { - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder subBuilder = null; - if (migrationWorkflow_ != null) { - subBuilder = migrationWorkflow_.toBuilder(); - } - migrationWorkflow_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migrationWorkflow_); - migrationWorkflow_ = subBuilder.buildPartial(); - } - - break; + migrationWorkflow_ = input.readMessage(com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migrationWorkflow_); + migrationWorkflow_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,42 +86,35 @@ private CreateMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -153,32 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,16 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MIGRATION_WORKFLOW_FIELD_NUMBER = 2; private com.google.cloud.bigquery.migration.v2.MigrationWorkflow migrationWorkflow_; /** - * - * *
    * Required. The migration workflow to create.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migrationWorkflow field is set. */ @java.lang.Override @@ -206,43 +169,30 @@ public boolean hasMigrationWorkflow() { return migrationWorkflow_ != null; } /** - * - * *
    * Required. The migration workflow to create.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migrationWorkflow. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow() { - return migrationWorkflow_ == null - ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() - : migrationWorkflow_; + return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; } /** - * - * *
    * Required. The migration workflow to create.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder - getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { return getMigrationWorkflow(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -274,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (migrationWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMigrationWorkflow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMigrationWorkflow()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasMigrationWorkflow() != other.hasMigrationWorkflow()) return false; if (hasMigrationWorkflow()) { - if (!getMigrationWorkflow().equals(other.getMigrationWorkflow())) return false; + if (!getMigrationWorkflow() + .equals(other.getMigrationWorkflow())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,145 +273,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a migration workflow resource.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,16 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override @@ -497,8 +437,7 @@ public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest bui @java.lang.Override public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest(this); result.parent_ = parent_; if (migrationWorkflowBuilder_ == null) { result.migrationWorkflow_ = migrationWorkflow_; @@ -513,51 +452,46 @@ public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -584,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -623,24 +551,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -648,70 +573,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -719,61 +631,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.migration.v2.MigrationWorkflow migrationWorkflow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> - migrationWorkflowBuilder_; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> migrationWorkflowBuilder_; /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migrationWorkflow field is set. */ public boolean hasMigrationWorkflow() { return migrationWorkflowBuilder_ != null || migrationWorkflow_ != null; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migrationWorkflow. */ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { - return migrationWorkflow_ == null - ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() - : migrationWorkflow_; + return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; } else { return migrationWorkflowBuilder_.getMessage(); } } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { + public Builder setMigrationWorkflow(com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -787,15 +679,11 @@ public Builder setMigrationWorkflow( return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMigrationWorkflow( com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { @@ -809,25 +697,17 @@ public Builder setMigrationWorkflow( return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { + public Builder mergeMigrationWorkflow(com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (migrationWorkflow_ != null) { migrationWorkflow_ = - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.newBuilder( - migrationWorkflow_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.newBuilder(migrationWorkflow_).mergeFrom(value).buildPartial(); } else { migrationWorkflow_ = value; } @@ -839,15 +719,11 @@ public Builder mergeMigrationWorkflow( return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { @@ -861,73 +737,55 @@ public Builder clearMigrationWorkflow() { return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder - getMigrationWorkflowBuilder() { - + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder getMigrationWorkflowBuilder() { + onChanged(); return getMigrationWorkflowFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder - getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { if (migrationWorkflowBuilder_ != null) { return migrationWorkflowBuilder_.getMessageOrBuilder(); } else { - return migrationWorkflow_ == null - ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() - : migrationWorkflow_; + return migrationWorkflow_ == null ? + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; } } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> getMigrationWorkflowFieldBuilder() { if (migrationWorkflowBuilder_ == null) { - migrationWorkflowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( - getMigrationWorkflow(), getParentForChildren(), isClean()); + migrationWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( + getMigrationWorkflow(), + getParentForChildren(), + isClean()); migrationWorkflow_ = null; } return migrationWorkflowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -937,32 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,8 +830,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..0dc642c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface CreateMigrationWorkflowRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The migration workflow to create.
+   * 
+ * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the migrationWorkflow field is set. + */ + boolean hasMigrationWorkflow(); + /** + *
+   * Required. The migration workflow to create.
+   * 
+ * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The migrationWorkflow. + */ + com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(); + /** + *
+   * Required. The migration workflow to create.
+   * 
+ * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder(); +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java similarity index 62% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java index d1dde61..064584b 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A request to delete a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest} */ -public final class DeleteMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) DeleteMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMigrationWorkflowRequest.newBuilder() to construct. - private DeleteMigrationWorkflowRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private DeleteMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to delete a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,16 +343,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override @@ -405,8 +364,7 @@ public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest bui @java.lang.Override public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -416,51 +374,46 @@ public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -484,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -523,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -548,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -628,32 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +594,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..891154d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface DeleteMigrationWorkflowRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java similarity index 63% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java index 899116f..0a6b01d 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The possible dialect options for translation.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Dialect} */ -public final class Dialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Dialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.Dialect) DialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Dialect.newBuilder() to construct. private Dialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Dialect() {} + private Dialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Dialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Dialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,233 +52,195 @@ private Dialect( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder subBuilder = null; - if (dialectValueCase_ == 1) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.BigQueryDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 1; - break; + case 10: { + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder subBuilder = null; + if (dialectValueCase_ == 1) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.BigQueryDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 1; + break; + } + case 18: { + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder subBuilder = null; + if (dialectValueCase_ == 2) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.HiveQLDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 2; + break; + } + case 26: { + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder subBuilder = null; + if (dialectValueCase_ == 3) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.RedshiftDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 3; + break; + } + case 34: { + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder subBuilder = null; + if (dialectValueCase_ == 4) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.TeradataDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 4; + break; + } + case 42: { + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder subBuilder = null; + if (dialectValueCase_ == 5) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.OracleDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 5; + break; + } + case 50: { + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder subBuilder = null; + if (dialectValueCase_ == 6) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.SparkSQLDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 6; + break; + } + case 58: { + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder subBuilder = null; + if (dialectValueCase_ == 7) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.SnowflakeDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 7; + break; + } + case 66: { + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder subBuilder = null; + if (dialectValueCase_ == 8) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_).toBuilder(); + } + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.NetezzaDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder subBuilder = null; - if (dialectValueCase_ == 2) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.HiveQLDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 2; - break; + dialectValueCase_ = 8; + break; + } + case 74: { + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder subBuilder = null; + if (dialectValueCase_ == 9) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_).toBuilder(); } - case 26: - { - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder subBuilder = null; - if (dialectValueCase_ == 3) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.RedshiftDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 3; - break; + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder subBuilder = null; - if (dialectValueCase_ == 4) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.TeradataDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 4; - break; + dialectValueCase_ = 9; + break; + } + case 82: { + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder subBuilder = null; + if (dialectValueCase_ == 10) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_).toBuilder(); } - case 42: - { - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder subBuilder = null; - if (dialectValueCase_ == 5) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.OracleDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 5; - break; + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.VerticaDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder subBuilder = null; - if (dialectValueCase_ == 6) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 6; - break; + dialectValueCase_ = 10; + break; + } + case 90: { + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder subBuilder = null; + if (dialectValueCase_ == 11) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_).toBuilder(); } - case 58: - { - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder subBuilder = null; - if (dialectValueCase_ == 7) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 7; - break; + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.SQLServerDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder subBuilder = null; - if (dialectValueCase_ == 8) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.NetezzaDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 8; - break; + dialectValueCase_ = 11; + break; + } + case 98: { + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder subBuilder = null; + if (dialectValueCase_ == 12) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_).toBuilder(); } - case 74: - { - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder subBuilder = null; - if (dialectValueCase_ == 9) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 9; - break; + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.PostgresqlDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder subBuilder = null; - if (dialectValueCase_ == 10) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.VerticaDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 10; - break; + dialectValueCase_ = 12; + break; + } + case 106: { + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder subBuilder = null; + if (dialectValueCase_ == 13) { + subBuilder = ((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_).toBuilder(); } - case 90: - { - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder subBuilder = null; - if (dialectValueCase_ == 11) { - subBuilder = - ((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) - .toBuilder(); - } - dialectValue_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.SQLServerDialect.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 11; - break; + dialectValue_ = + input.readMessage(com.google.cloud.bigquery.migration.v2.PrestoDialect.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dialectValueCase_ = 13; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -302,34 +248,30 @@ private Dialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Dialect.class, - com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); + com.google.cloud.bigquery.migration.v2.Dialect.class, com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); } private int dialectValueCase_ = 0; private java.lang.Object dialectValue_; - public enum DialectValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIGQUERY_DIALECT(1), HIVEQL_DIALECT(2), @@ -342,9 +284,10 @@ public enum DialectValueCase AZURE_SYNAPSE_DIALECT(9), VERTICA_DIALECT(10), SQL_SERVER_DIALECT(11), + POSTGRESQL_DIALECT(12), + PRESTO_DIALECT(13), DIALECTVALUE_NOT_SET(0); private final int value; - private DialectValueCase(int value) { this.value = value; } @@ -360,54 +303,41 @@ public static DialectValueCase valueOf(int value) { public static DialectValueCase forNumber(int value) { switch (value) { - case 1: - return BIGQUERY_DIALECT; - case 2: - return HIVEQL_DIALECT; - case 3: - return REDSHIFT_DIALECT; - case 4: - return TERADATA_DIALECT; - case 5: - return ORACLE_DIALECT; - case 6: - return SPARKSQL_DIALECT; - case 7: - return SNOWFLAKE_DIALECT; - case 8: - return NETEZZA_DIALECT; - case 9: - return AZURE_SYNAPSE_DIALECT; - case 10: - return VERTICA_DIALECT; - case 11: - return SQL_SERVER_DIALECT; - case 0: - return DIALECTVALUE_NOT_SET; - default: - return null; + case 1: return BIGQUERY_DIALECT; + case 2: return HIVEQL_DIALECT; + case 3: return REDSHIFT_DIALECT; + case 4: return TERADATA_DIALECT; + case 5: return ORACLE_DIALECT; + case 6: return SPARKSQL_DIALECT; + case 7: return SNOWFLAKE_DIALECT; + case 8: return NETEZZA_DIALECT; + case 9: return AZURE_SYNAPSE_DIALECT; + case 10: return VERTICA_DIALECT; + case 11: return SQL_SERVER_DIALECT; + case 12: return POSTGRESQL_DIALECT; + case 13: return PRESTO_DIALECT; + case 0: return DIALECTVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DialectValueCase getDialectValueCase() { - return DialectValueCase.forNumber(dialectValueCase_); + public DialectValueCase + getDialectValueCase() { + return DialectValueCase.forNumber( + dialectValueCase_); } public static final int BIGQUERY_DIALECT_FIELD_NUMBER = 1; /** - * - * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; - * * @return Whether the bigqueryDialect field is set. */ @java.lang.Override @@ -415,26 +345,21 @@ public boolean hasBigqueryDialect() { return dialectValueCase_ == 1; } /** - * - * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; - * * @return The bigqueryDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect() { if (dialectValueCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); } /** - * - * *
    * The BigQuery dialect
    * 
@@ -442,24 +367,20 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder - getBigqueryDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigqueryDialectOrBuilder() { if (dialectValueCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); } public static final int HIVEQL_DIALECT_FIELD_NUMBER = 2; /** - * - * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; - * * @return Whether the hiveqlDialect field is set. */ @java.lang.Override @@ -467,26 +388,21 @@ public boolean hasHiveqlDialect() { return dialectValueCase_ == 2; } /** - * - * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; - * * @return The hiveqlDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect() { if (dialectValueCase_ == 2) { - return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance(); } /** - * - * *
    * The HiveQL dialect
    * 
@@ -496,21 +412,18 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDialectOrBuilder() { if (dialectValueCase_ == 2) { - return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance(); } public static final int REDSHIFT_DIALECT_FIELD_NUMBER = 3; /** - * - * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; - * * @return Whether the redshiftDialect field is set. */ @java.lang.Override @@ -518,26 +431,21 @@ public boolean hasRedshiftDialect() { return dialectValueCase_ == 3; } /** - * - * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; - * * @return The redshiftDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect() { if (dialectValueCase_ == 3) { - return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); } /** - * - * *
    * The Redshift dialect
    * 
@@ -545,24 +453,20 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder - getRedshiftDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshiftDialectOrBuilder() { if (dialectValueCase_ == 3) { - return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); } public static final int TERADATA_DIALECT_FIELD_NUMBER = 4; /** - * - * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; - * * @return Whether the teradataDialect field is set. */ @java.lang.Override @@ -570,26 +474,21 @@ public boolean hasTeradataDialect() { return dialectValueCase_ == 4; } /** - * - * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; - * * @return The teradataDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect() { if (dialectValueCase_ == 4) { - return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); } /** - * - * *
    * The Teradata dialect
    * 
@@ -597,24 +496,20 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder - getTeradataDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTeradataDialectOrBuilder() { if (dialectValueCase_ == 4) { - return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); } public static final int ORACLE_DIALECT_FIELD_NUMBER = 5; /** - * - * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; - * * @return Whether the oracleDialect field is set. */ @java.lang.Override @@ -622,26 +517,21 @@ public boolean hasOracleDialect() { return dialectValueCase_ == 5; } /** - * - * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; - * * @return The oracleDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect() { if (dialectValueCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance(); } /** - * - * *
    * The Oracle dialect
    * 
@@ -651,21 +541,18 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDialectOrBuilder() { if (dialectValueCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance(); } public static final int SPARKSQL_DIALECT_FIELD_NUMBER = 6; /** - * - * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; - * * @return Whether the sparksqlDialect field is set. */ @java.lang.Override @@ -673,26 +560,21 @@ public boolean hasSparksqlDialect() { return dialectValueCase_ == 6; } /** - * - * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; - * * @return The sparksqlDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect() { if (dialectValueCase_ == 6) { - return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); } /** - * - * *
    * The SparkSQL dialect
    * 
@@ -700,24 +582,20 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder - getSparksqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder() { if (dialectValueCase_ == 6) { - return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); } public static final int SNOWFLAKE_DIALECT_FIELD_NUMBER = 7; /** - * - * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; - * * @return Whether the snowflakeDialect field is set. */ @java.lang.Override @@ -725,26 +603,21 @@ public boolean hasSnowflakeDialect() { return dialectValueCase_ == 7; } /** - * - * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; - * * @return The snowflakeDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDialect() { if (dialectValueCase_ == 7) { - return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); } /** - * - * *
    * The Snowflake dialect
    * 
@@ -752,24 +625,20 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDiale * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder - getSnowflakeDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder() { if (dialectValueCase_ == 7) { - return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); } public static final int NETEZZA_DIALECT_FIELD_NUMBER = 8; /** - * - * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; - * * @return Whether the netezzaDialect field is set. */ @java.lang.Override @@ -777,26 +646,21 @@ public boolean hasNetezzaDialect() { return dialectValueCase_ == 8; } /** - * - * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; - * * @return The netezzaDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect() { if (dialectValueCase_ == 8) { - return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); } /** - * - * *
    * The Netezza dialect
    * 
@@ -804,24 +668,20 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect() * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder - getNetezzaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezzaDialectOrBuilder() { if (dialectValueCase_ == 8) { - return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); } public static final int AZURE_SYNAPSE_DIALECT_FIELD_NUMBER = 9; /** - * - * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * * @return Whether the azureSynapseDialect field is set. */ @java.lang.Override @@ -829,26 +689,21 @@ public boolean hasAzureSynapseDialect() { return dialectValueCase_ == 9; } /** - * - * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * * @return The azureSynapseDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynapseDialect() { if (dialectValueCase_ == 9) { - return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); } /** - * - * *
    * The Azure Synapse dialect
    * 
@@ -856,24 +711,20 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynaps * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder - getAzureSynapseDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder() { if (dialectValueCase_ == 9) { - return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); } public static final int VERTICA_DIALECT_FIELD_NUMBER = 10; /** - * - * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; - * * @return Whether the verticaDialect field is set. */ @java.lang.Override @@ -881,26 +732,21 @@ public boolean hasVerticaDialect() { return dialectValueCase_ == 10; } /** - * - * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; - * * @return The verticaDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() { if (dialectValueCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); } /** - * - * *
    * The Vertica dialect
    * 
@@ -908,24 +754,20 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder - getVerticaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder() { if (dialectValueCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); } public static final int SQL_SERVER_DIALECT_FIELD_NUMBER = 11; /** - * - * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; - * * @return Whether the sqlServerDialect field is set. */ @java.lang.Override @@ -933,26 +775,21 @@ public boolean hasSqlServerDialect() { return dialectValueCase_ == 11; } /** - * - * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; - * * @return The sqlServerDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect() { if (dialectValueCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); } /** - * - * *
    * The SQL Server dialect
    * 
@@ -960,16 +797,100 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDiale * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder - getSqlServerDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder() { if (dialectValueCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int POSTGRESQL_DIALECT_FIELD_NUMBER = 12; + /** + *
+   * The Postgresql dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * @return Whether the postgresqlDialect field is set. + */ + @java.lang.Override + public boolean hasPostgresqlDialect() { + return dialectValueCase_ == 12; + } + /** + *
+   * The Postgresql dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * @return The postgresqlDialect. + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect() { + if (dialectValueCase_ == 12) { + return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + /** + *
+   * The Postgresql dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder() { + if (dialectValueCase_ == 12) { + return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + + public static final int PRESTO_DIALECT_FIELD_NUMBER = 13; + /** + *
+   * The Presto dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * @return Whether the prestoDialect field is set. + */ + @java.lang.Override + public boolean hasPrestoDialect() { + return dialectValueCase_ == 13; + } + /** + *
+   * The Presto dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * @return The prestoDialect. + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() { + if (dialectValueCase_ == 13) { + return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } + /** + *
+   * The Presto dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder() { + if (dialectValueCase_ == 13) { + return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -981,47 +902,46 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dialectValueCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); + output.writeMessage(1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); } if (dialectValueCase_ == 2) { output.writeMessage(2, (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); } if (dialectValueCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); + output.writeMessage(3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); } if (dialectValueCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); + output.writeMessage(4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); } if (dialectValueCase_ == 5) { output.writeMessage(5, (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); } if (dialectValueCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); + output.writeMessage(6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); } if (dialectValueCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); + output.writeMessage(7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); } if (dialectValueCase_ == 8) { output.writeMessage(8, (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); } if (dialectValueCase_ == 9) { - output.writeMessage( - 9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); + output.writeMessage(9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); } if (dialectValueCase_ == 10) { - output.writeMessage( - 10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); + output.writeMessage(10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); } if (dialectValueCase_ == 11) { - output.writeMessage( - 11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + output.writeMessage(11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + } + if (dialectValueCase_ == 12) { + output.writeMessage(12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + } + if (dialectValueCase_ == 13) { + output.writeMessage(13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); } unknownFields.writeTo(output); } @@ -1033,59 +953,56 @@ public int getSerializedSize() { size = 0; if (dialectValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); } if (dialectValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); } if (dialectValueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); } if (dialectValueCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); } if (dialectValueCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); } if (dialectValueCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); } if (dialectValueCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); } if (dialectValueCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); } if (dialectValueCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); } if (dialectValueCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); } if (dialectValueCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + } + if (dialectValueCase_ == 12) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + } + if (dialectValueCase_ == 13) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1095,48 +1012,66 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.Dialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.Dialect other = - (com.google.cloud.bigquery.migration.v2.Dialect) obj; + com.google.cloud.bigquery.migration.v2.Dialect other = (com.google.cloud.bigquery.migration.v2.Dialect) obj; if (!getDialectValueCase().equals(other.getDialectValueCase())) return false; switch (dialectValueCase_) { case 1: - if (!getBigqueryDialect().equals(other.getBigqueryDialect())) return false; + if (!getBigqueryDialect() + .equals(other.getBigqueryDialect())) return false; break; case 2: - if (!getHiveqlDialect().equals(other.getHiveqlDialect())) return false; + if (!getHiveqlDialect() + .equals(other.getHiveqlDialect())) return false; break; case 3: - if (!getRedshiftDialect().equals(other.getRedshiftDialect())) return false; + if (!getRedshiftDialect() + .equals(other.getRedshiftDialect())) return false; break; case 4: - if (!getTeradataDialect().equals(other.getTeradataDialect())) return false; + if (!getTeradataDialect() + .equals(other.getTeradataDialect())) return false; break; case 5: - if (!getOracleDialect().equals(other.getOracleDialect())) return false; + if (!getOracleDialect() + .equals(other.getOracleDialect())) return false; break; case 6: - if (!getSparksqlDialect().equals(other.getSparksqlDialect())) return false; + if (!getSparksqlDialect() + .equals(other.getSparksqlDialect())) return false; break; case 7: - if (!getSnowflakeDialect().equals(other.getSnowflakeDialect())) return false; + if (!getSnowflakeDialect() + .equals(other.getSnowflakeDialect())) return false; break; case 8: - if (!getNetezzaDialect().equals(other.getNetezzaDialect())) return false; + if (!getNetezzaDialect() + .equals(other.getNetezzaDialect())) return false; break; case 9: - if (!getAzureSynapseDialect().equals(other.getAzureSynapseDialect())) return false; + if (!getAzureSynapseDialect() + .equals(other.getAzureSynapseDialect())) return false; break; case 10: - if (!getVerticaDialect().equals(other.getVerticaDialect())) return false; + if (!getVerticaDialect() + .equals(other.getVerticaDialect())) return false; break; case 11: - if (!getSqlServerDialect().equals(other.getSqlServerDialect())) return false; + if (!getSqlServerDialect() + .equals(other.getSqlServerDialect())) return false; + break; + case 12: + if (!getPostgresqlDialect() + .equals(other.getPostgresqlDialect())) return false; + break; + case 13: + if (!getPrestoDialect() + .equals(other.getPrestoDialect())) return false; break; case 0: default: @@ -1197,6 +1132,14 @@ public int hashCode() { hash = (37 * hash) + SQL_SERVER_DIALECT_FIELD_NUMBER; hash = (53 * hash) + getSqlServerDialect().hashCode(); break; + case 12: + hash = (37 * hash) + POSTGRESQL_DIALECT_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlDialect().hashCode(); + break; + case 13: + hash = (37 * hash) + PRESTO_DIALECT_FIELD_NUMBER; + hash = (53 * hash) + getPrestoDialect().hashCode(); + break; case 0: default: } @@ -1205,127 +1148,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.Dialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.Dialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.Dialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The possible dialect options for translation.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Dialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.Dialect) com.google.cloud.bigquery.migration.v2.DialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Dialect.class, - com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); + com.google.cloud.bigquery.migration.v2.Dialect.class, com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.Dialect.newBuilder() @@ -1333,15 +1267,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1351,9 +1286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; } @java.lang.Override @@ -1372,8 +1307,7 @@ public com.google.cloud.bigquery.migration.v2.Dialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() { - com.google.cloud.bigquery.migration.v2.Dialect result = - new com.google.cloud.bigquery.migration.v2.Dialect(this); + com.google.cloud.bigquery.migration.v2.Dialect result = new com.google.cloud.bigquery.migration.v2.Dialect(this); if (dialectValueCase_ == 1) { if (bigqueryDialectBuilder_ == null) { result.dialectValue_ = dialectValue_; @@ -1451,6 +1385,20 @@ public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() { result.dialectValue_ = sqlServerDialectBuilder_.build(); } } + if (dialectValueCase_ == 12) { + if (postgresqlDialectBuilder_ == null) { + result.dialectValue_ = dialectValue_; + } else { + result.dialectValue_ = postgresqlDialectBuilder_.build(); + } + } + if (dialectValueCase_ == 13) { + if (prestoDialectBuilder_ == null) { + result.dialectValue_ = dialectValue_; + } else { + result.dialectValue_ = prestoDialectBuilder_.build(); + } + } result.dialectValueCase_ = dialectValueCase_; onBuilt(); return result; @@ -1460,39 +1408,38 @@ public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.Dialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.Dialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.Dialect)other); } else { super.mergeFrom(other); return this; @@ -1502,65 +1449,61 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.Dialect other) { if (other == com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance()) return this; switch (other.getDialectValueCase()) { - case BIGQUERY_DIALECT: - { - mergeBigqueryDialect(other.getBigqueryDialect()); - break; - } - case HIVEQL_DIALECT: - { - mergeHiveqlDialect(other.getHiveqlDialect()); - break; - } - case REDSHIFT_DIALECT: - { - mergeRedshiftDialect(other.getRedshiftDialect()); - break; - } - case TERADATA_DIALECT: - { - mergeTeradataDialect(other.getTeradataDialect()); - break; - } - case ORACLE_DIALECT: - { - mergeOracleDialect(other.getOracleDialect()); - break; - } - case SPARKSQL_DIALECT: - { - mergeSparksqlDialect(other.getSparksqlDialect()); - break; - } - case SNOWFLAKE_DIALECT: - { - mergeSnowflakeDialect(other.getSnowflakeDialect()); - break; - } - case NETEZZA_DIALECT: - { - mergeNetezzaDialect(other.getNetezzaDialect()); - break; - } - case AZURE_SYNAPSE_DIALECT: - { - mergeAzureSynapseDialect(other.getAzureSynapseDialect()); - break; - } - case VERTICA_DIALECT: - { - mergeVerticaDialect(other.getVerticaDialect()); - break; - } - case SQL_SERVER_DIALECT: - { - mergeSqlServerDialect(other.getSqlServerDialect()); - break; - } - case DIALECTVALUE_NOT_SET: - { - break; - } + case BIGQUERY_DIALECT: { + mergeBigqueryDialect(other.getBigqueryDialect()); + break; + } + case HIVEQL_DIALECT: { + mergeHiveqlDialect(other.getHiveqlDialect()); + break; + } + case REDSHIFT_DIALECT: { + mergeRedshiftDialect(other.getRedshiftDialect()); + break; + } + case TERADATA_DIALECT: { + mergeTeradataDialect(other.getTeradataDialect()); + break; + } + case ORACLE_DIALECT: { + mergeOracleDialect(other.getOracleDialect()); + break; + } + case SPARKSQL_DIALECT: { + mergeSparksqlDialect(other.getSparksqlDialect()); + break; + } + case SNOWFLAKE_DIALECT: { + mergeSnowflakeDialect(other.getSnowflakeDialect()); + break; + } + case NETEZZA_DIALECT: { + mergeNetezzaDialect(other.getNetezzaDialect()); + break; + } + case AZURE_SYNAPSE_DIALECT: { + mergeAzureSynapseDialect(other.getAzureSynapseDialect()); + break; + } + case VERTICA_DIALECT: { + mergeVerticaDialect(other.getVerticaDialect()); + break; + } + case SQL_SERVER_DIALECT: { + mergeSqlServerDialect(other.getSqlServerDialect()); + break; + } + case POSTGRESQL_DIALECT: { + mergePostgresqlDialect(other.getPostgresqlDialect()); + break; + } + case PRESTO_DIALECT: { + mergePrestoDialect(other.getPrestoDialect()); + break; + } + case DIALECTVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1590,12 +1533,12 @@ public Builder mergeFrom( } return this; } - private int dialectValueCase_ = 0; private java.lang.Object dialectValue_; - - public DialectValueCase getDialectValueCase() { - return DialectValueCase.forNumber(dialectValueCase_); + public DialectValueCase + getDialectValueCase() { + return DialectValueCase.forNumber( + dialectValueCase_); } public Builder clearDialectValue() { @@ -1605,20 +1548,15 @@ public Builder clearDialectValue() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.BigQueryDialect, - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, - com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> - bigqueryDialectBuilder_; + com.google.cloud.bigquery.migration.v2.BigQueryDialect, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> bigqueryDialectBuilder_; /** - * - * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; - * * @return Whether the bigqueryDialect field is set. */ @java.lang.Override @@ -1626,14 +1564,11 @@ public boolean hasBigqueryDialect() { return dialectValueCase_ == 1; } /** - * - * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; - * * @return The bigqueryDialect. */ @java.lang.Override @@ -1651,16 +1586,13 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect } } /** - * - * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ - public Builder setBigqueryDialect( - com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { + public Builder setBigqueryDialect(com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { if (bigqueryDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1674,8 +1606,6 @@ public Builder setBigqueryDialect( return this; } /** - * - * *
      * The BigQuery dialect
      * 
@@ -1694,25 +1624,18 @@ public Builder setBigqueryDialect( return this; } /** - * - * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ - public Builder mergeBigqueryDialect( - com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { + public Builder mergeBigqueryDialect(com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { if (bigqueryDialectBuilder_ == null) { - if (dialectValueCase_ == 1 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.BigQueryDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 1 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.BigQueryDialect.newBuilder((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -1728,8 +1651,6 @@ public Builder mergeBigqueryDialect( return this; } /** - * - * *
      * The BigQuery dialect
      * 
@@ -1753,21 +1674,16 @@ public Builder clearBigqueryDialect() { return this; } /** - * - * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ - public com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder - getBigqueryDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder getBigqueryDialectBuilder() { return getBigqueryDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The BigQuery dialect
      * 
@@ -1775,8 +1691,7 @@ public Builder clearBigqueryDialect() { * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder - getBigqueryDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigqueryDialectOrBuilder() { if ((dialectValueCase_ == 1) && (bigqueryDialectBuilder_ != null)) { return bigqueryDialectBuilder_.getMessageOrBuilder(); } else { @@ -1787,8 +1702,6 @@ public Builder clearBigqueryDialect() { } } /** - * - * *
      * The BigQuery dialect
      * 
@@ -1796,45 +1709,32 @@ public Builder clearBigqueryDialect() { * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.BigQueryDialect, - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, - com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.BigQueryDialect, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> getBigqueryDialectFieldBuilder() { if (bigqueryDialectBuilder_ == null) { if (!(dialectValueCase_ == 1)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); - } - bigqueryDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.BigQueryDialect, - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, - com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); + } + bigqueryDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.BigQueryDialect, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 1; - onChanged(); - ; + onChanged();; return bigqueryDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.HiveQLDialect, - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, - com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> - hiveqlDialectBuilder_; + com.google.cloud.bigquery.migration.v2.HiveQLDialect, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> hiveqlDialectBuilder_; /** - * - * *
      * The HiveQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; - * * @return Whether the hiveqlDialect field is set. */ @java.lang.Override @@ -1842,14 +1742,11 @@ public boolean hasHiveqlDialect() { return dialectValueCase_ == 2; } /** - * - * *
      * The HiveQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; - * * @return The hiveqlDialect. */ @java.lang.Override @@ -1867,8 +1764,6 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect() { } } /** - * - * *
      * The HiveQL dialect
      * 
@@ -1889,8 +1784,6 @@ public Builder setHiveqlDialect(com.google.cloud.bigquery.migration.v2.HiveQLDia return this; } /** - * - * *
      * The HiveQL dialect
      * 
@@ -1909,8 +1802,6 @@ public Builder setHiveqlDialect( return this; } /** - * - * *
      * The HiveQL dialect
      * 
@@ -1919,14 +1810,10 @@ public Builder setHiveqlDialect( */ public Builder mergeHiveqlDialect(com.google.cloud.bigquery.migration.v2.HiveQLDialect value) { if (hiveqlDialectBuilder_ == null) { - if (dialectValueCase_ == 2 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.HiveQLDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 2 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.HiveQLDialect.newBuilder((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -1942,8 +1829,6 @@ public Builder mergeHiveqlDialect(com.google.cloud.bigquery.migration.v2.HiveQLD return this; } /** - * - * *
      * The HiveQL dialect
      * 
@@ -1967,8 +1852,6 @@ public Builder clearHiveqlDialect() { return this; } /** - * - * *
      * The HiveQL dialect
      * 
@@ -1979,8 +1862,6 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder getHiveqlDia return getHiveqlDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The HiveQL dialect
      * 
@@ -1988,8 +1869,7 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder getHiveqlDia * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder - getHiveqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDialectOrBuilder() { if ((dialectValueCase_ == 2) && (hiveqlDialectBuilder_ != null)) { return hiveqlDialectBuilder_.getMessageOrBuilder(); } else { @@ -2000,8 +1880,6 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder getHiveqlDia } } /** - * - * *
      * The HiveQL dialect
      * 
@@ -2009,44 +1887,32 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder getHiveqlDia * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.HiveQLDialect, - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, - com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.HiveQLDialect, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> getHiveqlDialectFieldBuilder() { if (hiveqlDialectBuilder_ == null) { if (!(dialectValueCase_ == 2)) { dialectValue_ = com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance(); } - hiveqlDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.HiveQLDialect, - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, - com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder>( + hiveqlDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.HiveQLDialect, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 2; - onChanged(); - ; + onChanged();; return hiveqlDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.RedshiftDialect, - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, - com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> - redshiftDialectBuilder_; + com.google.cloud.bigquery.migration.v2.RedshiftDialect, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> redshiftDialectBuilder_; /** - * - * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; - * * @return Whether the redshiftDialect field is set. */ @java.lang.Override @@ -2054,14 +1920,11 @@ public boolean hasRedshiftDialect() { return dialectValueCase_ == 3; } /** - * - * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; - * * @return The redshiftDialect. */ @java.lang.Override @@ -2079,16 +1942,13 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect } } /** - * - * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ - public Builder setRedshiftDialect( - com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { + public Builder setRedshiftDialect(com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { if (redshiftDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2102,8 +1962,6 @@ public Builder setRedshiftDialect( return this; } /** - * - * *
      * The Redshift dialect
      * 
@@ -2122,25 +1980,18 @@ public Builder setRedshiftDialect( return this; } /** - * - * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ - public Builder mergeRedshiftDialect( - com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { + public Builder mergeRedshiftDialect(com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { if (redshiftDialectBuilder_ == null) { - if (dialectValueCase_ == 3 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.RedshiftDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 3 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.RedshiftDialect.newBuilder((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -2156,8 +2007,6 @@ public Builder mergeRedshiftDialect( return this; } /** - * - * *
      * The Redshift dialect
      * 
@@ -2181,21 +2030,16 @@ public Builder clearRedshiftDialect() { return this; } /** - * - * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ - public com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder - getRedshiftDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder getRedshiftDialectBuilder() { return getRedshiftDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Redshift dialect
      * 
@@ -2203,8 +2047,7 @@ public Builder clearRedshiftDialect() { * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder - getRedshiftDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshiftDialectOrBuilder() { if ((dialectValueCase_ == 3) && (redshiftDialectBuilder_ != null)) { return redshiftDialectBuilder_.getMessageOrBuilder(); } else { @@ -2215,8 +2058,6 @@ public Builder clearRedshiftDialect() { } } /** - * - * *
      * The Redshift dialect
      * 
@@ -2224,45 +2065,32 @@ public Builder clearRedshiftDialect() { * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.RedshiftDialect, - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, - com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.RedshiftDialect, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> getRedshiftDialectFieldBuilder() { if (redshiftDialectBuilder_ == null) { if (!(dialectValueCase_ == 3)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); - } - redshiftDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.RedshiftDialect, - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, - com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); + } + redshiftDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.RedshiftDialect, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 3; - onChanged(); - ; + onChanged();; return redshiftDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TeradataDialect, - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, - com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> - teradataDialectBuilder_; + com.google.cloud.bigquery.migration.v2.TeradataDialect, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> teradataDialectBuilder_; /** - * - * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; - * * @return Whether the teradataDialect field is set. */ @java.lang.Override @@ -2270,14 +2098,11 @@ public boolean hasTeradataDialect() { return dialectValueCase_ == 4; } /** - * - * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; - * * @return The teradataDialect. */ @java.lang.Override @@ -2295,16 +2120,13 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect } } /** - * - * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ - public Builder setTeradataDialect( - com.google.cloud.bigquery.migration.v2.TeradataDialect value) { + public Builder setTeradataDialect(com.google.cloud.bigquery.migration.v2.TeradataDialect value) { if (teradataDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2318,8 +2140,6 @@ public Builder setTeradataDialect( return this; } /** - * - * *
      * The Teradata dialect
      * 
@@ -2338,25 +2158,18 @@ public Builder setTeradataDialect( return this; } /** - * - * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ - public Builder mergeTeradataDialect( - com.google.cloud.bigquery.migration.v2.TeradataDialect value) { + public Builder mergeTeradataDialect(com.google.cloud.bigquery.migration.v2.TeradataDialect value) { if (teradataDialectBuilder_ == null) { - if (dialectValueCase_ == 4 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.TeradataDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 4 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.TeradataDialect.newBuilder((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -2372,8 +2185,6 @@ public Builder mergeTeradataDialect( return this; } /** - * - * *
      * The Teradata dialect
      * 
@@ -2397,21 +2208,16 @@ public Builder clearTeradataDialect() { return this; } /** - * - * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ - public com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder - getTeradataDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder getTeradataDialectBuilder() { return getTeradataDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Teradata dialect
      * 
@@ -2419,8 +2225,7 @@ public Builder clearTeradataDialect() { * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder - getTeradataDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTeradataDialectOrBuilder() { if ((dialectValueCase_ == 4) && (teradataDialectBuilder_ != null)) { return teradataDialectBuilder_.getMessageOrBuilder(); } else { @@ -2431,8 +2236,6 @@ public Builder clearTeradataDialect() { } } /** - * - * *
      * The Teradata dialect
      * 
@@ -2440,45 +2243,32 @@ public Builder clearTeradataDialect() { * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TeradataDialect, - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, - com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.TeradataDialect, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> getTeradataDialectFieldBuilder() { if (teradataDialectBuilder_ == null) { if (!(dialectValueCase_ == 4)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); - } - teradataDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TeradataDialect, - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, - com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); + } + teradataDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TeradataDialect, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 4; - onChanged(); - ; + onChanged();; return teradataDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.OracleDialect, - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, - com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> - oracleDialectBuilder_; + com.google.cloud.bigquery.migration.v2.OracleDialect, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> oracleDialectBuilder_; /** - * - * *
      * The Oracle dialect
      * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; - * * @return Whether the oracleDialect field is set. */ @java.lang.Override @@ -2486,14 +2276,11 @@ public boolean hasOracleDialect() { return dialectValueCase_ == 5; } /** - * - * *
      * The Oracle dialect
      * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; - * * @return The oracleDialect. */ @java.lang.Override @@ -2511,8 +2298,6 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect() { } } /** - * - * *
      * The Oracle dialect
      * 
@@ -2533,8 +2318,6 @@ public Builder setOracleDialect(com.google.cloud.bigquery.migration.v2.OracleDia return this; } /** - * - * *
      * The Oracle dialect
      * 
@@ -2553,8 +2336,6 @@ public Builder setOracleDialect( return this; } /** - * - * *
      * The Oracle dialect
      * 
@@ -2563,14 +2344,10 @@ public Builder setOracleDialect( */ public Builder mergeOracleDialect(com.google.cloud.bigquery.migration.v2.OracleDialect value) { if (oracleDialectBuilder_ == null) { - if (dialectValueCase_ == 5 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.OracleDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 5 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.OracleDialect.newBuilder((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -2586,8 +2363,6 @@ public Builder mergeOracleDialect(com.google.cloud.bigquery.migration.v2.OracleD return this; } /** - * - * *
      * The Oracle dialect
      * 
@@ -2611,8 +2386,6 @@ public Builder clearOracleDialect() { return this; } /** - * - * *
      * The Oracle dialect
      * 
@@ -2623,8 +2396,6 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect.Builder getOracleDia return getOracleDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Oracle dialect
      * 
@@ -2632,8 +2403,7 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect.Builder getOracleDia * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder - getOracleDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDialectOrBuilder() { if ((dialectValueCase_ == 5) && (oracleDialectBuilder_ != null)) { return oracleDialectBuilder_.getMessageOrBuilder(); } else { @@ -2644,8 +2414,6 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect.Builder getOracleDia } } /** - * - * *
      * The Oracle dialect
      * 
@@ -2653,44 +2421,32 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect.Builder getOracleDia * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.OracleDialect, - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, - com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.OracleDialect, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> getOracleDialectFieldBuilder() { if (oracleDialectBuilder_ == null) { if (!(dialectValueCase_ == 5)) { dialectValue_ = com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance(); } - oracleDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.OracleDialect, - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, - com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder>( + oracleDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.OracleDialect, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 5; - onChanged(); - ; + onChanged();; return oracleDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SparkSQLDialect, - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, - com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> - sparksqlDialectBuilder_; + com.google.cloud.bigquery.migration.v2.SparkSQLDialect, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> sparksqlDialectBuilder_; /** - * - * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; - * * @return Whether the sparksqlDialect field is set. */ @java.lang.Override @@ -2698,14 +2454,11 @@ public boolean hasSparksqlDialect() { return dialectValueCase_ == 6; } /** - * - * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; - * * @return The sparksqlDialect. */ @java.lang.Override @@ -2723,16 +2476,13 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect } } /** - * - * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ - public Builder setSparksqlDialect( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { + public Builder setSparksqlDialect(com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { if (sparksqlDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2746,8 +2496,6 @@ public Builder setSparksqlDialect( return this; } /** - * - * *
      * The SparkSQL dialect
      * 
@@ -2766,25 +2514,18 @@ public Builder setSparksqlDialect( return this; } /** - * - * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ - public Builder mergeSparksqlDialect( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { + public Builder mergeSparksqlDialect(com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { if (sparksqlDialectBuilder_ == null) { - if (dialectValueCase_ == 6 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 6 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.SparkSQLDialect.newBuilder((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -2800,8 +2541,6 @@ public Builder mergeSparksqlDialect( return this; } /** - * - * *
      * The SparkSQL dialect
      * 
@@ -2825,21 +2564,16 @@ public Builder clearSparksqlDialect() { return this; } /** - * - * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ - public com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder - getSparksqlDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder getSparksqlDialectBuilder() { return getSparksqlDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The SparkSQL dialect
      * 
@@ -2847,8 +2581,7 @@ public Builder clearSparksqlDialect() { * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder - getSparksqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder() { if ((dialectValueCase_ == 6) && (sparksqlDialectBuilder_ != null)) { return sparksqlDialectBuilder_.getMessageOrBuilder(); } else { @@ -2859,8 +2592,6 @@ public Builder clearSparksqlDialect() { } } /** - * - * *
      * The SparkSQL dialect
      * 
@@ -2868,45 +2599,32 @@ public Builder clearSparksqlDialect() { * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SparkSQLDialect, - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, - com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.SparkSQLDialect, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> getSparksqlDialectFieldBuilder() { if (sparksqlDialectBuilder_ == null) { if (!(dialectValueCase_ == 6)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); - } - sparksqlDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SparkSQLDialect, - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, - com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); + } + sparksqlDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SparkSQLDialect, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 6; - onChanged(); - ; + onChanged();; return sparksqlDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SnowflakeDialect, - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, - com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> - snowflakeDialectBuilder_; + com.google.cloud.bigquery.migration.v2.SnowflakeDialect, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> snowflakeDialectBuilder_; /** - * - * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; - * * @return Whether the snowflakeDialect field is set. */ @java.lang.Override @@ -2914,14 +2632,11 @@ public boolean hasSnowflakeDialect() { return dialectValueCase_ == 7; } /** - * - * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; - * * @return The snowflakeDialect. */ @java.lang.Override @@ -2939,16 +2654,13 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDiale } } /** - * - * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ - public Builder setSnowflakeDialect( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { + public Builder setSnowflakeDialect(com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { if (snowflakeDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2962,8 +2674,6 @@ public Builder setSnowflakeDialect( return this; } /** - * - * *
      * The Snowflake dialect
      * 
@@ -2982,25 +2692,18 @@ public Builder setSnowflakeDialect( return this; } /** - * - * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ - public Builder mergeSnowflakeDialect( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { + public Builder mergeSnowflakeDialect(com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { if (snowflakeDialectBuilder_ == null) { - if (dialectValueCase_ == 7 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 7 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.SnowflakeDialect.newBuilder((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -3016,8 +2719,6 @@ public Builder mergeSnowflakeDialect( return this; } /** - * - * *
      * The Snowflake dialect
      * 
@@ -3041,21 +2742,16 @@ public Builder clearSnowflakeDialect() { return this; } /** - * - * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ - public com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder - getSnowflakeDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder getSnowflakeDialectBuilder() { return getSnowflakeDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Snowflake dialect
      * 
@@ -3063,8 +2759,7 @@ public Builder clearSnowflakeDialect() { * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder - getSnowflakeDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder() { if ((dialectValueCase_ == 7) && (snowflakeDialectBuilder_ != null)) { return snowflakeDialectBuilder_.getMessageOrBuilder(); } else { @@ -3075,8 +2770,6 @@ public Builder clearSnowflakeDialect() { } } /** - * - * *
      * The Snowflake dialect
      * 
@@ -3084,45 +2777,32 @@ public Builder clearSnowflakeDialect() { * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SnowflakeDialect, - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, - com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.SnowflakeDialect, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> getSnowflakeDialectFieldBuilder() { if (snowflakeDialectBuilder_ == null) { if (!(dialectValueCase_ == 7)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); - } - snowflakeDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SnowflakeDialect, - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, - com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); + } + snowflakeDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SnowflakeDialect, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 7; - onChanged(); - ; + onChanged();; return snowflakeDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NetezzaDialect, - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, - com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> - netezzaDialectBuilder_; + com.google.cloud.bigquery.migration.v2.NetezzaDialect, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> netezzaDialectBuilder_; /** - * - * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; - * * @return Whether the netezzaDialect field is set. */ @java.lang.Override @@ -3130,14 +2810,11 @@ public boolean hasNetezzaDialect() { return dialectValueCase_ == 8; } /** - * - * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; - * * @return The netezzaDialect. */ @java.lang.Override @@ -3155,8 +2832,6 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect() } } /** - * - * *
      * The Netezza dialect
      * 
@@ -3177,8 +2852,6 @@ public Builder setNetezzaDialect(com.google.cloud.bigquery.migration.v2.NetezzaD return this; } /** - * - * *
      * The Netezza dialect
      * 
@@ -3197,25 +2870,18 @@ public Builder setNetezzaDialect( return this; } /** - * - * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ - public Builder mergeNetezzaDialect( - com.google.cloud.bigquery.migration.v2.NetezzaDialect value) { + public Builder mergeNetezzaDialect(com.google.cloud.bigquery.migration.v2.NetezzaDialect value) { if (netezzaDialectBuilder_ == null) { - if (dialectValueCase_ == 8 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.NetezzaDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 8 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.NetezzaDialect.newBuilder((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -3231,8 +2897,6 @@ public Builder mergeNetezzaDialect( return this; } /** - * - * *
      * The Netezza dialect
      * 
@@ -3256,21 +2920,16 @@ public Builder clearNetezzaDialect() { return this; } /** - * - * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ - public com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder - getNetezzaDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder getNetezzaDialectBuilder() { return getNetezzaDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Netezza dialect
      * 
@@ -3278,8 +2937,7 @@ public Builder clearNetezzaDialect() { * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder - getNetezzaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezzaDialectOrBuilder() { if ((dialectValueCase_ == 8) && (netezzaDialectBuilder_ != null)) { return netezzaDialectBuilder_.getMessageOrBuilder(); } else { @@ -3290,8 +2948,6 @@ public Builder clearNetezzaDialect() { } } /** - * - * *
      * The Netezza dialect
      * 
@@ -3299,46 +2955,32 @@ public Builder clearNetezzaDialect() { * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NetezzaDialect, - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, - com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.NetezzaDialect, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> getNetezzaDialectFieldBuilder() { if (netezzaDialectBuilder_ == null) { if (!(dialectValueCase_ == 8)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); - } - netezzaDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NetezzaDialect, - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, - com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); + } + netezzaDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.NetezzaDialect, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 8; - onChanged(); - ; + onChanged();; return netezzaDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> - azureSynapseDialectBuilder_; + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> azureSynapseDialectBuilder_; /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; * @return Whether the azureSynapseDialect field is set. */ @java.lang.Override @@ -3346,15 +2988,11 @@ public boolean hasAzureSynapseDialect() { return dialectValueCase_ == 9; } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; * @return The azureSynapseDialect. */ @java.lang.Override @@ -3372,17 +3010,13 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynaps } } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ - public Builder setAzureSynapseDialect( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { + public Builder setAzureSynapseDialect(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { if (azureSynapseDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3396,14 +3030,11 @@ public Builder setAzureSynapseDialect( return this; } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ public Builder setAzureSynapseDialect( com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder builderForValue) { @@ -3417,27 +3048,18 @@ public Builder setAzureSynapseDialect( return this; } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ - public Builder mergeAzureSynapseDialect( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { + public Builder mergeAzureSynapseDialect(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { if (azureSynapseDialectBuilder_ == null) { - if (dialectValueCase_ == 9 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.AzureSynapseDialect - .getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 9 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.newBuilder((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -3453,14 +3075,11 @@ public Builder mergeAzureSynapseDialect( return this; } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ public Builder clearAzureSynapseDialect() { if (azureSynapseDialectBuilder_ == null) { @@ -3479,32 +3098,24 @@ public Builder clearAzureSynapseDialect() { return this; } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ - public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder - getAzureSynapseDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder getAzureSynapseDialectBuilder() { return getAzureSynapseDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder - getAzureSynapseDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder() { if ((dialectValueCase_ == 9) && (azureSynapseDialectBuilder_ != null)) { return azureSynapseDialectBuilder_.getMessageOrBuilder(); } else { @@ -3515,55 +3126,39 @@ public Builder clearAzureSynapseDialect() { } } /** - * - * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> getAzureSynapseDialectFieldBuilder() { if (azureSynapseDialectBuilder_ == null) { if (!(dialectValueCase_ == 9)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); - } - azureSynapseDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, - com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); + } + azureSynapseDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 9; - onChanged(); - ; + onChanged();; return azureSynapseDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.VerticaDialect, - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, - com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> - verticaDialectBuilder_; + com.google.cloud.bigquery.migration.v2.VerticaDialect, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> verticaDialectBuilder_; /** - * - * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; - * * @return Whether the verticaDialect field is set. */ @java.lang.Override @@ -3571,14 +3166,11 @@ public boolean hasVerticaDialect() { return dialectValueCase_ == 10; } /** - * - * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; - * * @return The verticaDialect. */ @java.lang.Override @@ -3596,8 +3188,6 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() } } /** - * - * *
      * The Vertica dialect
      * 
@@ -3618,8 +3208,6 @@ public Builder setVerticaDialect(com.google.cloud.bigquery.migration.v2.VerticaD return this; } /** - * - * *
      * The Vertica dialect
      * 
@@ -3638,25 +3226,18 @@ public Builder setVerticaDialect( return this; } /** - * - * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ - public Builder mergeVerticaDialect( - com.google.cloud.bigquery.migration.v2.VerticaDialect value) { + public Builder mergeVerticaDialect(com.google.cloud.bigquery.migration.v2.VerticaDialect value) { if (verticaDialectBuilder_ == null) { - if (dialectValueCase_ == 10 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.VerticaDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 10 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.VerticaDialect.newBuilder((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -3672,8 +3253,6 @@ public Builder mergeVerticaDialect( return this; } /** - * - * *
      * The Vertica dialect
      * 
@@ -3697,21 +3276,16 @@ public Builder clearVerticaDialect() { return this; } /** - * - * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ - public com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder - getVerticaDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder getVerticaDialectBuilder() { return getVerticaDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The Vertica dialect
      * 
@@ -3719,8 +3293,7 @@ public Builder clearVerticaDialect() { * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder - getVerticaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder() { if ((dialectValueCase_ == 10) && (verticaDialectBuilder_ != null)) { return verticaDialectBuilder_.getMessageOrBuilder(); } else { @@ -3731,8 +3304,6 @@ public Builder clearVerticaDialect() { } } /** - * - * *
      * The Vertica dialect
      * 
@@ -3740,45 +3311,32 @@ public Builder clearVerticaDialect() { * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.VerticaDialect, - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, - com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.VerticaDialect, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> getVerticaDialectFieldBuilder() { if (verticaDialectBuilder_ == null) { if (!(dialectValueCase_ == 10)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); - } - verticaDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.VerticaDialect, - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, - com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); + } + verticaDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.VerticaDialect, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 10; - onChanged(); - ; + onChanged();; return verticaDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SQLServerDialect, - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, - com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> - sqlServerDialectBuilder_; + com.google.cloud.bigquery.migration.v2.SQLServerDialect, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> sqlServerDialectBuilder_; /** - * - * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; - * * @return Whether the sqlServerDialect field is set. */ @java.lang.Override @@ -3786,14 +3344,11 @@ public boolean hasSqlServerDialect() { return dialectValueCase_ == 11; } /** - * - * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; - * * @return The sqlServerDialect. */ @java.lang.Override @@ -3811,16 +3366,13 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDiale } } /** - * - * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ - public Builder setSqlServerDialect( - com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { + public Builder setSqlServerDialect(com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { if (sqlServerDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3834,8 +3386,6 @@ public Builder setSqlServerDialect( return this; } /** - * - * *
      * The SQL Server dialect
      * 
@@ -3854,25 +3404,18 @@ public Builder setSqlServerDialect( return this; } /** - * - * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ - public Builder mergeSqlServerDialect( - com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { + public Builder mergeSqlServerDialect(com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { if (sqlServerDialectBuilder_ == null) { - if (dialectValueCase_ == 11 - && dialectValue_ - != com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder( - (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) - .mergeFrom(value) - .buildPartial(); + if (dialectValueCase_ == 11 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) + .mergeFrom(value).buildPartial(); } else { dialectValue_ = value; } @@ -3888,8 +3431,6 @@ public Builder mergeSqlServerDialect( return this; } /** - * - * *
      * The SQL Server dialect
      * 
@@ -3913,21 +3454,16 @@ public Builder clearSqlServerDialect() { return this; } /** - * - * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ - public com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder - getSqlServerDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder getSqlServerDialectBuilder() { return getSqlServerDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The SQL Server dialect
      * 
@@ -3935,8 +3471,7 @@ public Builder clearSqlServerDialect() { * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder - getSqlServerDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder() { if ((dialectValueCase_ == 11) && (sqlServerDialectBuilder_ != null)) { return sqlServerDialectBuilder_.getMessageOrBuilder(); } else { @@ -3947,8 +3482,6 @@ public Builder clearSqlServerDialect() { } } /** - * - * *
      * The SQL Server dialect
      * 
@@ -3956,33 +3489,382 @@ public Builder clearSqlServerDialect() { * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SQLServerDialect, - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, - com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.SQLServerDialect, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> getSqlServerDialectFieldBuilder() { if (sqlServerDialectBuilder_ == null) { if (!(dialectValueCase_ == 11)) { - dialectValue_ = - com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); - } - sqlServerDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SQLServerDialect, - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, - com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>( + dialectValue_ = com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); + } + sqlServerDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SQLServerDialect, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 11; - onChanged(); - ; + onChanged();; return sqlServerDialectBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PostgresqlDialect, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder> postgresqlDialectBuilder_; + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * @return Whether the postgresqlDialect field is set. + */ + @java.lang.Override + public boolean hasPostgresqlDialect() { + return dialectValueCase_ == 12; + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * @return The postgresqlDialect. + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect() { + if (postgresqlDialectBuilder_ == null) { + if (dialectValueCase_ == 12) { + return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } else { + if (dialectValueCase_ == 12) { + return postgresqlDialectBuilder_.getMessage(); + } + return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + public Builder setPostgresqlDialect(com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) { + if (postgresqlDialectBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dialectValue_ = value; + onChanged(); + } else { + postgresqlDialectBuilder_.setMessage(value); + } + dialectValueCase_ = 12; + return this; + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + public Builder setPostgresqlDialect( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder builderForValue) { + if (postgresqlDialectBuilder_ == null) { + dialectValue_ = builderForValue.build(); + onChanged(); + } else { + postgresqlDialectBuilder_.setMessage(builderForValue.build()); + } + dialectValueCase_ = 12; + return this; + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + public Builder mergePostgresqlDialect(com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) { + if (postgresqlDialectBuilder_ == null) { + if (dialectValueCase_ == 12 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.PostgresqlDialect.newBuilder((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_) + .mergeFrom(value).buildPartial(); + } else { + dialectValue_ = value; + } + onChanged(); + } else { + if (dialectValueCase_ == 12) { + postgresqlDialectBuilder_.mergeFrom(value); + } else { + postgresqlDialectBuilder_.setMessage(value); + } + } + dialectValueCase_ = 12; + return this; + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + public Builder clearPostgresqlDialect() { + if (postgresqlDialectBuilder_ == null) { + if (dialectValueCase_ == 12) { + dialectValueCase_ = 0; + dialectValue_ = null; + onChanged(); + } + } else { + if (dialectValueCase_ == 12) { + dialectValueCase_ = 0; + dialectValue_ = null; + } + postgresqlDialectBuilder_.clear(); + } + return this; + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder getPostgresqlDialectBuilder() { + return getPostgresqlDialectFieldBuilder().getBuilder(); + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder() { + if ((dialectValueCase_ == 12) && (postgresqlDialectBuilder_ != null)) { + return postgresqlDialectBuilder_.getMessageOrBuilder(); + } else { + if (dialectValueCase_ == 12) { + return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + } + /** + *
+     * The Postgresql dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PostgresqlDialect, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder> + getPostgresqlDialectFieldBuilder() { + if (postgresqlDialectBuilder_ == null) { + if (!(dialectValueCase_ == 12)) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + postgresqlDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PostgresqlDialect, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder>( + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_, + getParentForChildren(), + isClean()); + dialectValue_ = null; + } + dialectValueCase_ = 12; + onChanged();; + return postgresqlDialectBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PrestoDialect, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder> prestoDialectBuilder_; + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * @return Whether the prestoDialect field is set. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public boolean hasPrestoDialect() { + return dialectValueCase_ == 13; + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * @return The prestoDialect. + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() { + if (prestoDialectBuilder_ == null) { + if (dialectValueCase_ == 13) { + return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } else { + if (dialectValueCase_ == 13) { + return prestoDialectBuilder_.getMessage(); + } + return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + public Builder setPrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoDialect value) { + if (prestoDialectBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dialectValue_ = value; + onChanged(); + } else { + prestoDialectBuilder_.setMessage(value); + } + dialectValueCase_ = 13; + return this; + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + public Builder setPrestoDialect( + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder builderForValue) { + if (prestoDialectBuilder_ == null) { + dialectValue_ = builderForValue.build(); + onChanged(); + } else { + prestoDialectBuilder_.setMessage(builderForValue.build()); + } + dialectValueCase_ = 13; + return this; + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + public Builder mergePrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoDialect value) { + if (prestoDialectBuilder_ == null) { + if (dialectValueCase_ == 13 && + dialectValue_ != com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.PrestoDialect.newBuilder((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_) + .mergeFrom(value).buildPartial(); + } else { + dialectValue_ = value; + } + onChanged(); + } else { + if (dialectValueCase_ == 13) { + prestoDialectBuilder_.mergeFrom(value); + } else { + prestoDialectBuilder_.setMessage(value); + } + } + dialectValueCase_ = 13; + return this; + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + public Builder clearPrestoDialect() { + if (prestoDialectBuilder_ == null) { + if (dialectValueCase_ == 13) { + dialectValueCase_ = 0; + dialectValue_ = null; + onChanged(); + } + } else { + if (dialectValueCase_ == 13) { + dialectValueCase_ = 0; + dialectValue_ = null; + } + prestoDialectBuilder_.clear(); + } + return this; + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + public com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder getPrestoDialectBuilder() { + return getPrestoDialectFieldBuilder().getBuilder(); + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder() { + if ((dialectValueCase_ == 13) && (prestoDialectBuilder_ != null)) { + return prestoDialectBuilder_.getMessageOrBuilder(); + } else { + if (dialectValueCase_ == 13) { + return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; + } + return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } + } + /** + *
+     * The Presto dialect
+     * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PrestoDialect, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder> + getPrestoDialectFieldBuilder() { + if (prestoDialectBuilder_ == null) { + if (!(dialectValueCase_ == 13)) { + dialectValue_ = com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } + prestoDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PrestoDialect, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder>( + (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_, + getParentForChildren(), + isClean()); + dialectValue_ = null; + } + dialectValueCase_ = 13; + onChanged();; + return prestoDialectBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3992,12 +3874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.Dialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.Dialect) private static final com.google.cloud.bigquery.migration.v2.Dialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.Dialect(); } @@ -4006,16 +3888,16 @@ public static com.google.cloud.bigquery.migration.v2.Dialect getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Dialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Dialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Dialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Dialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4030,4 +3912,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.Dialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java similarity index 84% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java index d075171..3a16eca 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface DialectOrBuilder - extends +public interface DialectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.Dialect) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; - * * @return Whether the bigqueryDialect field is set. */ boolean hasBigqueryDialect(); /** - * - * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; - * * @return The bigqueryDialect. */ com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect(); /** - * - * *
    * The BigQuery dialect
    * 
@@ -59,32 +35,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigqueryDialectOrBuilder(); /** - * - * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; - * * @return Whether the hiveqlDialect field is set. */ boolean hasHiveqlDialect(); /** - * - * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; - * * @return The hiveqlDialect. */ com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect(); /** - * - * *
    * The HiveQL dialect
    * 
@@ -94,32 +62,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDialectOrBuilder(); /** - * - * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; - * * @return Whether the redshiftDialect field is set. */ boolean hasRedshiftDialect(); /** - * - * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; - * * @return The redshiftDialect. */ com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect(); /** - * - * *
    * The Redshift dialect
    * 
@@ -129,32 +89,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshiftDialectOrBuilder(); /** - * - * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; - * * @return Whether the teradataDialect field is set. */ boolean hasTeradataDialect(); /** - * - * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; - * * @return The teradataDialect. */ com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect(); /** - * - * *
    * The Teradata dialect
    * 
@@ -164,32 +116,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTeradataDialectOrBuilder(); /** - * - * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; - * * @return Whether the oracleDialect field is set. */ boolean hasOracleDialect(); /** - * - * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; - * * @return The oracleDialect. */ com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect(); /** - * - * *
    * The Oracle dialect
    * 
@@ -199,32 +143,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDialectOrBuilder(); /** - * - * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; - * * @return Whether the sparksqlDialect field is set. */ boolean hasSparksqlDialect(); /** - * - * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; - * * @return The sparksqlDialect. */ com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect(); /** - * - * *
    * The SparkSQL dialect
    * 
@@ -234,32 +170,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder(); /** - * - * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; - * * @return Whether the snowflakeDialect field is set. */ boolean hasSnowflakeDialect(); /** - * - * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; - * * @return The snowflakeDialect. */ com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDialect(); /** - * - * *
    * The Snowflake dialect
    * 
@@ -269,32 +197,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder(); /** - * - * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; - * * @return Whether the netezzaDialect field is set. */ boolean hasNetezzaDialect(); /** - * - * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; - * * @return The netezzaDialect. */ com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect(); /** - * - * *
    * The Netezza dialect
    * 
@@ -304,68 +224,51 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezzaDialectOrBuilder(); /** - * - * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * * @return Whether the azureSynapseDialect field is set. */ boolean hasAzureSynapseDialect(); /** - * - * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; - * * @return The azureSynapseDialect. */ com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynapseDialect(); /** - * - * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ - com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder - getAzureSynapseDialectOrBuilder(); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder(); /** - * - * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; - * * @return Whether the verticaDialect field is set. */ boolean hasVerticaDialect(); /** - * - * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; - * * @return The verticaDialect. */ com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect(); /** - * - * *
    * The Vertica dialect
    * 
@@ -375,32 +278,24 @@ public interface DialectOrBuilder com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder(); /** - * - * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; - * * @return Whether the sqlServerDialect field is set. */ boolean hasSqlServerDialect(); /** - * - * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; - * * @return The sqlServerDialect. */ com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect(); /** - * - * *
    * The SQL Server dialect
    * 
@@ -409,5 +304,59 @@ public interface DialectOrBuilder */ com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder(); + /** + *
+   * The Postgresql dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * @return Whether the postgresqlDialect field is set. + */ + boolean hasPostgresqlDialect(); + /** + *
+   * The Postgresql dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * @return The postgresqlDialect. + */ + com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect(); + /** + *
+   * The Postgresql dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + */ + com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder(); + + /** + *
+   * The Presto dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * @return Whether the prestoDialect field is set. + */ + boolean hasPrestoDialect(); + /** + *
+   * The Presto dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * @return The prestoDialect. + */ + com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect(); + /** + *
+   * The Presto dialect
+   * 
+ * + * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + */ + com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder(); + public com.google.cloud.bigquery.migration.v2.Dialect.DialectValueCase getDialectValueCase(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java index 1d1c5c5..284c7f4 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Provides details for errors, e.g. issues that where encountered when
  * processing a subtask.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorDetail}
  */
-public final class ErrorDetail extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ErrorDetail extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ErrorDetail)
     ErrorDetailOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ErrorDetail.newBuilder() to construct.
   private ErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ErrorDetail() {}
+  private ErrorDetail() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ErrorDetail();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ErrorDetail(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,44 +53,39 @@ private ErrorDetail(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder subBuilder = null;
-              if (location_ != null) {
-                subBuilder = location_.toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.ErrorLocation.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(location_);
-                location_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder subBuilder = null;
+            if (location_ != null) {
+              subBuilder = location_.toBuilder();
+            }
+            location_ = input.readMessage(com.google.cloud.bigquery.migration.v2.ErrorLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(location_);
+              location_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.rpc.ErrorInfo.Builder subBuilder = null;
-              if (errorInfo_ != null) {
-                subBuilder = errorInfo_.toBuilder();
-              }
-              errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(errorInfo_);
-                errorInfo_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.rpc.ErrorInfo.Builder subBuilder = null;
+            if (errorInfo_ != null) {
+              subBuilder = errorInfo_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(errorInfo_);
+              errorInfo_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,41 +93,34 @@ private ErrorDetail(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
-        .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
-        .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.ErrorDetail.class,
-            com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
+            com.google.cloud.bigquery.migration.v2.ErrorDetail.class, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.migration.v2.ErrorLocation location_;
   /**
-   *
-   *
    * 
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the location field is set. */ @java.lang.Override @@ -156,34 +128,23 @@ public boolean hasLocation() { return location_ != null; } /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The location. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorLocation getLocation() { - return location_ == null - ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() - : location_; + return location_ == null ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() : location_; } /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocationOrBuilder() { @@ -193,14 +154,11 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocation public static final int ERROR_INFO_FIELD_NUMBER = 2; private com.google.rpc.ErrorInfo errorInfo_; /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the errorInfo field is set. */ @java.lang.Override @@ -208,14 +166,11 @@ public boolean hasErrorInfo() { return errorInfo_ != null; } /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorInfo. */ @java.lang.Override @@ -223,8 +178,6 @@ public com.google.rpc.ErrorInfo getErrorInfo() { return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
@@ -237,7 +190,6 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -266,10 +219,12 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLocation()); } if (errorInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getErrorInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getErrorInfo()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +234,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ErrorDetail other = - (com.google.cloud.bigquery.migration.v2.ErrorDetail) obj; + com.google.cloud.bigquery.migration.v2.ErrorDetail other = (com.google.cloud.bigquery.migration.v2.ErrorDetail) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; } if (hasErrorInfo() != other.hasErrorInfo()) return false; if (hasErrorInfo()) { - if (!getErrorInfo().equals(other.getErrorInfo())) return false; + if (!getErrorInfo() + .equals(other.getErrorInfo())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,103 +276,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Provides details for errors, e.g. issues that where encountered when
    * processing a subtask.
@@ -424,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorDetail}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ErrorDetail)
       com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
-          .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
-          .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.ErrorDetail.class,
-              com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
+              com.google.cloud.bigquery.migration.v2.ErrorDetail.class, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.ErrorDetail.newBuilder()
@@ -448,15 +395,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
-          .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
@@ -497,8 +445,7 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.ErrorDetail buildPartial() {
-      com.google.cloud.bigquery.migration.v2.ErrorDetail result =
-          new com.google.cloud.bigquery.migration.v2.ErrorDetail(this);
+      com.google.cloud.bigquery.migration.v2.ErrorDetail result = new com.google.cloud.bigquery.migration.v2.ErrorDetail(this);
       if (locationBuilder_ == null) {
         result.location_ = location_;
       } else {
@@ -517,39 +464,38 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.ErrorDetail) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorDetail) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorDetail)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ErrorDetail other) {
-      if (other == com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()) return this;
       if (other.hasLocation()) {
         mergeLocation(other.getLocation());
       }
@@ -584,8 +529,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.ErrorDetail) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.ErrorDetail) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -597,58 +541,39 @@ public Builder mergeFrom(
 
     private com.google.cloud.bigquery.migration.v2.ErrorLocation location_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.ErrorLocation,
-            com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder,
-            com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder>
-        locationBuilder_;
+        com.google.cloud.bigquery.migration.v2.ErrorLocation, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder> locationBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The location. */ public com.google.cloud.bigquery.migration.v2.ErrorLocation getLocation() { if (locationBuilder_ == null) { - return location_ == null - ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() - : location_; + return location_ == null ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLocation(com.google.cloud.bigquery.migration.v2.ErrorLocation value) { if (locationBuilder_ == null) { @@ -664,15 +589,11 @@ public Builder setLocation(com.google.cloud.bigquery.migration.v2.ErrorLocation return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLocation( com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder builderForValue) { @@ -686,23 +607,17 @@ public Builder setLocation( return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2.ErrorLocation value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.cloud.bigquery.migration.v2.ErrorLocation.newBuilder(location_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.ErrorLocation.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -714,15 +629,11 @@ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2.ErrorLocatio return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLocation() { if (locationBuilder_ == null) { @@ -736,64 +647,48 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null - ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() - : location_; + return location_ == null ? + com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() : location_; } } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorLocation, - com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, - com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder> + com.google.cloud.bigquery.migration.v2.ErrorLocation, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorLocation, - com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, - com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder>( - getLocation(), getParentForChildren(), isClean()); + locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ErrorLocation, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder>( + getLocation(), + getParentForChildren(), + isClean()); location_ = null; } return locationBuilder_; @@ -801,33 +696,24 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocation private com.google.rpc.ErrorInfo errorInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> - errorInfoBuilder_; + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> errorInfoBuilder_; /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the errorInfo field is set. */ public boolean hasErrorInfo() { return errorInfoBuilder_ != null || errorInfo_ != null; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorInfo. */ public com.google.rpc.ErrorInfo getErrorInfo() { @@ -838,8 +724,6 @@ public com.google.rpc.ErrorInfo getErrorInfo() { } } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -860,15 +744,14 @@ public Builder setErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setErrorInfo(com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setErrorInfo( + com.google.rpc.ErrorInfo.Builder builderForValue) { if (errorInfoBuilder_ == null) { errorInfo_ = builderForValue.build(); onChanged(); @@ -879,8 +762,6 @@ public Builder setErrorInfo(com.google.rpc.ErrorInfo.Builder builderForValue) { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -891,7 +772,7 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { if (errorInfoBuilder_ == null) { if (errorInfo_ != null) { errorInfo_ = - com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); } else { errorInfo_ = value; } @@ -903,8 +784,6 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -923,8 +802,6 @@ public Builder clearErrorInfo() { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -932,13 +809,11 @@ public Builder clearErrorInfo() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ErrorInfo.Builder getErrorInfoBuilder() { - + onChanged(); return getErrorInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -949,12 +824,11 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { if (errorInfoBuilder_ != null) { return errorInfoBuilder_.getMessageOrBuilder(); } else { - return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; + return errorInfo_ == null ? + com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -962,24 +836,21 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> getErrorInfoFieldBuilder() { if (errorInfoBuilder_ == null) { - errorInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder>( - getErrorInfo(), getParentForChildren(), isClean()); + errorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( + getErrorInfo(), + getParentForChildren(), + isClean()); errorInfo_ = null; } return errorInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -989,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ErrorDetail) private static final com.google.cloud.bigquery.migration.v2.ErrorDetail DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ErrorDetail(); } @@ -1003,16 +874,16 @@ public static com.google.cloud.bigquery.migration.v2.ErrorDetail getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java similarity index 60% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java index ac95b09..b57f7be 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java @@ -1,96 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; -public interface ErrorDetailOrBuilder - extends +public interface ErrorDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ErrorDetail) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The location. */ com.google.cloud.bigquery.migration.v2.ErrorLocation getLocation(); /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocationOrBuilder(); /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the errorInfo field is set. */ boolean hasErrorInfo(); /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorInfo. */ com.google.rpc.ErrorInfo getErrorInfo(); /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java index f369219..b9435b0 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Holds information about where the error is located.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorLocation} */ -public final class ErrorLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ErrorLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ErrorLocation) ErrorLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ErrorLocation.newBuilder() to construct. private ErrorLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ErrorLocation() {} + private ErrorLocation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ErrorLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ErrorLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,23 +52,23 @@ private ErrorLocation( case 0: done = true; break; - case 8: - { - line_ = input.readInt32(); - break; - } - case 16: - { - column_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + line_ = input.readInt32(); + break; + } + case 16: { + + column_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,40 +76,35 @@ private ErrorLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ErrorLocation.class, - com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2.ErrorLocation.class, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** - * - * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The line. */ @java.lang.Override @@ -136,15 +115,12 @@ public int getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** - * - * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ @java.lang.Override @@ -153,7 +129,6 @@ public int getColumn() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +140,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (line_ != 0) { output.writeInt32(1, line_); } @@ -182,10 +158,12 @@ public int getSerializedSize() { size = 0; if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, line_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, line_); } if (column_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, column_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -195,16 +173,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ErrorLocation)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ErrorLocation other = - (com.google.cloud.bigquery.migration.v2.ErrorLocation) obj; + com.google.cloud.bigquery.migration.v2.ErrorLocation other = (com.google.cloud.bigquery.migration.v2.ErrorLocation) obj; - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; + if (getLine() + != other.getLine()) return false; + if (getColumn() + != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,126 +205,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ErrorLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Holds information about where the error is located.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ErrorLocation) com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ErrorLocation.class, - com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2.ErrorLocation.class, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.ErrorLocation.newBuilder() @@ -353,15 +323,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +344,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; } @java.lang.Override @@ -394,8 +365,7 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocation build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorLocation buildPartial() { - com.google.cloud.bigquery.migration.v2.ErrorLocation result = - new com.google.cloud.bigquery.migration.v2.ErrorLocation(this); + com.google.cloud.bigquery.migration.v2.ErrorLocation result = new com.google.cloud.bigquery.migration.v2.ErrorLocation(this); result.line_ = line_; result.column_ = column_; onBuilt(); @@ -406,39 +376,38 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ErrorLocation) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorLocation) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorLocation)other); } else { super.mergeFrom(other); return this; @@ -446,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ErrorLocation other) { - if (other == com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance()) return this; if (other.getLine() != 0) { setLine(other.getLine()); } @@ -473,8 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.ErrorLocation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.ErrorLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -484,17 +451,14 @@ public Builder mergeFrom( return this; } - private int line_; + private int line_ ; /** - * - * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The line. */ @java.lang.Override @@ -502,54 +466,45 @@ public int getLine() { return line_; } /** - * - * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { - + line_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLine() { - + line_ = 0; onChanged(); return this; } - private int column_; + private int column_ ; /** - * - * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ @java.lang.Override @@ -557,45 +512,39 @@ public int getColumn() { return column_; } /** - * - * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { - + column_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,12 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ErrorLocation) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ErrorLocation) private static final com.google.cloud.bigquery.migration.v2.ErrorLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ErrorLocation(); } @@ -619,16 +568,16 @@ public static com.google.cloud.bigquery.migration.v2.ErrorLocation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ErrorLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java similarity index 57% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java index c6061ba..831063b 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; -public interface ErrorLocationOrBuilder - extends +public interface ErrorLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ErrorLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The line. */ int getLine(); /** - * - * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ int getColumn(); diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java index 3b6615f..6fb4ca0 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A request to get a previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest} */ -public final class GetMigrationSubtaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMigrationSubtaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) GetMigrationSubtaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMigrationSubtaskRequest.newBuilder() to construct. private GetMigrationSubtaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMigrationSubtaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMigrationSubtaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMigrationSubtaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetMigrationSubtaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetMigrationSubtaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,15 +157,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -202,15 +169,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -218,14 +181,11 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -233,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -265,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other = - (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) obj; + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other = (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -311,145 +273,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get a previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,14 +416,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance(); } @@ -487,8 +437,7 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest build() @java.lang.Override public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest result = - new com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest(this); + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest result = new com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -503,50 +452,46 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -573,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -587,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +551,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +573,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,35 +631,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -747,14 +659,11 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -770,16 +679,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -790,20 +697,17 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -815,14 +719,11 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -836,66 +737,55 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -905,32 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) - private static final com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest(); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationSubtaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationSubtaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationSubtaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationSubtaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,8 +830,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java index 926deaa..8634988 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface GetMigrationSubtaskRequestOrBuilder - extends +public interface GetMigrationSubtaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java index 8d1e214..31f502f 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A request to get a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest} */ -public final class GetMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) GetMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMigrationWorkflowRequest.newBuilder() to construct. private GetMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,14 +157,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -201,14 +169,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ @java.lang.Override @@ -216,8 +181,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The list of fields to be retrieved.
    * 
@@ -230,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -272,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -308,145 +273,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -462,16 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override @@ -485,8 +437,7 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest build( @java.lang.Override public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -501,51 +452,46 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -572,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -586,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -611,24 +551,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -636,70 +573,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -707,33 +631,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -744,8 +659,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -766,15 +679,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -785,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -797,7 +707,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -809,8 +719,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -829,8 +737,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -838,13 +744,11 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -855,12 +759,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -868,24 +771,21 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -895,32 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -932,8 +830,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java index c182962..8b40779 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface GetMigrationWorkflowRequestOrBuilder - extends +public interface GetMigrationWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java index a12c7bf..ef7ef5c 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for HiveQL.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.HiveQLDialect} */ -public final class HiveQLDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HiveQLDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.HiveQLDialect) HiveQLDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HiveQLDialect.newBuilder() to construct. private HiveQLDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private HiveQLDialect() {} + private HiveQLDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HiveQLDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HiveQLDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private HiveQLDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private HiveQLDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.HiveQLDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.HiveQLDialect other = - (com.google.cloud.bigquery.migration.v2.HiveQLDialect) obj; + com.google.cloud.bigquery.migration.v2.HiveQLDialect other = (com.google.cloud.bigquery.migration.v2.HiveQLDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.HiveQLDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for HiveQL.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.HiveQLDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.HiveQLDialect) com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.HiveQLDialect.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.HiveQLDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.HiveQLDialect result = - new com.google.cloud.bigquery.migration.v2.HiveQLDialect(this); + com.google.cloud.bigquery.migration.v2.HiveQLDialect result = new com.google.cloud.bigquery.migration.v2.HiveQLDialect(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.HiveQLDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.HiveQLDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.HiveQLDialect)other); } else { super.mergeFrom(other); return this; @@ -374,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.HiveQLDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.HiveQLDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.HiveQLDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -417,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.HiveQLDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.HiveQLDialect) private static final com.google.cloud.bigquery.migration.v2.HiveQLDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.HiveQLDialect(); } @@ -431,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.HiveQLDialect getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HiveQLDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HiveQLDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HiveQLDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HiveQLDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.HiveQLDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java new file mode 100644 index 0000000..0a23fbc --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface HiveQLDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.HiveQLDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java index f2e2e85..b82dba8 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A request to list previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest} */ -public final class ListMigrationSubtasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationSubtasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) ListMigrationSubtasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksRequest.newBuilder() to construct. private ListMigrationSubtasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationSubtasksRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListMigrationSubtasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationSubtasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationSubtasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListMigrationSubtasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - break; + parent_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 24: - { - pageSize_ = input.readInt32(); - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: { - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListMigrationSubtasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,15 +176,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -223,15 +188,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -239,14 +200,11 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -256,15 +214,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -275,8 +230,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -285,7 +238,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -294,15 +246,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -311,15 +262,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -330,8 +282,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -339,7 +289,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -348,15 +297,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -364,15 +312,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -381,7 +330,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -422,10 +371,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -441,22 +392,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other = - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; - } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; + } + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -486,145 +441,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,16 +590,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance(); } @java.lang.Override @@ -669,8 +611,7 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest build @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest result = - new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest(this); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest result = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -688,51 +629,46 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -770,9 +706,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -784,23 +718,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -809,24 +739,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -834,70 +761,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -905,35 +819,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -944,14 +847,11 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -967,16 +867,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -987,20 +885,17 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1012,14 +907,11 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1033,75 +925,61 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1109,38 +987,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1148,8 +1020,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1158,13 +1028,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1173,8 +1043,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1183,14 +1051,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1198,8 +1067,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1208,22 +1075,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1232,18 +1097,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1252,16 +1114,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1269,8 +1131,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1278,13 +1138,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1293,8 +1153,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1302,14 +1160,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1317,8 +1176,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1326,22 +1183,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1349,18 +1204,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1368,23 +1220,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1394,32 +1246,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1431,8 +1281,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java index 303f6a2..3fd4f73 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java @@ -1,114 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationSubtasksRequestOrBuilder - extends +public interface ListMigrationSubtasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** - * - * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -117,13 +76,10 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -132,14 +88,12 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -147,13 +101,10 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -161,8 +112,8 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java index 775a809..5c7a569 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Response object for a `ListMigrationSubtasks` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse} */ -public final class ListMigrationSubtasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationSubtasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) ListMigrationSubtasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksResponse.newBuilder() to construct. private ListMigrationSubtasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationSubtasksResponse() { migrationSubtasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListMigrationSubtasksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationSubtasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationSubtasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListMigrationSubtasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2.MigrationSubtask>(); - mutable_bitField0_ |= 0x00000001; - } - migrationSubtasks_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2.MigrationSubtask.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationSubtasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + migrationSubtasks_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2.MigrationSubtask.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListMigrationSubtasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationSubtasks_ = java.util.Collections.unmodifiableList(migrationSubtasks_); @@ -116,111 +94,88 @@ private ListMigrationSubtasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); } public static final int MIGRATION_SUBTASKS_FIELD_NUMBER = 1; - private java.util.List - migrationSubtasks_; + private java.util.List migrationSubtasks_; /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public java.util.List - getMigrationSubtasksList() { + public java.util.List getMigrationSubtasksList() { return migrationSubtasks_; } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getMigrationSubtasksOrBuilderList() { return migrationSubtasks_; } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override public int getMigrationSubtasksCount() { return migrationSubtasks_.size(); } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtasks(int index) { return migrationSubtasks_.get(index); } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder - getMigrationSubtasksOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( + int index) { return migrationSubtasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -229,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -261,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < migrationSubtasks_.size(); i++) { output.writeMessage(1, migrationSubtasks_.get(i)); } @@ -290,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationSubtasks_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationSubtasks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, migrationSubtasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other = - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) obj; - if (!getMigrationSubtasksList().equals(other.getMigrationSubtasksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMigrationSubtasksList() + .equals(other.getMigrationSubtasksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -337,147 +293,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response object for a `ListMigrationSubtasks` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMigrationSubtasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -493,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance(); } @java.lang.Override @@ -516,8 +458,7 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse buil @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse result = - new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse(this); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse result = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse(this); int from_bitField0_ = bitField0_; if (migrationSubtasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -537,51 +478,46 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other) { - if (other - == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other) { + if (other == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance()) return this; if (migrationSubtasksBuilder_ == null) { if (!other.migrationSubtasks_.isEmpty()) { if (migrationSubtasks_.isEmpty()) { @@ -600,10 +536,9 @@ public Builder mergeFrom( migrationSubtasksBuilder_ = null; migrationSubtasks_ = other.migrationSubtasks_; bitField0_ = (bitField0_ & ~0x00000001); - migrationSubtasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMigrationSubtasksFieldBuilder() - : null; + migrationSubtasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMigrationSubtasksFieldBuilder() : null; } else { migrationSubtasksBuilder_.addAllMessages(other.migrationSubtasks_); } @@ -632,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -643,39 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - migrationSubtasks_ = java.util.Collections.emptyList(); - + private java.util.List migrationSubtasks_ = + java.util.Collections.emptyList(); private void ensureMigrationSubtasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = - new java.util.ArrayList( - migrationSubtasks_); + migrationSubtasks_ = new java.util.ArrayList(migrationSubtasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationSubtask, - com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, - com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> - migrationSubtasksBuilder_; + com.google.cloud.bigquery.migration.v2.MigrationSubtask, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> migrationSubtasksBuilder_; /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public java.util.List - getMigrationSubtasksList() { + public java.util.List getMigrationSubtasksList() { if (migrationSubtasksBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationSubtasks_); } else { @@ -683,14 +605,11 @@ private void ensureMigrationSubtasksIsMutable() { } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public int getMigrationSubtasksCount() { if (migrationSubtasksBuilder_ == null) { @@ -700,14 +619,11 @@ public int getMigrationSubtasksCount() { } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { @@ -717,14 +633,11 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubta } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder setMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { @@ -741,18 +654,14 @@ public Builder setMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder setMigrationSubtasks( - int index, - com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.set(index, builderForValue.build()); @@ -763,17 +672,13 @@ public Builder setMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public Builder addMigrationSubtasks( - com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { + public Builder addMigrationSubtasks(com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { if (migrationSubtasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -787,14 +692,11 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder addMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { @@ -811,14 +713,11 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder addMigrationSubtasks( com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { @@ -832,18 +731,14 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder addMigrationSubtasks( - int index, - com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.add(index, builderForValue.build()); @@ -854,21 +749,18 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder addAllMigrationSubtasks( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationSubtasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, migrationSubtasks_); onChanged(); } else { migrationSubtasksBuilder_.addAllMessages(values); @@ -876,14 +768,11 @@ public Builder addAllMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder clearMigrationSubtasks() { if (migrationSubtasksBuilder_ == null) { @@ -896,14 +785,11 @@ public Builder clearMigrationSubtasks() { return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ public Builder removeMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { @@ -916,50 +802,39 @@ public Builder removeMigrationSubtasks(int index) { return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder - getMigrationSubtasksBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder getMigrationSubtasksBuilder( + int index) { return getMigrationSubtasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder - getMigrationSubtasksOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( + int index) { if (migrationSubtasksBuilder_ == null) { - return migrationSubtasks_.get(index); - } else { + return migrationSubtasks_.get(index); } else { return migrationSubtasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> - getMigrationSubtasksOrBuilderList() { + public java.util.List + getMigrationSubtasksOrBuilderList() { if (migrationSubtasksBuilder_ != null) { return migrationSubtasksBuilder_.getMessageOrBuilderList(); } else { @@ -967,62 +842,45 @@ public Builder removeMigrationSubtasks(int index) { } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder - addMigrationSubtasksBuilder() { - return getMigrationSubtasksFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder addMigrationSubtasksBuilder() { + return getMigrationSubtasksFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder - addMigrationSubtasksBuilder(int index) { - return getMigrationSubtasksFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder addMigrationSubtasksBuilder( + int index) { + return getMigrationSubtasksFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - public java.util.List - getMigrationSubtasksBuilderList() { + public java.util.List + getMigrationSubtasksBuilderList() { return getMigrationSubtasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationSubtask, - com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, - com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> + com.google.cloud.bigquery.migration.v2.MigrationSubtask, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> getMigrationSubtasksFieldBuilder() { if (migrationSubtasksBuilder_ == null) { - migrationSubtasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationSubtask, - com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, - com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder>( + migrationSubtasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.MigrationSubtask, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder>( migrationSubtasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1034,21 +892,19 @@ public Builder removeMigrationSubtasks(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1057,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1080,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1154,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,8 +1037,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java index a613829..4b90734 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java @@ -1,111 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationSubtasksResponseOrBuilder - extends +public interface ListMigrationSubtasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - java.util.List + java.util.List getMigrationSubtasksList(); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtasks(int index); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ int getMigrationSubtasksCount(); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ - java.util.List + java.util.List getMigrationSubtasksOrBuilderList(); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; */ com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java similarity index 69% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java index afb21b4..9553436 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A request to list previously created migration workflows.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest} */ -public final class ListMigrationWorkflowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationWorkflowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) ListMigrationWorkflowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsRequest.newBuilder() to construct. private ListMigrationWorkflowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationWorkflowsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListMigrationWorkflowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationWorkflowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationWorkflowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,47 +54,43 @@ private ListMigrationWorkflowsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + parent_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 24: - { - pageSize_ = input.readInt32(); - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,42 +98,35 @@ private ListMigrationWorkflowsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,32 +135,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -199,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -214,14 +181,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ @java.lang.Override @@ -229,8 +193,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The list of fields to be retrieved.
    * 
@@ -245,15 +207,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -264,8 +223,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -274,7 +231,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -283,15 +239,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -300,15 +255,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -317,7 +273,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +284,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -355,10 +311,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -371,21 +329,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other = - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -413,145 +374,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list previously created migration workflows.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,16 +521,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance(); } @java.lang.Override @@ -594,8 +542,7 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest buil @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest result = - new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest(this); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest result = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -612,51 +559,46 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,9 +632,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -704,23 +644,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,24 +665,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -754,70 +687,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -825,33 +745,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -862,8 +773,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -884,15 +793,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -903,8 +811,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -915,7 +821,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -927,8 +833,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -947,8 +851,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -956,13 +858,11 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -973,12 +873,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -986,33 +885,27 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1020,38 +913,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1059,8 +946,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1069,13 +954,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1084,8 +969,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1094,14 +977,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1109,8 +993,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1119,22 +1001,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1143,18 +1023,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1163,23 +1040,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,32 +1066,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,8 +1101,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java index 4e5af0d..9526a37 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationWorkflowsRequestOrBuilder - extends +public interface ListMigrationWorkflowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
@@ -90,22 +57,17 @@ public interface ListMigrationWorkflowsRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** - * - * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -114,13 +76,10 @@ public interface ListMigrationWorkflowsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -129,8 +88,8 @@ public interface ListMigrationWorkflowsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java index 69c9d16..532f4bb 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Response object for a `ListMigrationWorkflows` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse} */ -public final class ListMigrationWorkflowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationWorkflowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) ListMigrationWorkflowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsResponse.newBuilder() to construct. - private ListMigrationWorkflowsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMigrationWorkflowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationWorkflowsResponse() { migrationWorkflows_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListMigrationWorkflowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationWorkflowsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationWorkflowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,34 +55,28 @@ private ListMigrationWorkflowsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>(); - mutable_bitField0_ |= 0x00000001; - } - migrationWorkflows_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationWorkflows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + migrationWorkflows_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +84,8 @@ private ListMigrationWorkflowsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationWorkflows_ = java.util.Collections.unmodifiableList(migrationWorkflows_); @@ -117,111 +94,88 @@ private ListMigrationWorkflowsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); } public static final int MIGRATION_WORKFLOWS_FIELD_NUMBER = 1; - private java.util.List - migrationWorkflows_; + private java.util.List migrationWorkflows_; /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public java.util.List - getMigrationWorkflowsList() { + public java.util.List getMigrationWorkflowsList() { return migrationWorkflows_; } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public java.util.List + public java.util.List getMigrationWorkflowsOrBuilderList() { return migrationWorkflows_; } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override public int getMigrationWorkflowsCount() { return migrationWorkflows_.size(); } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows(int index) { return migrationWorkflows_.get(index); } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder - getMigrationWorkflowsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( + int index) { return migrationWorkflows_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -230,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -262,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < migrationWorkflows_.size(); i++) { output.writeMessage(1, migrationWorkflows_.get(i)); } @@ -291,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationWorkflows_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationWorkflows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, migrationWorkflows_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -305,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other = - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) obj; - if (!getMigrationWorkflowsList().equals(other.getMigrationWorkflowsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMigrationWorkflowsList() + .equals(other.getMigrationWorkflowsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,147 +293,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response object for a `ListMigrationWorkflows` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMigrationWorkflowsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -494,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance(); } @java.lang.Override @@ -517,8 +458,7 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse bui @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse result = - new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse(this); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse result = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse(this); int from_bitField0_ = bitField0_; if (migrationWorkflowsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -538,51 +478,46 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other) { - if (other - == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other) { + if (other == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance()) return this; if (migrationWorkflowsBuilder_ == null) { if (!other.migrationWorkflows_.isEmpty()) { if (migrationWorkflows_.isEmpty()) { @@ -601,10 +536,9 @@ public Builder mergeFrom( migrationWorkflowsBuilder_ = null; migrationWorkflows_ = other.migrationWorkflows_; bitField0_ = (bitField0_ & ~0x00000001); - migrationWorkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMigrationWorkflowsFieldBuilder() - : null; + migrationWorkflowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMigrationWorkflowsFieldBuilder() : null; } else { migrationWorkflowsBuilder_.addAllMessages(other.migrationWorkflows_); } @@ -633,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,39 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - migrationWorkflows_ = java.util.Collections.emptyList(); - + private java.util.List migrationWorkflows_ = + java.util.Collections.emptyList(); private void ensureMigrationWorkflowsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = - new java.util.ArrayList( - migrationWorkflows_); + migrationWorkflows_ = new java.util.ArrayList(migrationWorkflows_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> - migrationWorkflowsBuilder_; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> migrationWorkflowsBuilder_; /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public java.util.List - getMigrationWorkflowsList() { + public java.util.List getMigrationWorkflowsList() { if (migrationWorkflowsBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationWorkflows_); } else { @@ -684,14 +605,11 @@ private void ensureMigrationWorkflowsIsMutable() { } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public int getMigrationWorkflowsCount() { if (migrationWorkflowsBuilder_ == null) { @@ -701,17 +619,13 @@ public int getMigrationWorkflowsCount() { } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows(int index) { if (migrationWorkflowsBuilder_ == null) { return migrationWorkflows_.get(index); } else { @@ -719,14 +633,11 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWork } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder setMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { @@ -743,18 +654,14 @@ public Builder setMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder setMigrationWorkflows( - int index, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.set(index, builderForValue.build()); @@ -765,17 +672,13 @@ public Builder setMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public Builder addMigrationWorkflows( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { + public Builder addMigrationWorkflows(com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { if (migrationWorkflowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,14 +692,11 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder addMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { @@ -813,14 +713,11 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder addMigrationWorkflows( com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { @@ -834,18 +731,14 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder addMigrationWorkflows( - int index, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.add(index, builderForValue.build()); @@ -856,21 +749,18 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder addAllMigrationWorkflows( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationWorkflows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, migrationWorkflows_); onChanged(); } else { migrationWorkflowsBuilder_.addAllMessages(values); @@ -878,14 +768,11 @@ public Builder addAllMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder clearMigrationWorkflows() { if (migrationWorkflowsBuilder_ == null) { @@ -898,14 +785,11 @@ public Builder clearMigrationWorkflows() { return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ public Builder removeMigrationWorkflows(int index) { if (migrationWorkflowsBuilder_ == null) { @@ -918,50 +802,39 @@ public Builder removeMigrationWorkflows(int index) { return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder - getMigrationWorkflowsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder getMigrationWorkflowsBuilder( + int index) { return getMigrationWorkflowsFieldBuilder().getBuilder(index); } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder - getMigrationWorkflowsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( + int index) { if (migrationWorkflowsBuilder_ == null) { - return migrationWorkflows_.get(index); - } else { + return migrationWorkflows_.get(index); } else { return migrationWorkflowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> - getMigrationWorkflowsOrBuilderList() { + public java.util.List + getMigrationWorkflowsOrBuilderList() { if (migrationWorkflowsBuilder_ != null) { return migrationWorkflowsBuilder_.getMessageOrBuilderList(); } else { @@ -969,63 +842,45 @@ public Builder removeMigrationWorkflows(int index) { } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder - addMigrationWorkflowsBuilder() { - return getMigrationWorkflowsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder addMigrationWorkflowsBuilder() { + return getMigrationWorkflowsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder - addMigrationWorkflowsBuilder(int index) { - return getMigrationWorkflowsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder addMigrationWorkflowsBuilder( + int index) { + return getMigrationWorkflowsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - public java.util.List - getMigrationWorkflowsBuilderList() { + public java.util.List + getMigrationWorkflowsBuilderList() { return getMigrationWorkflowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> getMigrationWorkflowsFieldBuilder() { if (migrationWorkflowsBuilder_ == null) { - migrationWorkflowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( + migrationWorkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( migrationWorkflows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1037,21 +892,19 @@ public Builder removeMigrationWorkflows(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1060,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1083,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1157,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1194,8 +1037,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java index 6346bcd..b945131 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java @@ -1,111 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationWorkflowsResponseOrBuilder - extends +public interface ListMigrationWorkflowsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - java.util.List + java.util.List getMigrationWorkflowsList(); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows(int index); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ int getMigrationWorkflowsCount(); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ - java.util.List + java.util.List getMigrationWorkflowsOrBuilderList(); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; */ com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java similarity index 100% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java new file mode 100644 index 0000000..29eba6a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java @@ -0,0 +1,161 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_entities.proto + +package com.google.cloud.bigquery.migration.v2; + +public final class MigrationEntitiesProto { + private MigrationEntitiesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n;google/cloud/bigquery/migration/v2/mig" + + "ration_entities.proto\022\"google.cloud.bigq" + + "uery.migration.v2\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032@g" + + "oogle/cloud/bigquery/migration/v2/migrat" + + "ion_error_details.proto\032:google/cloud/bi" + + "gquery/migration/v2/migration_metrics.pr" + + "oto\032;google/cloud/bigquery/migration/v2/" + + "translation_config.proto\032\037google/protobu" + + "f/timestamp.proto\032\036google/rpc/error_deta" + + "ils.proto\"\363\004\n\021MigrationWorkflow\022\024\n\004name\030" + + "\001 \001(\tB\006\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022O\n\005t" + + "asks\030\002 \003(\0132@.google.cloud.bigquery.migra" + + "tion.v2.MigrationWorkflow.TasksEntry\022O\n\005" + + "state\030\003 \001(\0162;.google.cloud.bigquery.migr" + + "ation.v2.MigrationWorkflow.StateB\003\340A\003\022/\n" + + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\0224\n\020last_update_time\030\005 \001(\0132\032.googl" + + "e.protobuf.Timestamp\032_\n\nTasksEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.google.cloud.bi" + + "gquery.migration.v2.MigrationTask:\0028\001\"Q\n" + + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005DRAFT\020\001" + + "\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOMPLETED\020\004" + + ":u\352Ar\n2bigquerymigration.googleapis.com/" + + "MigrationWorkflow\022\n\006points\030\004 \003" + + "(\0132).google.cloud.bigquery.migration.v2." + + "PointB\003\340A\002\"\212\001\n\005Point\022B\n\010interval\030\001 \001(\01320" + + ".google.cloud.bigquery.migration.v2.Time" + + "Interval\022=\n\005value\030\002 \001(\0132..google.cloud.b" + + "igquery.migration.v2.TypedValue\"v\n\014TimeI" + + "nterval\0223\n\nstart_time\030\001 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\002\"\252\001\n\nType" + + "dValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_va" + + "lue\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014s" + + "tring_value\030\004 \001(\tH\000\0226\n\022distribution_valu" + + "e\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n\005v" + + "alueB\330\001\n&com.google.cloud.bigquery.migra" + + "tion.v2B\025MigrationMetricsProtoP\001ZKgoogle" + + ".golang.org/genproto/googleapis/cloud/bi" + + "gquery/migration/v2;migration\252\002\"Google.C" + + "loud.BigQuery.Migration.V2\312\002\"Google\\Clou" + + "d\\BigQuery\\Migration\\V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor, + new java.lang.String[] { "Metric", "ValueType", "MetricKind", "Points", }); + internal_static_google_cloud_bigquery_migration_v2_Point_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_Point_descriptor, + new java.lang.String[] { "Interval", "Value", }); + internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor, + new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java new file mode 100644 index 0000000..44f574f --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java @@ -0,0 +1,247 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public final class MigrationServiceProto { + private MigrationServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n:google/cloud/bigquery/migration/v2/mig" + + "ration_service.proto\022\"google.cloud.bigqu" + + "ery.migration.v2\032\034google/api/annotations" + + ".proto\032\027google/api/client.proto\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032;google/cloud/bigquery/migra" + + "tion/v2/migration_entities.proto\032\033google" + + "/protobuf/empty.proto\032 google/protobuf/f" + + "ield_mask.proto\"\263\001\n\036CreateMigrationWorkf" + + "lowRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" + + "tions.googleapis.com/Location\022V\n\022migrati" + + "on_workflow\030\002 \001(\01325.google.cloud.bigquer" + + "y.migration.v2.MigrationWorkflowB\003\340A\002\"\226\001" + + "\n\033GetMigrationWorkflowRequest\022H\n\004name\030\001 " + + "\001(\tB:\340A\002\372A4\n2bigquerymigration.googleapi" + + "s.com/MigrationWorkflow\022-\n\tread_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"\260\001\n\035ListM" + + "igrationWorkflowsRequest\0229\n\006parent\030\001 \001(\t" + + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + + "ion\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" + + "ken\030\004 \001(\t\"\215\001\n\036ListMigrationWorkflowsResp" + + "onse\022R\n\023migration_workflows\030\001 \003(\01325.goog" + + "le.cloud.bigquery.migration.v2.Migration" + + "Workflow\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036Del" + + "eteMigrationWorkflowRequest\022H\n\004name\030\001 \001(" + + "\tB:\340A\002\372A4\n2bigquerymigration.googleapis." + + "com/MigrationWorkflow\"i\n\035StartMigrationW" + + "orkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bi" + + "gquerymigration.googleapis.com/Migration" + + "Workflow\"\231\001\n\032GetMigrationSubtaskRequest\022" + + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration" + + ".googleapis.com/MigrationSubtask\0222\n\tread" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" + + "\003\340A\001\"\344\001\n\034ListMigrationSubtasksRequest\022J\n" + + "\006parent\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration" + + ".googleapis.com/MigrationWorkflow\0222\n\trea" + + "d_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_to" + + "ken\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\212\001\n\035" + + "ListMigrationSubtasksResponse\022P\n\022migrati" + + "on_subtasks\030\001 \003(\01324.google.cloud.bigquer" + + "y.migration.v2.MigrationSubtask\022\027\n\017next_" + + "page_token\030\002 \001(\t2\313\014\n\020MigrationService\022\373\001" + + "\n\027CreateMigrationWorkflow\022B.google.cloud" + + ".bigquery.migration.v2.CreateMigrationWo" + + "rkflowRequest\0325.google.cloud.bigquery.mi" + + "gration.v2.MigrationWorkflow\"e\202\323\344\223\002C\"-/v" + + "2/{parent=projects/*/locations/*}/workfl" + + "ows:\022migration_workflow\332A\031parent,migrati" + + "on_workflow\022\314\001\n\024GetMigrationWorkflow\022?.g" + + "oogle.cloud.bigquery.migration.v2.GetMig" + + "rationWorkflowRequest\0325.google.cloud.big" + + "query.migration.v2.MigrationWorkflow\"<\202\323" + + "\344\223\002/\022-/v2/{name=projects/*/locations/*/w" + + "orkflows/*}\332A\004name\022\337\001\n\026ListMigrationWork" + + "flows\022A.google.cloud.bigquery.migration." + + "v2.ListMigrationWorkflowsRequest\032B.googl" + + "e.cloud.bigquery.migration.v2.ListMigrat" + + "ionWorkflowsResponse\">\202\323\344\223\002/\022-/v2/{paren" + + "t=projects/*/locations/*}/workflows\332A\006pa" + + "rent\022\263\001\n\027DeleteMigrationWorkflow\022B.googl" + + "e.cloud.bigquery.migration.v2.DeleteMigr" + + "ationWorkflowRequest\032\026.google.protobuf.E" + + "mpty\"<\202\323\344\223\002/*-/v2/{name=projects/*/locat" + + "ions/*/workflows/*}\332A\004name\022\272\001\n\026StartMigr" + + "ationWorkflow\022A.google.cloud.bigquery.mi" + + "gration.v2.StartMigrationWorkflowRequest" + + "\032\026.google.protobuf.Empty\"E\202\323\344\223\0028\"3/v2/{n" + + "ame=projects/*/locations/*/workflows/*}:" + + "start:\001*\332A\004name\022\324\001\n\023GetMigrationSubtask\022" + + ">.google.cloud.bigquery.migration.v2.Get" + + "MigrationSubtaskRequest\0324.google.cloud.b" + + "igquery.migration.v2.MigrationSubtask\"G\202" + + "\323\344\223\002:\0228/v2/{name=projects/*/locations/*/" + + "workflows/*/subtasks/*}\332A\004name\022\347\001\n\025ListM" + + "igrationSubtasks\022@.google.cloud.bigquery" + + ".migration.v2.ListMigrationSubtasksReque" + + "st\032A.google.cloud.bigquery.migration.v2." + + "ListMigrationSubtasksResponse\"I\202\323\344\223\002:\0228/" + + "v2/{parent=projects/*/locations/*/workfl" + + "ows/*}/subtasks\332A\006parent\032T\312A bigquerymig" + + "ration.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\330\001\n&com.g" + + "oogle.cloud.bigquery.migration.v2B\025Migra" + + "tionServiceProtoP\001ZKgoogle.golang.org/ge" + + "nproto/googleapis/cloud/bigquery/migrati" + + "on/v2;migration\252\002\"Google.Cloud.BigQuery." + + "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" + + "ration\\V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Parent", "MigrationWorkflow", }); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor, + new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor, + new java.lang.String[] { "MigrationWorkflows", "NextPageToken", }); + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor, + new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor, + new java.lang.String[] { "MigrationSubtasks", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java index c5983ab..47561bc 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A subtask for a migration which carries details about the configuration of
  * the subtask. The content of the details should not matter to the end user,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationSubtask}
  */
-public final class MigrationSubtask extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationSubtask extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.MigrationSubtask)
     MigrationSubtaskOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationSubtask.newBuilder() to construct.
   private MigrationSubtask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationSubtask() {
     name_ = "";
     taskId_ = "";
@@ -50,15 +32,16 @@ private MigrationSubtask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationSubtask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationSubtask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,118 +61,99 @@ private MigrationSubtask(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              taskId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            taskId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          case 40:
-            {
-              int rawValue = input.readEnum();
+            type_ = s;
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 50: {
+            com.google.rpc.ErrorInfo.Builder subBuilder = null;
+            if (processingError_ != null) {
+              subBuilder = processingError_.toBuilder();
             }
-          case 50:
-            {
-              com.google.rpc.ErrorInfo.Builder subBuilder = null;
-              if (processingError_ != null) {
-                subBuilder = processingError_.toBuilder();
-              }
-              processingError_ =
-                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(processingError_);
-                processingError_ = subBuilder.buildPartial();
-              }
-
-              break;
+            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(processingError_);
+              processingError_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastUpdateTime_ != null) {
-                subBuilder = lastUpdateTime_.toBuilder();
-              }
-              lastUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastUpdateTime_);
-                lastUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                metrics_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              metrics_.add(
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.TimeSeries.parser(),
-                      extensionRegistry));
-              break;
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastUpdateTime_ != null) {
+              subBuilder = lastUpdateTime_.toBuilder();
             }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                resourceErrorDetails_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.bigquery.migration.v2.ResourceErrorDetail>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              resourceErrorDetails_.add(
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.parser(),
-                      extensionRegistry));
-              break;
+            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastUpdateTime_);
+              lastUpdateTime_ = subBuilder.buildPartial();
             }
-          case 104:
-            {
-              resourceErrorCount_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 90: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              metrics_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            metrics_.add(
+                input.readMessage(com.google.cloud.bigquery.migration.v2.TimeSeries.parser(), extensionRegistry));
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              resourceErrorDetails_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
+            resourceErrorDetails_.add(
+                input.readMessage(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.parser(), extensionRegistry));
+            break;
+          }
+          case 104: {
+
+            resourceErrorCount_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -197,7 +161,8 @@ private MigrationSubtask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         metrics_ = java.util.Collections.unmodifiableList(metrics_);
@@ -209,35 +174,29 @@ private MigrationSubtask(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.MigrationSubtask.class,
-            com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
+            com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a migration subtask.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.MigrationSubtask.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unspecified.
      * 
@@ -246,8 +205,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -256,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -266,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The subtask finished successfully.
      * 
@@ -276,8 +229,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The subtask finished unsuccessfully.
      * 
@@ -286,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -300,8 +249,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -310,8 +257,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -320,8 +265,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -330,8 +273,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The subtask finished successfully.
      * 
@@ -340,8 +281,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The subtask finished unsuccessfully.
      * 
@@ -350,8 +289,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -361,6 +298,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -385,57 +323,52 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return ACTIVE;
-        case 2:
-          return RUNNING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        case 5:
-          return PAUSED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return ACTIVE;
+        case 2: return RUNNING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        case 5: return PAUSED;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -455,18 +388,13 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ @java.lang.Override @@ -475,33 +403,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,14 +438,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TASK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object taskId_; /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The taskId. */ @java.lang.Override @@ -528,29 +451,29 @@ public java.lang.String getTaskId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; } } /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The bytes for taskId. */ @java.lang.Override - public com.google.protobuf.ByteString getTaskIdBytes() { + public com.google.protobuf.ByteString + getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taskId_ = b; return b; } else { @@ -561,8 +484,6 @@ public com.google.protobuf.ByteString getTaskIdBytes() { public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -571,7 +492,6 @@ public com.google.protobuf.ByteString getTaskIdBytes() {
    * 
* * string type = 3; - * * @return The type. */ @java.lang.Override @@ -580,15 +500,14 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -597,15 +516,16 @@ public java.lang.String getType() {
    * 
* * string type = 3; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -616,58 +536,39 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = - com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 6; private com.google.rpc.ErrorInfo processingError_; /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ @java.lang.Override @@ -675,34 +576,25 @@ public boolean hasProcessingError() { return processingError_ != null; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -710,104 +602,78 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { } public static final int RESOURCE_ERROR_DETAILS_FIELD_NUMBER = 12; - private java.util.List - resourceErrorDetails_; + private java.util.List resourceErrorDetails_; /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getResourceErrorDetailsList() { + public java.util.List getResourceErrorDetailsList() { return resourceErrorDetails_; } /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> + public java.util.List getResourceErrorDetailsOrBuilderList() { return resourceErrorDetails_; } /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getResourceErrorDetailsCount() { return resourceErrorDetails_.size(); } /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails( - int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails(int index) { return resourceErrorDetails_.get(index); } /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder - getResourceErrorDetailsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( + int index) { return resourceErrorDetails_.get(index); } public static final int RESOURCE_ERROR_COUNT_FIELD_NUMBER = 13; private int resourceErrorCount_; /** - * - * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -816,7 +682,6 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErr
    * 
* * int32 resource_error_count = 13; - * * @return The resourceErrorCount. */ @java.lang.Override @@ -827,14 +692,11 @@ public int getResourceErrorCount() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -842,14 +704,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ @java.lang.Override @@ -857,8 +716,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the subtask was created.
    * 
@@ -873,14 +730,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -888,25 +742,18 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Time when the subtask was last updated.
    * 
@@ -921,8 +768,6 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { public static final int METRICS_FIELD_NUMBER = 11; private java.util.List metrics_; /** - * - * *
    * The metrics for the subtask.
    * 
@@ -934,8 +779,6 @@ public java.util.List getMetr return metrics_; } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -943,13 +786,11 @@ public java.util.List getMetr * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -961,8 +802,6 @@ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -974,8 +813,6 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index) { return metrics_.get(index); } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -983,12 +820,12 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index) { * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder( + int index) { return metrics_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1000,7 +837,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1010,9 +848,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } - if (state_ - != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (processingError_ != null) { @@ -1051,30 +887,33 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } - if (state_ - != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + if (state_ != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProcessingError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getLastUpdateTime()); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, metrics_.get(i)); } for (int i = 0; i < resourceErrorDetails_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, resourceErrorDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, resourceErrorDetails_.get(i)); } if (resourceErrorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, resourceErrorCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, resourceErrorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1084,33 +923,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.MigrationSubtask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.MigrationSubtask other = - (com.google.cloud.bigquery.migration.v2.MigrationSubtask) obj; + com.google.cloud.bigquery.migration.v2.MigrationSubtask other = (com.google.cloud.bigquery.migration.v2.MigrationSubtask) obj; - if (!getName().equals(other.getName())) return false; - if (!getTaskId().equals(other.getTaskId())) return false; - if (!getType().equals(other.getType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTaskId() + .equals(other.getTaskId())) return false; + if (!getType() + .equals(other.getType())) return false; if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError().equals(other.getProcessingError())) return false; + if (!getProcessingError() + .equals(other.getProcessingError())) return false; } - if (!getResourceErrorDetailsList().equals(other.getResourceErrorDetailsList())) return false; - if (getResourceErrorCount() != other.getResourceErrorCount()) return false; + if (!getResourceErrorDetailsList() + .equals(other.getResourceErrorDetailsList())) return false; + if (getResourceErrorCount() + != other.getResourceErrorCount()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } - if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1158,104 +1005,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.MigrationSubtask prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.MigrationSubtask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A subtask for a migration which carries details about the configuration of
    * the subtask. The content of the details should not matter to the end user,
@@ -1264,23 +1103,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationSubtask}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.MigrationSubtask)
       com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.MigrationSubtask.class,
-              com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
+              com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.MigrationSubtask.newBuilder()
@@ -1288,18 +1125,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getResourceErrorDetailsFieldBuilder();
         getMetricsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1347,9 +1184,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
@@ -1368,8 +1205,7 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.MigrationSubtask buildPartial() {
-      com.google.cloud.bigquery.migration.v2.MigrationSubtask result =
-          new com.google.cloud.bigquery.migration.v2.MigrationSubtask(this);
+      com.google.cloud.bigquery.migration.v2.MigrationSubtask result = new com.google.cloud.bigquery.migration.v2.MigrationSubtask(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.taskId_ = taskId_;
@@ -1417,39 +1253,38 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.MigrationSubtask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationSubtask) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationSubtask)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1457,8 +1292,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationSubtask other) {
-      if (other == com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1495,10 +1329,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationSubtask
             resourceErrorDetailsBuilder_ = null;
             resourceErrorDetails_ = other.resourceErrorDetails_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceErrorDetailsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResourceErrorDetailsFieldBuilder()
-                    : null;
+            resourceErrorDetailsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResourceErrorDetailsFieldBuilder() : null;
           } else {
             resourceErrorDetailsBuilder_.addAllMessages(other.resourceErrorDetails_);
           }
@@ -1531,10 +1364,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationSubtask
             metricsBuilder_ = null;
             metrics_ = other.metrics_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getMetricsFieldBuilder()
-                    : null;
+            metricsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getMetricsFieldBuilder() : null;
           } else {
             metricsBuilder_.addAllMessages(other.metrics_);
           }
@@ -1559,8 +1391,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.MigrationSubtask) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.MigrationSubtask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1569,29 +1400,24 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1600,25 +1426,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1626,73 +1449,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1700,20 +1510,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object taskId_ = ""; /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @return The taskId. */ public java.lang.String getTaskId() { java.lang.Object ref = taskId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; @@ -1722,21 +1530,20 @@ public java.lang.String getTaskId() { } } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @return The bytes for taskId. */ - public com.google.protobuf.ByteString getTaskIdBytes() { + public com.google.protobuf.ByteString + getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taskId_ = b; return b; } else { @@ -1744,61 +1551,54 @@ public com.google.protobuf.ByteString getTaskIdBytes() { } } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @param value The taskId to set. * @return This builder for chaining. */ - public Builder setTaskId(java.lang.String value) { + public Builder setTaskId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + taskId_ = value; onChanged(); return this; } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @return This builder for chaining. */ public Builder clearTaskId() { - + taskId_ = getDefaultInstance().getTaskId(); onChanged(); return this; } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @param value The bytes for taskId to set. * @return This builder for chaining. */ - public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { + public Builder setTaskIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + taskId_ = value; onChanged(); return this; @@ -1806,8 +1606,6 @@ public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1816,13 +1614,13 @@ public Builder setTaskIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string type = 3; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1831,8 +1629,6 @@ public java.lang.String getType() { } } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1841,14 +1637,15 @@ public java.lang.String getType() {
      * 
* * string type = 3; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1856,8 +1653,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1866,22 +1661,20 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string type = 3; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1890,18 +1683,15 @@ public Builder setType(java.lang.String value) {
      * 
* * string type = 3; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1910,16 +1700,16 @@ public Builder clearType() {
      * 
* * string type = 3; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1927,75 +1717,51 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = - com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2003,26 +1769,21 @@ public Builder setState(com.google.cloud.bigquery.migration.v2.MigrationSubtask. if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2030,61 +1791,42 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> - processingErrorBuilder_; + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -2100,18 +1842,15 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError( + com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -2122,22 +1861,18 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForVal return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -2149,16 +1884,12 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -2172,105 +1903,78 @@ public Builder clearProcessingError() { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? + com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), getParentForChildren(), isClean()); + processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), + getParentForChildren(), + isClean()); processingError_ = null; } return processingErrorBuilder_; } - private java.util.List - resourceErrorDetails_ = java.util.Collections.emptyList(); - + private java.util.List resourceErrorDetails_ = + java.util.Collections.emptyList(); private void ensureResourceErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceErrorDetails_ = - new java.util.ArrayList( - resourceErrorDetails_); + resourceErrorDetails_ = new java.util.ArrayList(resourceErrorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> - resourceErrorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> resourceErrorDetailsBuilder_; /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getResourceErrorDetailsList() { + public java.util.List getResourceErrorDetailsList() { if (resourceErrorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceErrorDetails_); } else { @@ -2278,17 +1982,13 @@ private void ensureResourceErrorDetailsIsMutable() { } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getResourceErrorDetailsCount() { if (resourceErrorDetailsBuilder_ == null) { @@ -2298,20 +1998,15 @@ public int getResourceErrorDetailsCount() { } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails( - int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails(int index) { if (resourceErrorDetailsBuilder_ == null) { return resourceErrorDetails_.get(index); } else { @@ -2319,17 +2014,13 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErr } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { @@ -2346,21 +2037,16 @@ public Builder setResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResourceErrorDetails( - int index, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.set(index, builderForValue.build()); @@ -2371,20 +2057,15 @@ public Builder setResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addResourceErrorDetails( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { + public Builder addResourceErrorDetails(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { if (resourceErrorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2398,17 +2079,13 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { @@ -2425,17 +2102,13 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResourceErrorDetails( com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { @@ -2449,21 +2122,16 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResourceErrorDetails( - int index, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.add(index, builderForValue.build()); @@ -2474,24 +2142,20 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllResourceErrorDetails( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceErrorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceErrorDetails_); onChanged(); } else { resourceErrorDetailsBuilder_.addAllMessages(values); @@ -2499,17 +2163,13 @@ public Builder addAllResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearResourceErrorDetails() { if (resourceErrorDetailsBuilder_ == null) { @@ -2522,17 +2182,13 @@ public Builder clearResourceErrorDetails() { return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeResourceErrorDetails(int index) { if (resourceErrorDetailsBuilder_ == null) { @@ -2545,59 +2201,45 @@ public Builder removeResourceErrorDetails(int index) { return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder - getResourceErrorDetailsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder getResourceErrorDetailsBuilder( + int index) { return getResourceErrorDetailsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder - getResourceErrorDetailsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( + int index) { if (resourceErrorDetailsBuilder_ == null) { - return resourceErrorDetails_.get(index); - } else { + return resourceErrorDetails_.get(index); } else { return resourceErrorDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> - getResourceErrorDetailsOrBuilderList() { + public java.util.List + getResourceErrorDetailsOrBuilderList() { if (resourceErrorDetailsBuilder_ != null) { return resourceErrorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -2605,73 +2247,51 @@ public Builder removeResourceErrorDetails(int index) { } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder - addResourceErrorDetailsBuilder() { - return getResourceErrorDetailsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder() { + return getResourceErrorDetailsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder - addResourceErrorDetailsBuilder(int index) { - return getResourceErrorDetailsFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder( + int index) { + return getResourceErrorDetailsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); } /** - * - * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getResourceErrorDetailsBuilderList() { + public java.util.List + getResourceErrorDetailsBuilderList() { return getResourceErrorDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> getResourceErrorDetailsFieldBuilder() { if (resourceErrorDetailsBuilder_ == null) { - resourceErrorDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder>( + resourceErrorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder>( resourceErrorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2681,10 +2301,8 @@ public Builder removeResourceErrorDetails(int index) { return resourceErrorDetailsBuilder_; } - private int resourceErrorCount_; + private int resourceErrorCount_ ; /** - * - * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2693,7 +2311,6 @@ public Builder removeResourceErrorDetails(int index) {
      * 
* * int32 resource_error_count = 13; - * * @return The resourceErrorCount. */ @java.lang.Override @@ -2701,8 +2318,6 @@ public int getResourceErrorCount() { return resourceErrorCount_; } /** - * - * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2711,19 +2326,16 @@ public int getResourceErrorCount() {
      * 
* * int32 resource_error_count = 13; - * * @param value The resourceErrorCount to set. * @return This builder for chaining. */ public Builder setResourceErrorCount(int value) { - + resourceErrorCount_ = value; onChanged(); return this; } /** - * - * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2732,11 +2344,10 @@ public Builder setResourceErrorCount(int value) {
      * 
* * int32 resource_error_count = 13; - * * @return This builder for chaining. */ public Builder clearResourceErrorCount() { - + resourceErrorCount_ = 0; onChanged(); return this; @@ -2744,47 +2355,34 @@ public Builder clearResourceErrorCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2805,15 +2403,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2824,8 +2421,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2836,7 +2431,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2848,8 +2443,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2868,8 +2461,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2877,13 +2468,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 7; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2894,14 +2483,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2909,17 +2495,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2927,47 +2510,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -2988,15 +2558,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -3007,8 +2576,6 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3019,9 +2586,7 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -3033,8 +2598,6 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3053,8 +2616,6 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3062,13 +2623,11 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 8; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3079,14 +2638,11 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3094,42 +2650,32 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = - new java.util.ArrayList(metrics_); + metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeSeries, - com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, - com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> - metricsBuilder_; + com.google.cloud.bigquery.migration.v2.TimeSeries, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> metricsBuilder_; /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3144,8 +2690,6 @@ public java.util.List getMetr } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3160,8 +2704,6 @@ public int getMetricsCount() { } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3176,15 +2718,14 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index) { } } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public Builder setMetrics(int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { + public Builder setMetrics( + int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3198,8 +2739,6 @@ public Builder setMetrics(int index, com.google.cloud.bigquery.migration.v2.Time return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3218,8 +2757,6 @@ public Builder setMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3240,15 +2777,14 @@ public Builder addMetrics(com.google.cloud.bigquery.migration.v2.TimeSeries valu return this; } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public Builder addMetrics(int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { + public Builder addMetrics( + int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3262,8 +2798,6 @@ public Builder addMetrics(int index, com.google.cloud.bigquery.migration.v2.Time return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3282,8 +2816,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3302,8 +2834,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3314,7 +2844,8 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -3322,8 +2853,6 @@ public Builder addAllMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3341,8 +2870,6 @@ public Builder clearMetrics() { return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3360,20 +2887,17 @@ public Builder removeMetrics(int index) { return this; } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder getMetricsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder getMetricsBuilder( + int index) { return getMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3383,22 +2907,19 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder getMetricsBuild public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder( int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { + return metrics_.get(index); } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -3406,8 +2927,6 @@ public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBu } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3415,56 +2934,49 @@ public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBu * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); + return getMetricsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder addMetricsBuilder( + int index) { + return getMetricsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeSeries, - com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, - com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> + com.google.cloud.bigquery.migration.v2.TimeSeries, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeSeries, - com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, - com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TimeSeries, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder>( + metrics_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); metrics_ = null; } return metricsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3474,12 +2986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.MigrationSubtask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.MigrationSubtask) private static final com.google.cloud.bigquery.migration.v2.MigrationSubtask DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.MigrationSubtask(); } @@ -3488,16 +3000,16 @@ public static com.google.cloud.bigquery.migration.v2.MigrationSubtask getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSubtask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationSubtask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSubtask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationSubtask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3512,4 +3024,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.MigrationSubtask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java similarity index 100% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java index cc61a02..442e633 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java @@ -1,89 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; -public interface MigrationSubtaskOrBuilder - extends +public interface MigrationSubtaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationSubtask) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The taskId. */ java.lang.String getTaskId(); /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The bytes for taskId. */ - com.google.protobuf.ByteString getTaskIdBytes(); + com.google.protobuf.ByteString + getTaskIdBytes(); /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -92,13 +60,10 @@ public interface MigrationSubtaskOrBuilder
    * 
* * string type = 3; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -107,158 +72,115 @@ public interface MigrationSubtaskOrBuilder
    * 
* * string type = 3; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getResourceErrorDetailsList(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails(int index); /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getResourceErrorDetailsCount(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getResourceErrorDetailsOrBuilderList(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder - getResourceErrorDetailsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( + int index); /** - * - * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -267,38 +189,29 @@ public interface MigrationSubtaskOrBuilder
    * 
* * int32 resource_error_count = 13; - * * @return The resourceErrorCount. */ int getResourceErrorCount(); /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the subtask was created.
    * 
@@ -308,32 +221,24 @@ public interface MigrationSubtaskOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Time when the subtask was last updated.
    * 
@@ -343,18 +248,15 @@ public interface MigrationSubtaskOrBuilder com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** - * - * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - java.util.List getMetricsList(); + java.util.List + getMetricsList(); /** - * - * *
    * The metrics for the subtask.
    * 
@@ -363,8 +265,6 @@ public interface MigrationSubtaskOrBuilder */ com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index); /** - * - * *
    * The metrics for the subtask.
    * 
@@ -373,24 +273,21 @@ public interface MigrationSubtaskOrBuilder */ int getMetricsCount(); /** - * - * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** - * - * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java index 2824681..be52839 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A single task for a migration which has details about the configuration of
  * the task.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationTask}
  */
-public final class MigrationTask extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationTask extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.MigrationTask)
     MigrationTaskOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationTask.newBuilder() to construct.
   private MigrationTask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationTask() {
     id_ = "";
     type_ = "";
@@ -46,15 +28,16 @@ private MigrationTask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationTask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationTask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,100 +56,84 @@ private MigrationTask(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            id_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
+            type_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            com.google.rpc.ErrorInfo.Builder subBuilder = null;
+            if (processingError_ != null) {
+              subBuilder = processingError_.toBuilder();
+            }
+            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(processingError_);
+              processingError_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.rpc.ErrorInfo.Builder subBuilder = null;
-              if (processingError_ != null) {
-                subBuilder = processingError_.toBuilder();
-              }
-              processingError_ =
-                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(processingError_);
-                processingError_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastUpdateTime_ != null) {
+              subBuilder = lastUpdateTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastUpdateTime_ != null) {
-                subBuilder = lastUpdateTime_.toBuilder();
-              }
-              lastUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastUpdateTime_);
-                lastUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastUpdateTime_);
+              lastUpdateTime_ = subBuilder.buildPartial();
             }
-          case 114:
-            {
-              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder subBuilder =
-                  null;
-              if (taskDetailsCase_ == 14) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_)
-                        .toBuilder();
-              }
-              taskDetails_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_);
-                taskDetails_ = subBuilder.buildPartial();
-              }
-              taskDetailsCase_ = 14;
-              break;
+
+            break;
+          }
+          case 114: {
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder subBuilder = null;
+            if (taskDetailsCase_ == 14) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            taskDetails_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_);
+              taskDetails_ = subBuilder.buildPartial();
+            }
+            taskDetailsCase_ = 14;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -174,41 +141,36 @@ private MigrationTask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.MigrationTask.class,
-            com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
+            com.google.cloud.bigquery.migration.v2.MigrationTask.class, com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a migration task.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.MigrationTask.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unspecified.
      * 
@@ -217,8 +179,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The task is waiting for orchestration.
      * 
@@ -227,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The task is assigned to an orchestrator.
      * 
@@ -237,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ORCHESTRATING(2), /** - * - * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -247,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(3), /** - * - * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -258,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(4),
     /**
-     *
-     *
      * 
      * The task finished successfully.
      * 
@@ -268,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(5), /** - * - * *
      * The task finished unsuccessfully.
      * 
@@ -281,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state is unspecified.
      * 
@@ -291,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The task is waiting for orchestration.
      * 
@@ -301,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The task is assigned to an orchestrator.
      * 
@@ -311,8 +255,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORCHESTRATING_VALUE = 2; /** - * - * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -321,8 +263,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 3; /** - * - * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -332,8 +272,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 4;
     /**
-     *
-     *
      * 
      * The task finished successfully.
      * 
@@ -342,8 +280,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 5; /** - * - * *
      * The task finished unsuccessfully.
      * 
@@ -352,6 +288,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -376,59 +313,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return ORCHESTRATING; - case 3: - return RUNNING; - case 4: - return PAUSED; - case 5: - return SUCCEEDED; - case 6: - return FAILED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return ORCHESTRATING; + case 3: return RUNNING; + case 4: return PAUSED; + case 5: return SUCCEEDED; + case 6: return FAILED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationTask.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationTask.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -447,15 +378,12 @@ private State(int value) { private int taskDetailsCase_ = 0; private java.lang.Object taskDetails_; - public enum TaskDetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSLATION_CONFIG_DETAILS(14), TASKDETAILS_NOT_SET(0); private final int value; - private TaskDetailsCase(int value) { this.value = value; } @@ -471,36 +399,29 @@ public static TaskDetailsCase valueOf(int value) { public static TaskDetailsCase forNumber(int value) { switch (value) { - case 14: - return TRANSLATION_CONFIG_DETAILS; - case 0: - return TASKDETAILS_NOT_SET; - default: - return null; + case 14: return TRANSLATION_CONFIG_DETAILS; + case 0: return TASKDETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TaskDetailsCase getTaskDetailsCase() { - return TaskDetailsCase.forNumber(taskDetailsCase_); + public TaskDetailsCase + getTaskDetailsCase() { + return TaskDetailsCase.forNumber( + taskDetailsCase_); } public static final int TRANSLATION_CONFIG_DETAILS_FIELD_NUMBER = 14; /** - * - * *
    * Task configuration for Batch SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; * @return Whether the translationConfigDetails field is set. */ @java.lang.Override @@ -508,42 +429,31 @@ public boolean hasTranslationConfigDetails() { return taskDetailsCase_ == 14; } /** - * - * *
    * Task configuration for Batch SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; * @return The translationConfigDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails - getTranslationConfigDetails() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails() { if (taskDetailsCase_ == 14) { - return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); } /** - * - * *
    * Task configuration for Batch SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder - getTranslationConfigDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder() { if (taskDetailsCase_ == 14) { - return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); } @@ -551,17 +461,12 @@ public boolean hasTranslationConfigDetails() { public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The id. */ @java.lang.Override @@ -570,32 +475,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -606,19 +509,16 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** - * - * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
    * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
    * Translation_Snowflake2BQ, Translation_Netezza2BQ,
    * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-   * Translation_SQLServer2BQ.
+   * Translation_SQLServer2BQ, Translation_Presto2BQ.
    * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -627,34 +527,34 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
    * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
    * Translation_Snowflake2BQ, Translation_Netezza2BQ,
    * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-   * Translation_SQLServer2BQ.
+   * Translation_SQLServer2BQ, Translation_Presto2BQ.
    * 
* * string type = 2; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -665,58 +565,39 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationTask.State getState() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationTask.State result = - com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.MigrationTask.State result = com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 5; private com.google.rpc.ErrorInfo processingError_; /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ @java.lang.Override @@ -724,34 +605,25 @@ public boolean hasProcessingError() { return processingError_ != null; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -761,14 +633,11 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -776,14 +645,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -791,8 +657,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the task was created.
    * 
@@ -807,14 +671,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -822,25 +683,18 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Time when the task was last updated.
    * 
@@ -853,7 +707,6 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -865,16 +718,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); } - if (state_ - != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (processingError_ != null) { @@ -887,8 +739,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(7, getLastUpdateTime()); } if (taskDetailsCase_ == 14) { - output.writeMessage( - 14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); + output.writeMessage(14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); } unknownFields.writeTo(output); } @@ -905,24 +756,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } - if (state_ - != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProcessingError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLastUpdateTime()); } if (taskDetailsCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -932,34 +784,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.MigrationTask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.MigrationTask other = - (com.google.cloud.bigquery.migration.v2.MigrationTask) obj; + com.google.cloud.bigquery.migration.v2.MigrationTask other = (com.google.cloud.bigquery.migration.v2.MigrationTask) obj; - if (!getId().equals(other.getId())) return false; - if (!getType().equals(other.getType())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getType() + .equals(other.getType())) return false; if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError().equals(other.getProcessingError())) return false; + if (!getProcessingError() + .equals(other.getProcessingError())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } if (!getTaskDetailsCase().equals(other.getTaskDetailsCase())) return false; switch (taskDetailsCase_) { case 14: - if (!getTranslationConfigDetails().equals(other.getTranslationConfigDetails())) - return false; + if (!getTranslationConfigDetails() + .equals(other.getTranslationConfigDetails())) return false; break; case 0: default: @@ -1007,103 +863,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.MigrationTask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single task for a migration which has details about the configuration of
    * the task.
@@ -1111,23 +960,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationTask}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.MigrationTask)
       com.google.cloud.bigquery.migration.v2.MigrationTaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.MigrationTask.class,
-              com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
+              com.google.cloud.bigquery.migration.v2.MigrationTask.class, com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.MigrationTask.newBuilder()
@@ -1135,15 +982,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1177,9 +1025,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
     }
 
     @java.lang.Override
@@ -1198,8 +1046,7 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.MigrationTask buildPartial() {
-      com.google.cloud.bigquery.migration.v2.MigrationTask result =
-          new com.google.cloud.bigquery.migration.v2.MigrationTask(this);
+      com.google.cloud.bigquery.migration.v2.MigrationTask result = new com.google.cloud.bigquery.migration.v2.MigrationTask(this);
       if (taskDetailsCase_ == 14) {
         if (translationConfigDetailsBuilder_ == null) {
           result.taskDetails_ = taskDetails_;
@@ -1234,39 +1081,38 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.MigrationTask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationTask) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationTask)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1274,8 +1120,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationTask other) {
-      if (other == com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         onChanged();
@@ -1297,15 +1142,13 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationTask ot
         mergeLastUpdateTime(other.getLastUpdateTime());
       }
       switch (other.getTaskDetailsCase()) {
-        case TRANSLATION_CONFIG_DETAILS:
-          {
-            mergeTranslationConfigDetails(other.getTranslationConfigDetails());
-            break;
-          }
-        case TASKDETAILS_NOT_SET:
-          {
-            break;
-          }
+        case TRANSLATION_CONFIG_DETAILS: {
+          mergeTranslationConfigDetails(other.getTranslationConfigDetails());
+          break;
+        }
+        case TASKDETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1326,8 +1169,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.MigrationTask) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.MigrationTask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1336,12 +1178,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int taskDetailsCase_ = 0;
     private java.lang.Object taskDetails_;
-
-    public TaskDetailsCase getTaskDetailsCase() {
-      return TaskDetailsCase.forNumber(taskDetailsCase_);
+    public TaskDetailsCase
+        getTaskDetailsCase() {
+      return TaskDetailsCase.forNumber(
+          taskDetailsCase_);
     }
 
     public Builder clearTaskDetails() {
@@ -1351,22 +1193,15 @@ public Builder clearTaskDetails() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails,
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder,
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder>
-        translationConfigDetailsBuilder_;
+        com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder> translationConfigDetailsBuilder_;
     /**
-     *
-     *
      * 
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; * @return Whether the translationConfigDetails field is set. */ @java.lang.Override @@ -1374,21 +1209,15 @@ public boolean hasTranslationConfigDetails() { return taskDetailsCase_ == 14; } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; * @return The translationConfigDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails - getTranslationConfigDetails() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails() { if (translationConfigDetailsBuilder_ == null) { if (taskDetailsCase_ == 14) { return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; @@ -1402,18 +1231,13 @@ public boolean hasTranslationConfigDetails() { } } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ - public Builder setTranslationConfigDetails( - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { + public Builder setTranslationConfigDetails(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { if (translationConfigDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1427,15 +1251,11 @@ public Builder setTranslationConfigDetails( return this; } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ public Builder setTranslationConfigDetails( com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder builderForValue) { @@ -1449,29 +1269,18 @@ public Builder setTranslationConfigDetails( return this; } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ - public Builder mergeTranslationConfigDetails( - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { + public Builder mergeTranslationConfigDetails(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { if (translationConfigDetailsBuilder_ == null) { - if (taskDetailsCase_ == 14 - && taskDetails_ - != com.google.cloud.bigquery.migration.v2.TranslationConfigDetails - .getDefaultInstance()) { - taskDetails_ = - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.newBuilder( - (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) - taskDetails_) - .mergeFrom(value) - .buildPartial(); + if (taskDetailsCase_ == 14 && + taskDetails_ != com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance()) { + taskDetails_ = com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.newBuilder((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_) + .mergeFrom(value).buildPartial(); } else { taskDetails_ = value; } @@ -1487,15 +1296,11 @@ public Builder mergeTranslationConfigDetails( return this; } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ public Builder clearTranslationConfigDetails() { if (translationConfigDetailsBuilder_ == null) { @@ -1514,34 +1319,24 @@ public Builder clearTranslationConfigDetails() { return this; } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder - getTranslationConfigDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder getTranslationConfigDetailsBuilder() { return getTranslationConfigDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder - getTranslationConfigDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder() { if ((taskDetailsCase_ == 14) && (translationConfigDetailsBuilder_ != null)) { return translationConfigDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1552,61 +1347,46 @@ public Builder clearTranslationConfigDetails() { } } /** - * - * *
      * Task configuration for Batch SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, - com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder> getTranslationConfigDetailsFieldBuilder() { if (translationConfigDetailsBuilder_ == null) { if (!(taskDetailsCase_ == 14)) { - taskDetails_ = - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); + taskDetails_ = com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); } - translationConfigDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, - com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder>( + translationConfigDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder>( (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_, getParentForChildren(), isClean()); taskDetails_ = null; } taskDetailsCase_ = 14; - onChanged(); - ; + onChanged();; return translationConfigDetailsBuilder_; } private java.lang.Object id_ = ""; /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1615,24 +1395,21 @@ public java.lang.String getId() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1640,70 +1417,57 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -1711,25 +1475,23 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
      * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
      * Translation_Snowflake2BQ, Translation_Netezza2BQ,
      * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-     * Translation_SQLServer2BQ.
+     * Translation_SQLServer2BQ, Translation_Presto2BQ.
      * 
* * string type = 2; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1738,26 +1500,25 @@ public java.lang.String getType() { } } /** - * - * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
      * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
      * Translation_Snowflake2BQ, Translation_Netezza2BQ,
      * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-     * Translation_SQLServer2BQ.
+     * Translation_SQLServer2BQ, Translation_Presto2BQ.
      * 
* * string type = 2; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1765,76 +1526,69 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
      * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
      * Translation_Snowflake2BQ, Translation_Netezza2BQ,
      * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-     * Translation_SQLServer2BQ.
+     * Translation_SQLServer2BQ, Translation_Presto2BQ.
      * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
      * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
      * Translation_Snowflake2BQ, Translation_Netezza2BQ,
      * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-     * Translation_SQLServer2BQ.
+     * Translation_SQLServer2BQ, Translation_Presto2BQ.
      * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
      * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
      * Translation_Snowflake2BQ, Translation_Netezza2BQ,
      * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-     * Translation_SQLServer2BQ.
+     * Translation_SQLServer2BQ, Translation_Presto2BQ.
      * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1842,75 +1596,51 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationTask.State result = - com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.MigrationTask.State result = com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1918,26 +1648,21 @@ public Builder setState(com.google.cloud.bigquery.migration.v2.MigrationTask.Sta if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1945,61 +1670,42 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> - processingErrorBuilder_; + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -2015,18 +1721,15 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError( + com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -2037,22 +1740,18 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForVal return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -2064,16 +1763,12 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -2087,67 +1782,51 @@ public Builder clearProcessingError() { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? + com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), getParentForChildren(), isClean()); + processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), + getParentForChildren(), + isClean()); processingError_ = null; } return processingErrorBuilder_; @@ -2155,47 +1834,34 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the task was created.
      * 
@@ -2216,15 +1882,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2235,8 +1900,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the task was created.
      * 
@@ -2247,7 +1910,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2259,8 +1922,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was created.
      * 
@@ -2279,8 +1940,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the task was created.
      * 
@@ -2288,13 +1947,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the task was created.
      * 
@@ -2305,14 +1962,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the task was created.
      * 
@@ -2320,17 +1974,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2338,47 +1989,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -2399,15 +2037,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2418,8 +2055,6 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -2430,9 +2065,7 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -2444,8 +2077,6 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -2464,8 +2095,6 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -2473,13 +2102,11 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 7; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -2490,14 +2117,11 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -2505,24 +2129,21 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2532,12 +2153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.MigrationTask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.MigrationTask) private static final com.google.cloud.bigquery.migration.v2.MigrationTask DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.MigrationTask(); } @@ -2546,16 +2167,16 @@ public static com.google.cloud.bigquery.migration.v2.MigrationTask getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationTask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationTask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2570,4 +2191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.MigrationTask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java index 13e2c9d..79a3391 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java @@ -1,233 +1,159 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; -public interface MigrationTaskOrBuilder - extends +public interface MigrationTaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationTask) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Task configuration for Batch SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; * @return Whether the translationConfigDetails field is set. */ boolean hasTranslationConfigDetails(); /** - * - * *
    * Task configuration for Batch SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; * @return The translationConfigDetails. */ com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails(); /** - * - * *
    * Task configuration for Batch SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; - * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; */ - com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder - getTranslationConfigDetailsOrBuilder(); + com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder(); /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The id. */ java.lang.String getId(); /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
    * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
    * Translation_Snowflake2BQ, Translation_Netezza2BQ,
    * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-   * Translation_SQLServer2BQ.
+   * Translation_SQLServer2BQ, Translation_Presto2BQ.
    * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
    * Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
    * Translation_Snowflake2BQ, Translation_Netezza2BQ,
    * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
-   * Translation_SQLServer2BQ.
+   * Translation_SQLServer2BQ, Translation_Presto2BQ.
    * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.migration.v2.MigrationTask.State getState(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the task was created.
    * 
@@ -237,32 +163,24 @@ public interface MigrationTaskOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Time when the task was last updated.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java index 75c8ebf..944fcaa 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A migration workflow which specifies what needs to be done for an EDW
  * migration.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationWorkflow}
  */
-public final class MigrationWorkflow extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationWorkflow extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.MigrationWorkflow)
     MigrationWorkflowOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationWorkflow.newBuilder() to construct.
   private MigrationWorkflow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationWorkflow() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private MigrationWorkflow() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationWorkflow();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationWorkflow(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,80 +57,70 @@ private MigrationWorkflow(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tasks_ =
-                    com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask>
-                  tasks__ =
-                      input.readMessage(
-                          TasksDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              tasks_.getMutableMap().put(tasks__.getKey(), tasks__.getValue());
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tasks_ = com.google.protobuf.MapField.newMapField(
+                  TasksDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            com.google.protobuf.MapEntry
+            tasks__ = input.readMessage(
+                TasksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            tasks_.getMutableMap().put(
+                tasks__.getKey(), tasks__.getValue());
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastUpdateTime_ != null) {
-                subBuilder = lastUpdateTime_.toBuilder();
-              }
-              lastUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastUpdateTime_);
-                lastUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastUpdateTime_ != null) {
+              subBuilder = lastUpdateTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastUpdateTime_);
+              lastUpdateTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -155,52 +128,48 @@ private MigrationWorkflow(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetTasks();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
-            com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
+            com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible migration workflow states.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.MigrationWorkflow.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Workflow state is unspecified.
      * 
@@ -209,8 +178,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -220,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DRAFT(1),
     /**
-     *
-     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -230,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -241,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(3),
     /**
-     *
-     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -256,8 +217,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Workflow state is unspecified.
      * 
@@ -266,8 +225,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -277,8 +234,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DRAFT_VALUE = 1;
     /**
-     *
-     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -287,8 +242,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -298,8 +251,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -310,6 +261,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMPLETED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -334,55 +286,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return DRAFT;
-        case 2:
-          return RUNNING;
-        case 3:
-          return PAUSED;
-        case 4:
-          return COMPLETED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return DRAFT;
+        case 2: return RUNNING;
+        case 3: return PAUSED;
+        case 4: return COMPLETED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -402,18 +350,13 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ @java.lang.Override @@ -422,33 +365,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -459,15 +400,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The displayName. */ @java.lang.Override @@ -476,30 +414,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -508,31 +446,24 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int TASKS_FIELD_NUMBER = 2; - private static final class TasksDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - defaultEntry = + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto - .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance()); } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - tasks_; - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> tasks_; + private com.google.protobuf.MapField + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TasksDefaultEntryHolder.defaultEntry); } return tasks_; } @@ -541,8 +472,6 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -551,23 +480,22 @@ public int getTasksCount() {
    *
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
+
   @java.lang.Override
-  public boolean containsTasks(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsTasks(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetTasks().getMap().containsKey(key);
   }
-  /** Use {@link #getTasksMap()} instead. */
+  /**
+   * Use {@link #getTasksMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getTasks() {
+  public java.util.Map getTasks() {
     return getTasksMap();
   }
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -577,13 +505,11 @@ public boolean containsTasks(java.lang.String key) {
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   @java.lang.Override
-  public java.util.Map
-      getTasksMap() {
+
+  public java.util.Map getTasksMap() {
     return internalGetTasks().getMap();
   }
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -593,18 +519,16 @@ public boolean containsTasks(java.lang.String key) {
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   @java.lang.Override
+
   public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
-      java.lang.String key, com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetTasks().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -614,11 +538,10 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   @java.lang.Override
+
   public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
       java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetTasks().getMap();
     if (!map.containsKey(key)) {
@@ -630,56 +553,38 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
   public static final int STATE_FIELD_NUMBER = 3;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -687,14 +592,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ @java.lang.Override @@ -702,8 +604,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the workflow was created.
    * 
@@ -718,14 +618,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -733,25 +630,18 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Time when the workflow was last updated.
    * 
@@ -764,7 +654,6 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -776,15 +665,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTasks(), TasksDefaultEntryHolder.defaultEntry, 2); - if (state_ - != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTasks(), + TasksDefaultEntryHolder.defaultEntry, + 2); + if (state_ != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } if (createTime_ != null) { @@ -808,28 +700,27 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry - entry : internalGetTasks().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - tasks__ = - TasksDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tasks__); - } - if (state_ - != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + for (java.util.Map.Entry entry + : internalGetTasks().getMap().entrySet()) { + com.google.protobuf.MapEntry + tasks__ = TasksDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, tasks__); + } + if (state_ != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getLastUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -842,25 +733,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.MigrationWorkflow)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.MigrationWorkflow other = - (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) obj; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow other = (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetTasks().equals(other.internalGetTasks())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetTasks().equals( + other.internalGetTasks())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -897,104 +792,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.MigrationWorkflow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A migration workflow which specifies what needs to be done for an EDW
    * migration.
@@ -1002,43 +889,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationWorkflow}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.MigrationWorkflow)
       com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetTasks();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableTasks();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
-              com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
+              com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.MigrationWorkflow.newBuilder()
@@ -1046,15 +933,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1081,9 +969,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
     }
 
     @java.lang.Override
@@ -1102,8 +990,7 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.MigrationWorkflow buildPartial() {
-      com.google.cloud.bigquery.migration.v2.MigrationWorkflow result =
-          new com.google.cloud.bigquery.migration.v2.MigrationWorkflow(this);
+      com.google.cloud.bigquery.migration.v2.MigrationWorkflow result = new com.google.cloud.bigquery.migration.v2.MigrationWorkflow(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1128,39 +1015,38 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.MigrationWorkflow) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationWorkflow) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationWorkflow)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1168,8 +1054,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationWorkflow other) {
-      if (other == com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1178,7 +1063,8 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationWorkflo
         displayName_ = other.displayName_;
         onChanged();
       }
-      internalGetMutableTasks().mergeFrom(other.internalGetTasks());
+      internalGetMutableTasks().mergeFrom(
+          other.internalGetTasks());
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1207,8 +1093,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1217,29 +1102,24 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1248,25 +1128,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1274,73 +1151,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1348,21 +1212,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1371,22 +1233,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1394,89 +1255,78 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - tasks_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> tasks_; + private com.google.protobuf.MapField + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TasksDefaultEntryHolder.defaultEntry); } return tasks_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> - internalGetMutableTasks() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableTasks() { + onChanged();; if (tasks_ == null) { - tasks_ = com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry); + tasks_ = com.google.protobuf.MapField.newMapField( + TasksDefaultEntryHolder.defaultEntry); } if (!tasks_.isMutable()) { tasks_ = tasks_.copy(); @@ -1488,8 +1338,6 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1498,23 +1346,22 @@ public int getTasksCount() {
      *
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
+
     @java.lang.Override
-    public boolean containsTasks(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsTasks(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetTasks().getMap().containsKey(key);
     }
-    /** Use {@link #getTasksMap()} instead. */
+    /**
+     * Use {@link #getTasksMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getTasks() {
+    public java.util.Map getTasks() {
       return getTasksMap();
     }
     /**
-     *
-     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1524,13 +1371,11 @@ public boolean containsTasks(java.lang.String key) {
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     @java.lang.Override
-    public java.util.Map
-        getTasksMap() {
+
+    public java.util.Map getTasksMap() {
       return internalGetTasks().getMap();
     }
     /**
-     *
-     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1540,18 +1385,16 @@ public boolean containsTasks(java.lang.String key) {
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     @java.lang.Override
+
     public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
-        java.lang.String key, com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetTasks().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1561,11 +1404,10 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     @java.lang.Override
+
     public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
         java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetTasks().getMap();
       if (!map.containsKey(key)) {
@@ -1575,12 +1417,11 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
     }
 
     public Builder clearTasks() {
-      internalGetMutableTasks().getMutableMap().clear();
+      internalGetMutableTasks().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1589,22 +1430,23 @@ public Builder clearTasks() {
      *
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
-    public Builder removeTasks(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableTasks().getMutableMap().remove(key);
+
+    public Builder removeTasks(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableTasks().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
-        getMutableTasks() {
+    getMutableTasks() {
       return internalGetMutableTasks().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1614,20 +1456,18 @@ public Builder removeTasks(java.lang.String key) {
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     public Builder putTasks(
-        java.lang.String key, com.google.cloud.bigquery.migration.v2.MigrationTask value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.cloud.bigquery.migration.v2.MigrationTask value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableTasks().getMutableMap().put(key, value);
+      internalGetMutableTasks().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1636,84 +1476,61 @@ public Builder putTasks(
      *
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
+
     public Builder putAllTasks(
-        java.util.Map
-            values) {
-      internalGetMutableTasks().getMutableMap().putAll(values);
+        java.util.Map values) {
+      internalGetMutableTasks().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1721,26 +1538,21 @@ public Builder setState(com.google.cloud.bigquery.migration.v2.MigrationWorkflow if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1748,47 +1560,34 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1809,15 +1608,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1828,8 +1626,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1840,7 +1636,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1852,8 +1648,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1872,8 +1666,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1881,13 +1673,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1898,14 +1688,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1913,17 +1700,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1931,47 +1715,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -1992,15 +1763,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2011,8 +1781,6 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2023,9 +1791,7 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -2037,8 +1803,6 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2057,8 +1821,6 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2066,13 +1828,11 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2083,14 +1843,11 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2098,24 +1855,21 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2125,12 +1879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.MigrationWorkflow) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.MigrationWorkflow) private static final com.google.cloud.bigquery.migration.v2.MigrationWorkflow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.MigrationWorkflow(); } @@ -2139,16 +1893,16 @@ public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationWorkflow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationWorkflow(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationWorkflow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationWorkflow(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2163,4 +1917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java similarity index 100% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java index 83506b3..4cfdd95 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java @@ -1,91 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; -public interface MigrationWorkflowOrBuilder - extends +public interface MigrationWorkflowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationWorkflow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -96,8 +64,6 @@ public interface MigrationWorkflowOrBuilder
    */
   int getTasksCount();
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -106,13 +72,15 @@ public interface MigrationWorkflowOrBuilder
    *
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
-  boolean containsTasks(java.lang.String key);
-  /** Use {@link #getTasksMap()} instead. */
+  boolean containsTasks(
+      java.lang.String key);
+  /**
+   * Use {@link #getTasksMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getTasks();
+  java.util.Map
+  getTasks();
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -122,10 +90,8 @@ public interface MigrationWorkflowOrBuilder
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   java.util.Map
-      getTasksMap();
+  getTasksMap();
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -136,13 +102,11 @@ public interface MigrationWorkflowOrBuilder
    */
 
   /* nullable */
-  com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
+com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue);
+com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue);
   /**
-   *
-   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -151,64 +115,48 @@ com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
    *
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
-  com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(java.lang.String key);
+
+  com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState(); /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the workflow was created.
    * 
@@ -218,32 +166,24 @@ com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Time when the workflow was last updated.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java similarity index 73% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java index 242da11..1292e1c 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The potential components of a full name mapping that will be mapped
  * during translation in the source data warehouse.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingKey}
  */
-public final class NameMappingKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NameMappingKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.NameMappingKey)
     NameMappingKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NameMappingKey.newBuilder() to construct.
   private NameMappingKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NameMappingKey() {
     type_ = 0;
     database_ = "";
@@ -48,15 +30,16 @@ private NameMappingKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NameMappingKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NameMappingKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,48 +58,43 @@ private NameMappingKey(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            type_ = rawValue;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              database_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            database_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              schema_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            schema_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              relation_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            relation_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              attribute_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            attribute_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -124,41 +102,36 @@ private NameMappingKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.NameMappingKey.class,
-            com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
+            com.google.cloud.bigquery.migration.v2.NameMappingKey.class, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the object that is being mapped.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.NameMappingKey.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified name mapping type.
      * 
@@ -167,8 +140,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * The object being mapped is a database.
      * 
@@ -177,8 +148,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE(1), /** - * - * *
      * The object being mapped is a schema.
      * 
@@ -187,8 +156,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA(2), /** - * - * *
      * The object being mapped is a relation.
      * 
@@ -197,8 +164,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RELATION(3), /** - * - * *
      * The object being mapped is an attribute.
      * 
@@ -207,8 +172,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ATTRIBUTE(4), /** - * - * *
      * The object being mapped is a relation alias.
      * 
@@ -217,8 +180,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RELATION_ALIAS(5), /** - * - * *
      * The object being mapped is a an attribute alias.
      * 
@@ -227,8 +188,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ATTRIBUTE_ALIAS(6), /** - * - * *
      * The object being mapped is a function.
      * 
@@ -240,8 +199,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified name mapping type.
      * 
@@ -250,8 +207,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The object being mapped is a database.
      * 
@@ -260,8 +215,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_VALUE = 1; /** - * - * *
      * The object being mapped is a schema.
      * 
@@ -270,8 +223,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_VALUE = 2; /** - * - * *
      * The object being mapped is a relation.
      * 
@@ -280,8 +231,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELATION_VALUE = 3; /** - * - * *
      * The object being mapped is an attribute.
      * 
@@ -290,8 +239,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ATTRIBUTE_VALUE = 4; /** - * - * *
      * The object being mapped is a relation alias.
      * 
@@ -300,8 +247,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELATION_ALIAS_VALUE = 5; /** - * - * *
      * The object being mapped is a an attribute alias.
      * 
@@ -310,8 +255,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ATTRIBUTE_ALIAS_VALUE = 6; /** - * - * *
      * The object being mapped is a function.
      * 
@@ -320,6 +263,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FUNCTION_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -344,61 +288,54 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return DATABASE; - case 2: - return SCHEMA; - case 3: - return RELATION; - case 4: - return ATTRIBUTE; - case 5: - return RELATION_ALIAS; - case 6: - return ATTRIBUTE_ALIAS; - case 7: - return FUNCTION; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return DATABASE; + case 2: return SCHEMA; + case 3: return RELATION; + case 4: return ATTRIBUTE; + case 5: return RELATION_ALIAS; + case 6: return ATTRIBUTE_ALIAS; + case 7: return FUNCTION; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.NameMappingKey.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.NameMappingKey.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -418,53 +355,39 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = - com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); - return result == null - ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); + return result == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED : result; } public static final int DATABASE_FIELD_NUMBER = 2; private volatile java.lang.Object database_; /** - * - * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; - * * @return The database. */ @java.lang.Override @@ -473,30 +396,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -507,14 +430,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object schema_; /** - * - * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; - * * @return The schema. */ @java.lang.Override @@ -523,29 +443,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** - * - * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; - * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -556,15 +476,12 @@ public com.google.protobuf.ByteString getSchemaBytes() { public static final int RELATION_FIELD_NUMBER = 4; private volatile java.lang.Object relation_; /** - * - * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; - * * @return The relation. */ @java.lang.Override @@ -573,30 +490,30 @@ public java.lang.String getRelation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; } } /** - * - * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; - * * @return The bytes for relation. */ @java.lang.Override - public com.google.protobuf.ByteString getRelationBytes() { + public com.google.protobuf.ByteString + getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relation_ = b; return b; } else { @@ -607,15 +524,12 @@ public com.google.protobuf.ByteString getRelationBytes() { public static final int ATTRIBUTE_FIELD_NUMBER = 5; private volatile java.lang.Object attribute_; /** - * - * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; - * * @return The attribute. */ @java.lang.Override @@ -624,30 +538,30 @@ public java.lang.String getAttribute() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; } } /** - * - * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; - * * @return The bytes for attribute. */ @java.lang.Override - public com.google.protobuf.ByteString getAttributeBytes() { + public com.google.protobuf.ByteString + getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attribute_ = b; return b; } else { @@ -656,7 +570,6 @@ public com.google.protobuf.ByteString getAttributeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -668,10 +581,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { @@ -695,10 +607,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); @@ -720,19 +631,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.NameMappingKey)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.NameMappingKey other = - (com.google.cloud.bigquery.migration.v2.NameMappingKey) obj; + com.google.cloud.bigquery.migration.v2.NameMappingKey other = (com.google.cloud.bigquery.migration.v2.NameMappingKey) obj; if (type_ != other.type_) return false; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getSchema().equals(other.getSchema())) return false; - if (!getRelation().equals(other.getRelation())) return false; - if (!getAttribute().equals(other.getAttribute())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getRelation() + .equals(other.getRelation())) return false; + if (!getAttribute() + .equals(other.getAttribute())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -760,104 +674,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.NameMappingKey prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.NameMappingKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The potential components of a full name mapping that will be mapped
    * during translation in the source data warehouse.
@@ -865,23 +771,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.NameMappingKey)
       com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.NameMappingKey.class,
-              com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
+              com.google.cloud.bigquery.migration.v2.NameMappingKey.class, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.NameMappingKey.newBuilder()
@@ -889,15 +793,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -915,9 +820,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
     }
 
     @java.lang.Override
@@ -936,8 +841,7 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKey build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.NameMappingKey buildPartial() {
-      com.google.cloud.bigquery.migration.v2.NameMappingKey result =
-          new com.google.cloud.bigquery.migration.v2.NameMappingKey(this);
+      com.google.cloud.bigquery.migration.v2.NameMappingKey result = new com.google.cloud.bigquery.migration.v2.NameMappingKey(this);
       result.type_ = type_;
       result.database_ = database_;
       result.schema_ = schema_;
@@ -951,39 +855,38 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.NameMappingKey) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingKey) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -991,8 +894,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.NameMappingKey other) {
-      if (other == com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance()) return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -1031,8 +933,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.NameMappingKey) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.NameMappingKey) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1044,67 +945,51 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = - com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); - return result == null - ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); + return result == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED : result; } /** - * - * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1112,24 +997,21 @@ public Builder setType(com.google.cloud.bigquery.migration.v2.NameMappingKey.Typ if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1137,21 +1019,19 @@ public Builder clearType() { private java.lang.Object database_ = ""; /** - * - * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1160,22 +1040,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -1183,64 +1062,57 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** - * - * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -1248,20 +1120,18 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object schema_ = ""; /** - * - * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -1270,21 +1140,20 @@ public java.lang.String getSchema() { } } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; - * * @return The bytes for schema. */ - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -1292,61 +1161,54 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; - * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema(java.lang.String value) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; - * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -1354,21 +1216,19 @@ public Builder setSchemaBytes(com.google.protobuf.ByteString value) { private java.lang.Object relation_ = ""; /** - * - * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; - * * @return The relation. */ public java.lang.String getRelation() { java.lang.Object ref = relation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; @@ -1377,22 +1237,21 @@ public java.lang.String getRelation() { } } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; - * * @return The bytes for relation. */ - public com.google.protobuf.ByteString getRelationBytes() { + public com.google.protobuf.ByteString + getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relation_ = b; return b; } else { @@ -1400,64 +1259,57 @@ public com.google.protobuf.ByteString getRelationBytes() { } } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; - * * @param value The relation to set. * @return This builder for chaining. */ - public Builder setRelation(java.lang.String value) { + public Builder setRelation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relation_ = value; onChanged(); return this; } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; - * * @return This builder for chaining. */ public Builder clearRelation() { - + relation_ = getDefaultInstance().getRelation(); onChanged(); return this; } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; - * * @param value The bytes for relation to set. * @return This builder for chaining. */ - public Builder setRelationBytes(com.google.protobuf.ByteString value) { + public Builder setRelationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relation_ = value; onChanged(); return this; @@ -1465,21 +1317,19 @@ public Builder setRelationBytes(com.google.protobuf.ByteString value) { private java.lang.Object attribute_ = ""; /** - * - * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; - * * @return The attribute. */ public java.lang.String getAttribute() { java.lang.Object ref = attribute_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; @@ -1488,22 +1338,21 @@ public java.lang.String getAttribute() { } } /** - * - * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; - * * @return The bytes for attribute. */ - public com.google.protobuf.ByteString getAttributeBytes() { + public com.google.protobuf.ByteString + getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attribute_ = b; return b; } else { @@ -1511,71 +1360,64 @@ public com.google.protobuf.ByteString getAttributeBytes() { } } /** - * - * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; - * * @param value The attribute to set. * @return This builder for chaining. */ - public Builder setAttribute(java.lang.String value) { + public Builder setAttribute( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attribute_ = value; onChanged(); return this; } /** - * - * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; - * * @return This builder for chaining. */ public Builder clearAttribute() { - + attribute_ = getDefaultInstance().getAttribute(); onChanged(); return this; } /** - * - * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; - * * @param value The bytes for attribute to set. * @return This builder for chaining. */ - public Builder setAttributeBytes(com.google.protobuf.ByteString value) { + public Builder setAttributeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attribute_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1585,12 +1427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.NameMappingKey) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.NameMappingKey) private static final com.google.cloud.bigquery.migration.v2.NameMappingKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.NameMappingKey(); } @@ -1599,16 +1441,16 @@ public static com.google.cloud.bigquery.migration.v2.NameMappingKey getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NameMappingKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NameMappingKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NameMappingKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NameMappingKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1623,4 +1465,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.NameMappingKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java index aaf3835..1ebe693 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java @@ -1,156 +1,114 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface NameMappingKeyOrBuilder - extends +public interface NameMappingKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NameMappingKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; - * * @return The type. */ com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType(); /** - * - * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; - * * @return The schema. */ java.lang.String getSchema(); /** - * - * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; - * * @return The bytes for schema. */ - com.google.protobuf.ByteString getSchemaBytes(); + com.google.protobuf.ByteString + getSchemaBytes(); /** - * - * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; - * * @return The relation. */ java.lang.String getRelation(); /** - * - * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; - * * @return The bytes for relation. */ - com.google.protobuf.ByteString getRelationBytes(); + com.google.protobuf.ByteString + getRelationBytes(); /** - * - * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; - * * @return The attribute. */ java.lang.String getAttribute(); /** - * - * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; - * * @return The bytes for attribute. */ - com.google.protobuf.ByteString getAttributeBytes(); + com.google.protobuf.ByteString + getAttributeBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java index 8e76942..c2681d1 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The potential components of a full name mapping that will be mapped
  * during translation in the target data warehouse.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingValue}
  */
-public final class NameMappingValue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NameMappingValue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.NameMappingValue)
     NameMappingValueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NameMappingValue.newBuilder() to construct.
   private NameMappingValue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NameMappingValue() {
     database_ = "";
     schema_ = "";
@@ -47,15 +29,16 @@ private NameMappingValue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NameMappingValue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NameMappingValue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,41 +57,37 @@ private NameMappingValue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              database_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            database_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              schema_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            schema_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              relation_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            relation_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              attribute_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            attribute_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,40 +95,35 @@ private NameMappingValue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.NameMappingValue.class,
-            com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
+            com.google.cloud.bigquery.migration.v2.NameMappingValue.class, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
   private volatile java.lang.Object database_;
   /**
-   *
-   *
    * 
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; - * * @return The database. */ @java.lang.Override @@ -158,30 +132,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -192,14 +166,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object schema_; /** - * - * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; - * * @return The schema. */ @java.lang.Override @@ -208,29 +179,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** - * - * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; - * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -241,15 +212,12 @@ public com.google.protobuf.ByteString getSchemaBytes() { public static final int RELATION_FIELD_NUMBER = 3; private volatile java.lang.Object relation_; /** - * - * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; - * * @return The relation. */ @java.lang.Override @@ -258,30 +226,30 @@ public java.lang.String getRelation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; } } /** - * - * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; - * * @return The bytes for relation. */ @java.lang.Override - public com.google.protobuf.ByteString getRelationBytes() { + public com.google.protobuf.ByteString + getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relation_ = b; return b; } else { @@ -292,15 +260,12 @@ public com.google.protobuf.ByteString getRelationBytes() { public static final int ATTRIBUTE_FIELD_NUMBER = 4; private volatile java.lang.Object attribute_; /** - * - * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; - * * @return The attribute. */ @java.lang.Override @@ -309,30 +274,30 @@ public java.lang.String getAttribute() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; } } /** - * - * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; - * * @return The bytes for attribute. */ @java.lang.Override - public com.google.protobuf.ByteString getAttributeBytes() { + public com.google.protobuf.ByteString + getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attribute_ = b; return b; } else { @@ -341,7 +306,6 @@ public com.google.protobuf.ByteString getAttributeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +317,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -395,18 +360,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.NameMappingValue)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.NameMappingValue other = - (com.google.cloud.bigquery.migration.v2.NameMappingValue) obj; - - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getSchema().equals(other.getSchema())) return false; - if (!getRelation().equals(other.getRelation())) return false; - if (!getAttribute().equals(other.getAttribute())) return false; + com.google.cloud.bigquery.migration.v2.NameMappingValue other = (com.google.cloud.bigquery.migration.v2.NameMappingValue) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getRelation() + .equals(other.getRelation())) return false; + if (!getAttribute() + .equals(other.getAttribute())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,104 +400,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.NameMappingValue prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.NameMappingValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The potential components of a full name mapping that will be mapped
    * during translation in the target data warehouse.
@@ -537,23 +497,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingValue}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.NameMappingValue)
       com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.NameMappingValue.class,
-              com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
+              com.google.cloud.bigquery.migration.v2.NameMappingValue.class, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.NameMappingValue.newBuilder()
@@ -561,15 +519,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -585,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
     }
 
     @java.lang.Override
@@ -606,8 +565,7 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValue build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.NameMappingValue buildPartial() {
-      com.google.cloud.bigquery.migration.v2.NameMappingValue result =
-          new com.google.cloud.bigquery.migration.v2.NameMappingValue(this);
+      com.google.cloud.bigquery.migration.v2.NameMappingValue result = new com.google.cloud.bigquery.migration.v2.NameMappingValue(this);
       result.database_ = database_;
       result.schema_ = schema_;
       result.relation_ = relation_;
@@ -620,39 +578,38 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValue buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.NameMappingValue) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingValue) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingValue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -660,8 +617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.NameMappingValue other) {
-      if (other == com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         onChanged();
@@ -697,8 +653,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.NameMappingValue) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.NameMappingValue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -710,21 +665,19 @@ public Builder mergeFrom(
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -733,22 +686,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -756,64 +708,57 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** - * - * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -821,20 +766,18 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object schema_ = ""; /** - * - * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -843,21 +786,20 @@ public java.lang.String getSchema() { } } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; - * * @return The bytes for schema. */ - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -865,61 +807,54 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; - * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema(java.lang.String value) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; - * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** - * - * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -927,21 +862,19 @@ public Builder setSchemaBytes(com.google.protobuf.ByteString value) { private java.lang.Object relation_ = ""; /** - * - * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; - * * @return The relation. */ public java.lang.String getRelation() { java.lang.Object ref = relation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; @@ -950,22 +883,21 @@ public java.lang.String getRelation() { } } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; - * * @return The bytes for relation. */ - public com.google.protobuf.ByteString getRelationBytes() { + public com.google.protobuf.ByteString + getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relation_ = b; return b; } else { @@ -973,64 +905,57 @@ public com.google.protobuf.ByteString getRelationBytes() { } } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; - * * @param value The relation to set. * @return This builder for chaining. */ - public Builder setRelation(java.lang.String value) { + public Builder setRelation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relation_ = value; onChanged(); return this; } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; - * * @return This builder for chaining. */ public Builder clearRelation() { - + relation_ = getDefaultInstance().getRelation(); onChanged(); return this; } /** - * - * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; - * * @param value The bytes for relation to set. * @return This builder for chaining. */ - public Builder setRelationBytes(com.google.protobuf.ByteString value) { + public Builder setRelationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relation_ = value; onChanged(); return this; @@ -1038,21 +963,19 @@ public Builder setRelationBytes(com.google.protobuf.ByteString value) { private java.lang.Object attribute_ = ""; /** - * - * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; - * * @return The attribute. */ public java.lang.String getAttribute() { java.lang.Object ref = attribute_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; @@ -1061,22 +984,21 @@ public java.lang.String getAttribute() { } } /** - * - * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; - * * @return The bytes for attribute. */ - public com.google.protobuf.ByteString getAttributeBytes() { + public com.google.protobuf.ByteString + getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attribute_ = b; return b; } else { @@ -1084,71 +1006,64 @@ public com.google.protobuf.ByteString getAttributeBytes() { } } /** - * - * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; - * * @param value The attribute to set. * @return This builder for chaining. */ - public Builder setAttribute(java.lang.String value) { + public Builder setAttribute( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attribute_ = value; onChanged(); return this; } /** - * - * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; - * * @return This builder for chaining. */ public Builder clearAttribute() { - + attribute_ = getDefaultInstance().getAttribute(); onChanged(); return this; } /** - * - * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; - * * @param value The bytes for attribute to set. * @return This builder for chaining. */ - public Builder setAttributeBytes(com.google.protobuf.ByteString value) { + public Builder setAttributeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attribute_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.NameMappingValue) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.NameMappingValue) private static final com.google.cloud.bigquery.migration.v2.NameMappingValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.NameMappingValue(); } @@ -1172,16 +1087,16 @@ public static com.google.cloud.bigquery.migration.v2.NameMappingValue getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NameMappingValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NameMappingValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NameMappingValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NameMappingValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1196,4 +1111,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.NameMappingValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java index 4086b85..6915b33 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java @@ -1,131 +1,95 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface NameMappingValueOrBuilder - extends +public interface NameMappingValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NameMappingValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; - * * @return The schema. */ java.lang.String getSchema(); /** - * - * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; - * * @return The bytes for schema. */ - com.google.protobuf.ByteString getSchemaBytes(); + com.google.protobuf.ByteString + getSchemaBytes(); /** - * - * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; - * * @return The relation. */ java.lang.String getRelation(); /** - * - * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; - * * @return The bytes for relation. */ - com.google.protobuf.ByteString getRelationBytes(); + com.google.protobuf.ByteString + getRelationBytes(); /** - * - * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; - * * @return The attribute. */ java.lang.String getAttribute(); /** - * - * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; - * * @return The bytes for attribute. */ - com.google.protobuf.ByteString getAttributeBytes(); + com.google.protobuf.ByteString + getAttributeBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java index 200372c..16d227c 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Netezza.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.NetezzaDialect} */ -public final class NetezzaDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NetezzaDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.NetezzaDialect) NetezzaDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NetezzaDialect.newBuilder() to construct. private NetezzaDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NetezzaDialect() {} + private NetezzaDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetezzaDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NetezzaDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private NetezzaDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private NetezzaDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.NetezzaDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.NetezzaDialect other = - (com.google.cloud.bigquery.migration.v2.NetezzaDialect) obj; + com.google.cloud.bigquery.migration.v2.NetezzaDialect other = (com.google.cloud.bigquery.migration.v2.NetezzaDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.NetezzaDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.NetezzaDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Netezza.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.NetezzaDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.NetezzaDialect) com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.NetezzaDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.NetezzaDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.NetezzaDialect result = - new com.google.cloud.bigquery.migration.v2.NetezzaDialect(this); + com.google.cloud.bigquery.migration.v2.NetezzaDialect result = new com.google.cloud.bigquery.migration.v2.NetezzaDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.NetezzaDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.NetezzaDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.NetezzaDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.NetezzaDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.NetezzaDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.NetezzaDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.NetezzaDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.NetezzaDialect) private static final com.google.cloud.bigquery.migration.v2.NetezzaDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.NetezzaDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.NetezzaDialect getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetezzaDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetezzaDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetezzaDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetezzaDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.NetezzaDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java new file mode 100644 index 0000000..459dd4b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface NetezzaDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NetezzaDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java index 0b8ac22..889408f 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Represents a key-value pair of NameMappingKey to NameMappingValue to
  * represent the mapping of SQL names from the input value to desired output.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMapping}
  */
-public final class ObjectNameMapping extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ObjectNameMapping extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ObjectNameMapping)
     ObjectNameMappingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ObjectNameMapping.newBuilder() to construct.
   private ObjectNameMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ObjectNameMapping() {}
+  private ObjectNameMapping() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ObjectNameMapping();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ObjectNameMapping(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,47 +53,39 @@ private ObjectNameMapping(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder subBuilder = null;
-              if (source_ != null) {
-                subBuilder = source_.toBuilder();
-              }
-              source_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.NameMappingKey.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(source_);
-                source_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder subBuilder = null;
+            if (source_ != null) {
+              subBuilder = source_.toBuilder();
+            }
+            source_ = input.readMessage(com.google.cloud.bigquery.migration.v2.NameMappingKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(source_);
+              source_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 18: {
+            com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder subBuilder = null;
+            if (target_ != null) {
+              subBuilder = target_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder subBuilder = null;
-              if (target_ != null) {
-                subBuilder = target_.toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.NameMappingValue.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(target_);
-                target_ = subBuilder.buildPartial();
-              }
-
-              break;
+            target_ = input.readMessage(com.google.cloud.bigquery.migration.v2.NameMappingValue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(target_);
+              target_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,39 +93,34 @@ private ObjectNameMapping(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class,
-            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
+            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
   }
 
   public static final int SOURCE_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.migration.v2.NameMappingKey source_;
   /**
-   *
-   *
    * 
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; - * * @return Whether the source field is set. */ @java.lang.Override @@ -157,25 +128,18 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; - * * @return The source. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingKey getSource() { - return source_ == null - ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() : source_; } /** - * - * *
    * The name of the object in source that is being mapped.
    * 
@@ -190,14 +154,11 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO public static final int TARGET_FIELD_NUMBER = 2; private com.google.cloud.bigquery.migration.v2.NameMappingValue target_; /** - * - * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; - * * @return Whether the target field is set. */ @java.lang.Override @@ -205,25 +166,18 @@ public boolean hasTarget() { return target_ != null; } /** - * - * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; - * * @return The target. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingValue getTarget() { - return target_ == null - ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() - : target_; + return target_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() : target_; } /** - * - * *
    * The desired target name of the object that is being mapped.
    * 
@@ -236,7 +190,6 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder getTarge } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -265,10 +219,12 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } if (target_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTarget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTarget()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +234,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMapping)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ObjectNameMapping other = - (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) obj; + com.google.cloud.bigquery.migration.v2.ObjectNameMapping other = (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget().equals(other.getTarget())) return false; + if (!getTarget() + .equals(other.getTarget())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,104 +276,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ObjectNameMapping prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ObjectNameMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a key-value pair of NameMappingKey to NameMappingValue to
    * represent the mapping of SQL names from the input value to desired output.
@@ -424,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMapping}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ObjectNameMapping)
       com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class,
-              com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
+              com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.ObjectNameMapping.newBuilder()
@@ -448,15 +395,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
     }
 
     @java.lang.Override
@@ -497,8 +445,7 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.ObjectNameMapping buildPartial() {
-      com.google.cloud.bigquery.migration.v2.ObjectNameMapping result =
-          new com.google.cloud.bigquery.migration.v2.ObjectNameMapping(this);
+      com.google.cloud.bigquery.migration.v2.ObjectNameMapping result = new com.google.cloud.bigquery.migration.v2.ObjectNameMapping(this);
       if (sourceBuilder_ == null) {
         result.source_ = source_;
       } else {
@@ -517,39 +464,38 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMapping) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMapping) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMapping)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ObjectNameMapping other) {
-      if (other == com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()) return this;
       if (other.hasSource()) {
         mergeSource(other.getSource());
       }
@@ -584,8 +529,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -597,47 +541,34 @@ public Builder mergeFrom(
 
     private com.google.cloud.bigquery.migration.v2.NameMappingKey source_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.NameMappingKey,
-            com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder,
-            com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder>
-        sourceBuilder_;
+        com.google.cloud.bigquery.migration.v2.NameMappingKey, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder> sourceBuilder_;
     /**
-     *
-     *
      * 
      * The name of the object in source that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; - * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; - * * @return The source. */ public com.google.cloud.bigquery.migration.v2.NameMappingKey getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -658,8 +589,6 @@ public Builder setSource(com.google.cloud.bigquery.migration.v2.NameMappingKey v return this; } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -678,8 +607,6 @@ public Builder setSource( return this; } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -690,9 +617,7 @@ public Builder mergeSource(com.google.cloud.bigquery.migration.v2.NameMappingKey if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.bigquery.migration.v2.NameMappingKey.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.NameMappingKey.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -704,8 +629,6 @@ public Builder mergeSource(com.google.cloud.bigquery.migration.v2.NameMappingKey return this; } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -724,8 +647,6 @@ public Builder clearSource() { return this; } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -733,13 +654,11 @@ public Builder clearSource() { * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; */ public com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -750,14 +669,11 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() : source_; } } /** - * - * *
      * The name of the object in source that is being mapped.
      * 
@@ -765,17 +681,14 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingKey, - com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, - com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder> + com.google.cloud.bigquery.migration.v2.NameMappingKey, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingKey, - com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, - com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.NameMappingKey, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; @@ -783,47 +696,34 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO private com.google.cloud.bigquery.migration.v2.NameMappingValue target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingValue, - com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, - com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> - targetBuilder_; + com.google.cloud.bigquery.migration.v2.NameMappingValue, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> targetBuilder_; /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; - * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; - * * @return The target. */ public com.google.cloud.bigquery.migration.v2.NameMappingValue getTarget() { if (targetBuilder_ == null) { - return target_ == null - ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() - : target_; + return target_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() : target_; } else { return targetBuilder_.getMessage(); } } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -844,8 +744,6 @@ public Builder setTarget(com.google.cloud.bigquery.migration.v2.NameMappingValue return this; } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -864,8 +762,6 @@ public Builder setTarget( return this; } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -876,9 +772,7 @@ public Builder mergeTarget(com.google.cloud.bigquery.migration.v2.NameMappingVal if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.bigquery.migration.v2.NameMappingValue.newBuilder(target_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.NameMappingValue.newBuilder(target_).mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -890,8 +784,6 @@ public Builder mergeTarget(com.google.cloud.bigquery.migration.v2.NameMappingVal return this; } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -910,8 +802,6 @@ public Builder clearTarget() { return this; } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -919,13 +809,11 @@ public Builder clearTarget() { * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; */ public com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -936,14 +824,11 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder getTarge if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null - ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() - : target_; + return target_ == null ? + com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() : target_; } } /** - * - * *
      * The desired target name of the object that is being mapped.
      * 
@@ -951,24 +836,21 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder getTarge * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingValue, - com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, - com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> + com.google.cloud.bigquery.migration.v2.NameMappingValue, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingValue, - com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, - com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder>( - getTarget(), getParentForChildren(), isClean()); + targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.NameMappingValue, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder>( + getTarget(), + getParentForChildren(), + isClean()); target_ = null; } return targetBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ObjectNameMapping) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ObjectNameMapping) private static final com.google.cloud.bigquery.migration.v2.ObjectNameMapping DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ObjectNameMapping(); } @@ -992,16 +874,16 @@ public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectNameMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectNameMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectNameMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectNameMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ObjectNameMapping getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java similarity index 73% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java index 9519e2d..aaff01d 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Represents a map of name mappings using a list of key:value proto messages of
  * existing name to desired output name.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMappingList}
  */
-public final class ObjectNameMappingList extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ObjectNameMappingList extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ObjectNameMappingList)
     ObjectNameMappingListOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ObjectNameMappingList.newBuilder() to construct.
   private ObjectNameMappingList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ObjectNameMappingList() {
     nameMap_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ObjectNameMappingList();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ObjectNameMappingList(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,22 @@ private ObjectNameMappingList(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                nameMap_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.bigquery.migration.v2.ObjectNameMapping>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              nameMap_.add(
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.ObjectNameMapping.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              nameMap_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nameMap_.add(
+                input.readMessage(com.google.cloud.bigquery.migration.v2.ObjectNameMapping.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,7 +78,8 @@ private ObjectNameMappingList(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         nameMap_ = java.util.Collections.unmodifiableList(nameMap_);
@@ -109,27 +88,22 @@ private ObjectNameMappingList(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class,
-            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
+            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
   }
 
   public static final int NAME_MAP_FIELD_NUMBER = 1;
   private java.util.List nameMap_;
   /**
-   *
-   *
    * 
    * The elements of the object name map.
    * 
@@ -141,8 +115,6 @@ public java.util.List return nameMap_; } /** - * - * *
    * The elements of the object name map.
    * 
@@ -150,13 +122,11 @@ public java.util.List * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNameMapOrBuilderList() { return nameMap_; } /** - * - * *
    * The elements of the object name map.
    * 
@@ -168,8 +138,6 @@ public int getNameMapCount() { return nameMap_.size(); } /** - * - * *
    * The elements of the object name map.
    * 
@@ -181,8 +149,6 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping getNameMap(int i return nameMap_.get(index); } /** - * - * *
    * The elements of the object name map.
    * 
@@ -196,7 +162,6 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getName } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < nameMap_.size(); i++) { output.writeMessage(1, nameMap_.get(i)); } @@ -222,7 +188,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < nameMap_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nameMap_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, nameMap_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList other = - (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) obj; + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList other = (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) obj; - if (!getNameMapList().equals(other.getNameMapList())) return false; + if (!getNameMapList() + .equals(other.getNameMapList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -262,104 +229,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a map of name mappings using a list of key:value proto messages of
    * existing name to desired output name.
@@ -367,23 +326,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMappingList}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ObjectNameMappingList)
       com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class,
-              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
+              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.newBuilder()
@@ -391,17 +348,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getNameMapFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -415,14 +372,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance();
     }
 
@@ -437,8 +393,7 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList buildPartial() {
-      com.google.cloud.bigquery.migration.v2.ObjectNameMappingList result =
-          new com.google.cloud.bigquery.migration.v2.ObjectNameMappingList(this);
+      com.google.cloud.bigquery.migration.v2.ObjectNameMappingList result = new com.google.cloud.bigquery.migration.v2.ObjectNameMappingList(this);
       int from_bitField0_ = bitField0_;
       if (nameMapBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -457,39 +412,38 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,9 +451,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList other) {
-      if (other
-          == com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance()) return this;
       if (nameMapBuilder_ == null) {
         if (!other.nameMap_.isEmpty()) {
           if (nameMap_.isEmpty()) {
@@ -518,10 +470,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ObjectNameMappin
             nameMapBuilder_ = null;
             nameMap_ = other.nameMap_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            nameMapBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNameMapFieldBuilder()
-                    : null;
+            nameMapBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNameMapFieldBuilder() : null;
           } else {
             nameMapBuilder_.addAllMessages(other.nameMap_);
           }
@@ -546,8 +497,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -556,38 +506,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List nameMap_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureNameMapIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        nameMap_ =
-            new java.util.ArrayList(
-                nameMap_);
+        nameMap_ = new java.util.ArrayList(nameMap_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.ObjectNameMapping,
-            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder,
-            com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>
-        nameMapBuilder_;
+        com.google.cloud.bigquery.migration.v2.ObjectNameMapping, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> nameMapBuilder_;
 
     /**
-     *
-     *
      * 
      * The elements of the object name map.
      * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - public java.util.List - getNameMapList() { + public java.util.List getNameMapList() { if (nameMapBuilder_ == null) { return java.util.Collections.unmodifiableList(nameMap_); } else { @@ -595,8 +535,6 @@ private void ensureNameMapIsMutable() { } } /** - * - * *
      * The elements of the object name map.
      * 
@@ -611,8 +549,6 @@ public int getNameMapCount() { } } /** - * - * *
      * The elements of the object name map.
      * 
@@ -627,8 +563,6 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping getNameMap(int i } } /** - * - * *
      * The elements of the object name map.
      * 
@@ -650,8 +584,6 @@ public Builder setNameMap( return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -659,8 +591,7 @@ public Builder setNameMap( * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public Builder setNameMap( - int index, - com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { if (nameMapBuilder_ == null) { ensureNameMapIsMutable(); nameMap_.set(index, builderForValue.build()); @@ -671,8 +602,6 @@ public Builder setNameMap( return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -693,8 +622,6 @@ public Builder addNameMap(com.google.cloud.bigquery.migration.v2.ObjectNameMappi return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -716,8 +643,6 @@ public Builder addNameMap( return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -736,8 +661,6 @@ public Builder addNameMap( return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -745,8 +668,7 @@ public Builder addNameMap( * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public Builder addNameMap( - int index, - com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { if (nameMapBuilder_ == null) { ensureNameMapIsMutable(); nameMap_.add(index, builderForValue.build()); @@ -757,8 +679,6 @@ public Builder addNameMap( return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -766,11 +686,11 @@ public Builder addNameMap( * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public Builder addAllNameMap( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (nameMapBuilder_ == null) { ensureNameMapIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameMap_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameMap_); onChanged(); } else { nameMapBuilder_.addAllMessages(values); @@ -778,8 +698,6 @@ public Builder addAllNameMap( return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -797,8 +715,6 @@ public Builder clearNameMap() { return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -816,8 +732,6 @@ public Builder removeNameMap(int index) { return this; } /** - * - * *
      * The elements of the object name map.
      * 
@@ -829,8 +743,6 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder getNameM return getNameMapFieldBuilder().getBuilder(index); } /** - * - * *
      * The elements of the object name map.
      * 
@@ -840,23 +752,19 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder getNameM public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getNameMapOrBuilder( int index) { if (nameMapBuilder_ == null) { - return nameMap_.get(index); - } else { + return nameMap_.get(index); } else { return nameMapBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The elements of the object name map.
      * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> - getNameMapOrBuilderList() { + public java.util.List + getNameMapOrBuilderList() { if (nameMapBuilder_ != null) { return nameMapBuilder_.getMessageOrBuilderList(); } else { @@ -864,8 +772,6 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getName } } /** - * - * *
      * The elements of the object name map.
      * 
@@ -873,13 +779,10 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getName * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder addNameMapBuilder() { - return getNameMapFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); + return getNameMapFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); } /** - * - * *
      * The elements of the object name map.
      * 
@@ -888,43 +791,37 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder addNameM */ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder addNameMapBuilder( int index) { - return getNameMapFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); + return getNameMapFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); } /** - * - * *
      * The elements of the object name map.
      * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - public java.util.List - getNameMapBuilderList() { + public java.util.List + getNameMapBuilderList() { return getNameMapFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMapping, - com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> + com.google.cloud.bigquery.migration.v2.ObjectNameMapping, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> getNameMapFieldBuilder() { if (nameMapBuilder_ == null) { - nameMapBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMapping, - com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>( - nameMap_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + nameMapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ObjectNameMapping, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>( + nameMap_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); nameMap_ = null; } return nameMapBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -934,13 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ObjectNameMappingList) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ObjectNameMappingList) - private static final com.google.cloud.bigquery.migration.v2.ObjectNameMappingList - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.ObjectNameMappingList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ObjectNameMappingList(); } @@ -949,16 +845,16 @@ public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectNameMappingList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectNameMappingList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectNameMappingList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectNameMappingList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -973,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java index 58a4cbb..f2ae9b8 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface ObjectNameMappingListOrBuilder - extends +public interface ObjectNameMappingListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ObjectNameMappingList) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The elements of the object name map.
    * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - java.util.List getNameMapList(); + java.util.List + getNameMapList(); /** - * - * *
    * The elements of the object name map.
    * 
@@ -44,8 +25,6 @@ public interface ObjectNameMappingListOrBuilder */ com.google.cloud.bigquery.migration.v2.ObjectNameMapping getNameMap(int index); /** - * - * *
    * The elements of the object name map.
    * 
@@ -54,24 +33,21 @@ public interface ObjectNameMappingListOrBuilder */ int getNameMapCount(); /** - * - * *
    * The elements of the object name map.
    * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - java.util.List + java.util.List getNameMapOrBuilderList(); /** - * - * *
    * The elements of the object name map.
    * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getNameMapOrBuilder(int index); + com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getNameMapOrBuilder( + int index); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java index fed6a25..c7dfed0 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface ObjectNameMappingOrBuilder - extends +public interface ObjectNameMappingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ObjectNameMapping) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; - * * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; - * * @return The source. */ com.google.cloud.bigquery.migration.v2.NameMappingKey getSource(); /** - * - * *
    * The name of the object in source that is being mapped.
    * 
@@ -59,32 +35,24 @@ public interface ObjectNameMappingOrBuilder com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceOrBuilder(); /** - * - * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; - * * @return Whether the target field is set. */ boolean hasTarget(); /** - * - * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; - * * @return The target. */ com.google.cloud.bigquery.migration.v2.NameMappingValue getTarget(); /** - * - * *
    * The desired target name of the object that is being mapped.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java index c0bf481..6a6389a 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Oracle.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.OracleDialect} */ -public final class OracleDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.OracleDialect) OracleDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleDialect.newBuilder() to construct. private OracleDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OracleDialect() {} + private OracleDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OracleDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OracleDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.OracleDialect.class, - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.OracleDialect.class, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.OracleDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.OracleDialect other = - (com.google.cloud.bigquery.migration.v2.OracleDialect) obj; + com.google.cloud.bigquery.migration.v2.OracleDialect other = (com.google.cloud.bigquery.migration.v2.OracleDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.OracleDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Oracle.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.OracleDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.OracleDialect) com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.OracleDialect.class, - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.OracleDialect.class, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.OracleDialect.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.OracleDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.OracleDialect result = - new com.google.cloud.bigquery.migration.v2.OracleDialect(this); + com.google.cloud.bigquery.migration.v2.OracleDialect result = new com.google.cloud.bigquery.migration.v2.OracleDialect(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.OracleDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.OracleDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.OracleDialect)other); } else { super.mergeFrom(other); return this; @@ -374,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.OracleDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.OracleDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.OracleDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -417,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.OracleDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.OracleDialect) private static final com.google.cloud.bigquery.migration.v2.OracleDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.OracleDialect(); } @@ -431,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.OracleDialect getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.OracleDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java new file mode 100644 index 0000000..3e40ac3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface OracleDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.OracleDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java similarity index 76% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java index 4f2a0cb..830d276 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A single data point in a time series.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Point} */ -public final class Point extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Point extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.Point) PointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Point.newBuilder() to construct. private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Point() {} + private Point() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Point(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,47 +52,39 @@ private Point( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.migration.v2.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.TimeInterval.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.migration.v2.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = input.readMessage(com.google.cloud.bigquery.migration.v2.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.bigquery.migration.v2.TypedValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2.TypedValue.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.bigquery.migration.v2.TypedValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + value_ = input.readMessage(com.google.cloud.bigquery.migration.v2.TypedValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,33 +92,29 @@ private Point( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Point.class, - com.google.cloud.bigquery.migration.v2.Point.Builder.class); + com.google.cloud.bigquery.migration.v2.Point.class, com.google.cloud.bigquery.migration.v2.Point.Builder.class); } public static final int INTERVAL_FIELD_NUMBER = 1; private com.google.cloud.bigquery.migration.v2.TimeInterval interval_; /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -156,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ @java.lang.Override @@ -164,8 +135,6 @@ public boolean hasInterval() { return interval_ != null; } /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -179,18 +148,13 @@ public boolean hasInterval() {
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; - * * @return The interval. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TimeInterval getInterval() { - return interval_ == null - ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() : interval_; } /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -213,14 +177,11 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
   public static final int VALUE_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.migration.v2.TypedValue value_;
   /**
-   *
-   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -228,25 +189,18 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; - * * @return The value. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TypedValue getValue() { - return value_ == null - ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() : value_; } /** - * - * *
    * The value of the data point.
    * 
@@ -259,7 +213,6 @@ public com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder getValueOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (interval_ != null) { output.writeMessage(1, getInterval()); } @@ -288,10 +242,12 @@ public int getSerializedSize() { size = 0; if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInterval()); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,21 +257,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.Point)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.Point other = - (com.google.cloud.bigquery.migration.v2.Point) obj; + com.google.cloud.bigquery.migration.v2.Point other = (com.google.cloud.bigquery.migration.v2.Point) obj; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval().equals(other.getInterval())) return false; + if (!getInterval() + .equals(other.getInterval())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -341,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.Point parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.Point parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.Point parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single data point in a time series.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Point} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.Point) com.google.cloud.bigquery.migration.v2.PointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Point.class, - com.google.cloud.bigquery.migration.v2.Point.Builder.class); + com.google.cloud.bigquery.migration.v2.Point.class, com.google.cloud.bigquery.migration.v2.Point.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.Point.newBuilder() @@ -469,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; } @java.lang.Override @@ -518,8 +467,7 @@ public com.google.cloud.bigquery.migration.v2.Point build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.Point buildPartial() { - com.google.cloud.bigquery.migration.v2.Point result = - new com.google.cloud.bigquery.migration.v2.Point(this); + com.google.cloud.bigquery.migration.v2.Point result = new com.google.cloud.bigquery.migration.v2.Point(this); if (intervalBuilder_ == null) { result.interval_ = interval_; } else { @@ -538,39 +486,38 @@ public com.google.cloud.bigquery.migration.v2.Point buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.Point) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.Point) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.Point)other); } else { super.mergeFrom(other); return this; @@ -616,13 +563,8 @@ public Builder mergeFrom( private com.google.cloud.bigquery.migration.v2.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeInterval, - com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, - com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder> - intervalBuilder_; + com.google.cloud.bigquery.migration.v2.TimeInterval, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder> intervalBuilder_; /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -636,15 +578,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -658,21 +597,16 @@ public boolean hasInterval() {
      * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; - * * @return The interval. */ public com.google.cloud.bigquery.migration.v2.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null - ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() : interval_; } else { return intervalBuilder_.getMessage(); } } /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -701,8 +635,6 @@ public Builder setInterval(com.google.cloud.bigquery.migration.v2.TimeInterval v
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -729,8 +661,6 @@ public Builder setInterval(
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -749,9 +679,7 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2.TimeInterval
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-              com.google.cloud.bigquery.migration.v2.TimeInterval.newBuilder(interval_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.migration.v2.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
         } else {
           interval_ = value;
         }
@@ -763,8 +691,6 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2.TimeInterval
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -791,8 +717,6 @@ public Builder clearInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -808,13 +732,11 @@ public Builder clearInterval() {
      * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      */
     public com.google.cloud.bigquery.migration.v2.TimeInterval.Builder getIntervalBuilder() {
-
+      
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -833,14 +755,11 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null
-            ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance()
-            : interval_;
+        return interval_ == null ?
+            com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() : interval_;
       }
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -856,17 +775,14 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
      * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.TimeInterval,
-            com.google.cloud.bigquery.migration.v2.TimeInterval.Builder,
-            com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder>
+        com.google.cloud.bigquery.migration.v2.TimeInterval, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder> 
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.bigquery.migration.v2.TimeInterval,
-                com.google.cloud.bigquery.migration.v2.TimeInterval.Builder,
-                com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder>(
-                getInterval(), getParentForChildren(), isClean());
+        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.migration.v2.TimeInterval, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder>(
+                getInterval(),
+                getParentForChildren(),
+                isClean());
         interval_ = null;
       }
       return intervalBuilder_;
@@ -874,47 +790,34 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
 
     private com.google.cloud.bigquery.migration.v2.TypedValue value_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.TypedValue,
-            com.google.cloud.bigquery.migration.v2.TypedValue.Builder,
-            com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder>
-        valueBuilder_;
+        com.google.cloud.bigquery.migration.v2.TypedValue, com.google.cloud.bigquery.migration.v2.TypedValue.Builder, com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder> valueBuilder_;
     /**
-     *
-     *
      * 
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; - * * @return The value. */ public com.google.cloud.bigquery.migration.v2.TypedValue getValue() { if (valueBuilder_ == null) { - return value_ == null - ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** - * - * *
      * The value of the data point.
      * 
@@ -935,8 +838,6 @@ public Builder setValue(com.google.cloud.bigquery.migration.v2.TypedValue value) return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -955,8 +856,6 @@ public Builder setValue( return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -967,9 +866,7 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2.TypedValue valu if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.cloud.bigquery.migration.v2.TypedValue.newBuilder(value_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.TypedValue.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -981,8 +878,6 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2.TypedValue valu return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -1001,8 +896,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -1010,13 +903,11 @@ public Builder clearValue() { * .google.cloud.bigquery.migration.v2.TypedValue value = 2; */ public com.google.cloud.bigquery.migration.v2.TypedValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * The value of the data point.
      * 
@@ -1027,14 +918,11 @@ public com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder getValueOrBuil if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null - ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() - : value_; + return value_ == null ? + com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() : value_; } } /** - * - * *
      * The value of the data point.
      * 
@@ -1042,24 +930,21 @@ public com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder getValueOrBuil * .google.cloud.bigquery.migration.v2.TypedValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TypedValue, - com.google.cloud.bigquery.migration.v2.TypedValue.Builder, - com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder> + com.google.cloud.bigquery.migration.v2.TypedValue, com.google.cloud.bigquery.migration.v2.TypedValue.Builder, com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TypedValue, - com.google.cloud.bigquery.migration.v2.TypedValue.Builder, - com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TypedValue, com.google.cloud.bigquery.migration.v2.TypedValue.Builder, com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1069,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.Point) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.Point) private static final com.google.cloud.bigquery.migration.v2.Point DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.Point(); } @@ -1083,16 +968,16 @@ public static com.google.cloud.bigquery.migration.v2.Point getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Point parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Point(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java similarity index 83% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java index ac1c1b9..6f3468f 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface PointOrBuilder - extends +public interface PointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.Point) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -39,13 +21,10 @@ public interface PointOrBuilder
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ boolean hasInterval(); /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -59,13 +38,10 @@ public interface PointOrBuilder
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; - * * @return The interval. */ com.google.cloud.bigquery.migration.v2.TimeInterval getInterval(); /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -83,32 +59,24 @@ public interface PointOrBuilder
   com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; - * * @return The value. */ com.google.cloud.bigquery.migration.v2.TypedValue getValue(); /** - * - * *
    * The value of the data point.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java new file mode 100644 index 0000000..125ae94 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +/** + *
+ * The dialect definition for Postgresql.
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PostgresqlDialect} + */ +public final class PostgresqlDialect extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.PostgresqlDialect) + PostgresqlDialectOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlDialect.newBuilder() to construct. + private PostgresqlDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlDialect() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlDialect(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlDialect( + com.google.protobuf.CodedInputStream input, + 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 { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.bigquery.migration.v2.PostgresqlDialect)) { + return super.equals(obj); + } + com.google.cloud.bigquery.migration.v2.PostgresqlDialect other = (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.PostgresqlDialect prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The dialect definition for Postgresql.
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PostgresqlDialect} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.PostgresqlDialect) + com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); + } + + // Construct using com.google.cloud.bigquery.migration.v2.PostgresqlDialect.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect build() { + com.google.cloud.bigquery.migration.v2.PostgresqlDialect result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect buildPartial() { + com.google.cloud.bigquery.migration.v2.PostgresqlDialect result = new com.google.cloud.bigquery.migration.v2.PostgresqlDialect(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.bigquery.migration.v2.PostgresqlDialect) { + return mergeFrom((com.google.cloud.bigquery.migration.v2.PostgresqlDialect)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.PostgresqlDialect other) { + if (other == com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.bigquery.migration.v2.PostgresqlDialect parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.PostgresqlDialect) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.PostgresqlDialect) + private static final com.google.cloud.bigquery.migration.v2.PostgresqlDialect DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.PostgresqlDialect(); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlDialect(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java new file mode 100644 index 0000000..a78ea9b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface PostgresqlDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PostgresqlDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java new file mode 100644 index 0000000..699ac9c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +/** + *
+ * The dialect definition for Presto.
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PrestoDialect} + */ +public final class PrestoDialect extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.PrestoDialect) + PrestoDialectOrBuilder { +private static final long serialVersionUID = 0L; + // Use PrestoDialect.newBuilder() to construct. + private PrestoDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PrestoDialect() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PrestoDialect(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PrestoDialect( + com.google.protobuf.CodedInputStream input, + 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 { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.PrestoDialect.class, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.bigquery.migration.v2.PrestoDialect)) { + return super.equals(obj); + } + com.google.cloud.bigquery.migration.v2.PrestoDialect other = (com.google.cloud.bigquery.migration.v2.PrestoDialect) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.PrestoDialect prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The dialect definition for Presto.
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PrestoDialect} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.PrestoDialect) + com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.PrestoDialect.class, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); + } + + // Construct using com.google.cloud.bigquery.migration.v2.PrestoDialect.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialect getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialect build() { + com.google.cloud.bigquery.migration.v2.PrestoDialect result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialect buildPartial() { + com.google.cloud.bigquery.migration.v2.PrestoDialect result = new com.google.cloud.bigquery.migration.v2.PrestoDialect(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.bigquery.migration.v2.PrestoDialect) { + return mergeFrom((com.google.cloud.bigquery.migration.v2.PrestoDialect)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.PrestoDialect other) { + if (other == com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.bigquery.migration.v2.PrestoDialect parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.bigquery.migration.v2.PrestoDialect) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.PrestoDialect) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.PrestoDialect) + private static final com.google.cloud.bigquery.migration.v2.PrestoDialect DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.PrestoDialect(); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrestoDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrestoDialect(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.PrestoDialect getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java new file mode 100644 index 0000000..f13daf0 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface PrestoDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PrestoDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java index 583c067..afdfd78 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Redshift.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.RedshiftDialect} */ -public final class RedshiftDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RedshiftDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.RedshiftDialect) RedshiftDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RedshiftDialect.newBuilder() to construct. private RedshiftDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RedshiftDialect() {} + private RedshiftDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RedshiftDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RedshiftDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private RedshiftDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private RedshiftDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.RedshiftDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.RedshiftDialect other = - (com.google.cloud.bigquery.migration.v2.RedshiftDialect) obj; + com.google.cloud.bigquery.migration.v2.RedshiftDialect other = (com.google.cloud.bigquery.migration.v2.RedshiftDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.RedshiftDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.RedshiftDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Redshift.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.RedshiftDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.RedshiftDialect) com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.RedshiftDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.RedshiftDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.RedshiftDialect result = - new com.google.cloud.bigquery.migration.v2.RedshiftDialect(this); + com.google.cloud.bigquery.migration.v2.RedshiftDialect result = new com.google.cloud.bigquery.migration.v2.RedshiftDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.RedshiftDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.RedshiftDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.RedshiftDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.RedshiftDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.RedshiftDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.RedshiftDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.RedshiftDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.RedshiftDialect) private static final com.google.cloud.bigquery.migration.v2.RedshiftDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.RedshiftDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.RedshiftDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedshiftDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RedshiftDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedshiftDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RedshiftDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.RedshiftDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java new file mode 100644 index 0000000..e9153fb --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface RedshiftDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.RedshiftDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java index 6e4fe9a..ac011ec 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Provides details for errors and the corresponding resources.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ResourceErrorDetail} */ -public final class ResourceErrorDetail extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResourceErrorDetail extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ResourceErrorDetail) ResourceErrorDetailOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResourceErrorDetail.newBuilder() to construct. private ResourceErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceErrorDetail() { errorDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceErrorDetail(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResourceErrorDetail( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,46 +54,40 @@ private ResourceErrorDetail( case 0: done = true; break; - case 10: - { - com.google.rpc.ResourceInfo.Builder subBuilder = null; - if (resourceInfo_ != null) { - subBuilder = resourceInfo_.toBuilder(); - } - resourceInfo_ = - input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceInfo_); - resourceInfo_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.rpc.ResourceInfo.Builder subBuilder = null; + if (resourceInfo_ != null) { + subBuilder = resourceInfo_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorDetails_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errorDetails_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2.ErrorDetail.parser(), - extensionRegistry)); - break; + resourceInfo_ = input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceInfo_); + resourceInfo_ = subBuilder.buildPartial(); } - case 24: - { - errorCount_ = input.readInt32(); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorDetails_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errorDetails_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2.ErrorDetail.parser(), extensionRegistry)); + break; + } + case 24: { + + errorCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +95,8 @@ private ResourceErrorDetail( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorDetails_ = java.util.Collections.unmodifiableList(errorDetails_); @@ -127,34 +105,27 @@ private ResourceErrorDetail( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); } public static final int RESOURCE_INFO_FIELD_NUMBER = 1; private com.google.rpc.ResourceInfo resourceInfo_; /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceInfo field is set. */ @java.lang.Override @@ -162,15 +133,11 @@ public boolean hasResourceInfo() { return resourceInfo_ != null; } /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceInfo. */ @java.lang.Override @@ -178,14 +145,11 @@ public com.google.rpc.ResourceInfo getResourceInfo() { return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { @@ -195,76 +159,56 @@ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { public static final int ERROR_DETAILS_FIELD_NUMBER = 2; private java.util.List errorDetails_; /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getErrorDetailsList() { return errorDetails_; } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorDetailsOrBuilderList() { return errorDetails_; } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getErrorDetailsCount() { return errorDetails_.size(); } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int index) { return errorDetails_.get(index); } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder( @@ -275,8 +219,6 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetai public static final int ERROR_COUNT_FIELD_NUMBER = 3; private int errorCount_; /** - * - * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -284,7 +226,6 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetai
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ @java.lang.Override @@ -293,7 +234,6 @@ public int getErrorCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resourceInfo_ != null) { output.writeMessage(1, getResourceInfo()); } @@ -325,13 +266,16 @@ public int getSerializedSize() { size = 0; if (resourceInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResourceInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResourceInfo()); } for (int i = 0; i < errorDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errorDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errorDetails_.get(i)); } if (errorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, errorCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, errorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,20 +285,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ResourceErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail other = - (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) obj; + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail other = (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) obj; if (hasResourceInfo() != other.hasResourceInfo()) return false; if (hasResourceInfo()) { - if (!getResourceInfo().equals(other.getResourceInfo())) return false; + if (!getResourceInfo() + .equals(other.getResourceInfo())) return false; } - if (!getErrorDetailsList().equals(other.getErrorDetailsList())) return false; - if (getErrorCount() != other.getErrorCount()) return false; + if (!getErrorDetailsList() + .equals(other.getErrorDetailsList())) return false; + if (getErrorCount() + != other.getErrorCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -382,127 +328,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Provides details for errors and the corresponding resources.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ResourceErrorDetail} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ResourceErrorDetail) com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.newBuilder() @@ -510,17 +446,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorDetailsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; } @java.lang.Override @@ -563,8 +499,7 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail buildPartial() { - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail result = - new com.google.cloud.bigquery.migration.v2.ResourceErrorDetail(this); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail result = new com.google.cloud.bigquery.migration.v2.ResourceErrorDetail(this); int from_bitField0_ = bitField0_; if (resourceInfoBuilder_ == null) { result.resourceInfo_ = resourceInfo_; @@ -589,39 +524,38 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ResourceErrorDetail)other); } else { super.mergeFrom(other); return this; @@ -629,8 +563,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail other) { - if (other == com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()) return this; if (other.hasResourceInfo()) { mergeResourceInfo(other.getResourceInfo()); } @@ -652,10 +585,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ResourceErrorDet errorDetailsBuilder_ = null; errorDetails_ = other.errorDetails_; bitField0_ = (bitField0_ & ~0x00000001); - errorDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorDetailsFieldBuilder() - : null; + errorDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorDetailsFieldBuilder() : null; } else { errorDetailsBuilder_.addAllMessages(other.errorDetails_); } @@ -683,8 +615,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -693,60 +624,43 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.rpc.ResourceInfo resourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, - com.google.rpc.ResourceInfo.Builder, - com.google.rpc.ResourceInfoOrBuilder> - resourceInfoBuilder_; + com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> resourceInfoBuilder_; /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceInfo field is set. */ public boolean hasResourceInfo() { return resourceInfoBuilder_ != null || resourceInfo_ != null; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceInfo. */ public com.google.rpc.ResourceInfo getResourceInfo() { if (resourceInfoBuilder_ == null) { - return resourceInfo_ == null - ? com.google.rpc.ResourceInfo.getDefaultInstance() - : resourceInfo_; + return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } else { return resourceInfoBuilder_.getMessage(); } } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { @@ -762,16 +676,14 @@ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setResourceInfo(com.google.rpc.ResourceInfo.Builder builderForValue) { + public Builder setResourceInfo( + com.google.rpc.ResourceInfo.Builder builderForValue) { if (resourceInfoBuilder_ == null) { resourceInfo_ = builderForValue.build(); onChanged(); @@ -782,20 +694,17 @@ public Builder setResourceInfo(com.google.rpc.ResourceInfo.Builder builderForVal return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { if (resourceInfo_ != null) { resourceInfo_ = - com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); } else { resourceInfo_ = value; } @@ -807,14 +716,11 @@ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResourceInfo() { if (resourceInfoBuilder_ == null) { @@ -828,97 +734,73 @@ public Builder clearResourceInfo() { return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ResourceInfo.Builder getResourceInfoBuilder() { - + onChanged(); return getResourceInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { if (resourceInfoBuilder_ != null) { return resourceInfoBuilder_.getMessageOrBuilder(); } else { - return resourceInfo_ == null - ? com.google.rpc.ResourceInfo.getDefaultInstance() - : resourceInfo_; + return resourceInfo_ == null ? + com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, - com.google.rpc.ResourceInfo.Builder, - com.google.rpc.ResourceInfoOrBuilder> + com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> getResourceInfoFieldBuilder() { if (resourceInfoBuilder_ == null) { - resourceInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, - com.google.rpc.ResourceInfo.Builder, - com.google.rpc.ResourceInfoOrBuilder>( - getResourceInfo(), getParentForChildren(), isClean()); + resourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder>( + getResourceInfo(), + getParentForChildren(), + isClean()); resourceInfo_ = null; } return resourceInfoBuilder_; } private java.util.List errorDetails_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorDetails_ = - new java.util.ArrayList( - errorDetails_); + errorDetails_ = new java.util.ArrayList(errorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorDetail, - com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> - errorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2.ErrorDetail, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> errorDetailsBuilder_; /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getErrorDetailsList() { + public java.util.List getErrorDetailsList() { if (errorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(errorDetails_); } else { @@ -926,15 +808,11 @@ private void ensureErrorDetailsIsMutable() { } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getErrorDetailsCount() { if (errorDetailsBuilder_ == null) { @@ -944,15 +822,11 @@ public int getErrorDetailsCount() { } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -962,15 +836,11 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int in } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail value) { @@ -987,15 +857,11 @@ public Builder setErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder builderForValue) { @@ -1009,15 +875,11 @@ public Builder setErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2.ErrorDetail value) { if (errorDetailsBuilder_ == null) { @@ -1033,15 +895,11 @@ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2.ErrorDetai return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail value) { @@ -1058,15 +916,11 @@ public Builder addErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails( com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder builderForValue) { @@ -1080,15 +934,11 @@ public Builder addErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder builderForValue) { @@ -1102,21 +952,18 @@ public Builder addErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllErrorDetails( java.lang.Iterable values) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errorDetails_); onChanged(); } else { errorDetailsBuilder_.addAllMessages(values); @@ -1124,15 +971,11 @@ public Builder addAllErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearErrorDetails() { if (errorDetailsBuilder_ == null) { @@ -1145,15 +988,11 @@ public Builder clearErrorDetails() { return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -1166,52 +1005,39 @@ public Builder removeErrorDetails(int index) { return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder getErrorDetailsBuilder( int index) { return getErrorDetailsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder( int index) { if (errorDetailsBuilder_ == null) { - return errorDetails_.get(index); - } else { + return errorDetails_.get(index); } else { return errorDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getErrorDetailsOrBuilderList() { + public java.util.List + getErrorDetailsOrBuilderList() { if (errorDetailsBuilder_ != null) { return errorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -1219,74 +1045,56 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetai } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder addErrorDetailsBuilder() { - return getErrorDetailsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); + return getErrorDetailsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder addErrorDetailsBuilder( int index) { - return getErrorDetailsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); + return getErrorDetailsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getErrorDetailsBuilderList() { + public java.util.List + getErrorDetailsBuilderList() { return getErrorDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorDetail, - com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2.ErrorDetail, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> getErrorDetailsFieldBuilder() { if (errorDetailsBuilder_ == null) { - errorDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorDetail, - com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder>( - errorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ErrorDetail, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder>( + errorDetails_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errorDetails_ = null; } return errorDetailsBuilder_; } - private int errorCount_; + private int errorCount_ ; /** - * - * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1294,7 +1102,6 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder addErrorDetail
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ @java.lang.Override @@ -1302,8 +1109,6 @@ public int getErrorCount() { return errorCount_; } /** - * - * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1311,19 +1116,16 @@ public int getErrorCount() {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The errorCount to set. * @return This builder for chaining. */ public Builder setErrorCount(int value) { - + errorCount_ = value; onChanged(); return this; } /** - * - * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1331,18 +1133,17 @@ public Builder setErrorCount(int value) {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearErrorCount() { - + errorCount_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1352,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ResourceErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ResourceErrorDetail) private static final com.google.cloud.bigquery.migration.v2.ResourceErrorDetail DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ResourceErrorDetail(); } @@ -1366,16 +1167,16 @@ public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java similarity index 56% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java index 398d807..2945efc 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java @@ -1,131 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; -public interface ResourceErrorDetailOrBuilder - extends +public interface ResourceErrorDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ResourceErrorDetail) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceInfo field is set. */ boolean hasResourceInfo(); /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceInfo. */ com.google.rpc.ResourceInfo getResourceInfo(); /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getErrorDetailsList(); + java.util.List + getErrorDetailsList(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int index); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getErrorDetailsCount(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getErrorDetailsOrBuilderList(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder( + int index); /** - * - * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -133,7 +86,6 @@ public interface ResourceErrorDetailOrBuilder
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ int getErrorCount(); diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java index 9df41f4..be7a3cf 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for SQL Server.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SQLServerDialect} */ -public final class SQLServerDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SQLServerDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SQLServerDialect) SQLServerDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SQLServerDialect.newBuilder() to construct. private SQLServerDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SQLServerDialect() {} + private SQLServerDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SQLServerDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SQLServerDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private SQLServerDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private SQLServerDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SQLServerDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SQLServerDialect other = - (com.google.cloud.bigquery.migration.v2.SQLServerDialect) obj; + com.google.cloud.bigquery.migration.v2.SQLServerDialect other = (com.google.cloud.bigquery.migration.v2.SQLServerDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.SQLServerDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SQLServerDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for SQL Server.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SQLServerDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SQLServerDialect) com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SQLServerDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.SQLServerDialect result = - new com.google.cloud.bigquery.migration.v2.SQLServerDialect(this); + com.google.cloud.bigquery.migration.v2.SQLServerDialect result = new com.google.cloud.bigquery.migration.v2.SQLServerDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SQLServerDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SQLServerDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SQLServerDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SQLServerDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.SQLServerDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.SQLServerDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SQLServerDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SQLServerDialect) private static final com.google.cloud.bigquery.migration.v2.SQLServerDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SQLServerDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.SQLServerDialect getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SQLServerDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SQLServerDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQLServerDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SQLServerDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SQLServerDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java new file mode 100644 index 0000000..b8e2cfd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface SQLServerDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SQLServerDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java index be05dd2..d9703d6 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Snowflake.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SnowflakeDialect} */ -public final class SnowflakeDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SnowflakeDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SnowflakeDialect) SnowflakeDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SnowflakeDialect.newBuilder() to construct. private SnowflakeDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SnowflakeDialect() {} + private SnowflakeDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SnowflakeDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SnowflakeDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private SnowflakeDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private SnowflakeDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SnowflakeDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SnowflakeDialect other = - (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) obj; + com.google.cloud.bigquery.migration.v2.SnowflakeDialect other = (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SnowflakeDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Snowflake.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SnowflakeDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SnowflakeDialect) com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SnowflakeDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SnowflakeDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.SnowflakeDialect result = - new com.google.cloud.bigquery.migration.v2.SnowflakeDialect(this); + com.google.cloud.bigquery.migration.v2.SnowflakeDialect result = new com.google.cloud.bigquery.migration.v2.SnowflakeDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SnowflakeDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SnowflakeDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SnowflakeDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SnowflakeDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SnowflakeDialect) private static final com.google.cloud.bigquery.migration.v2.SnowflakeDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SnowflakeDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnowflakeDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SnowflakeDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnowflakeDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SnowflakeDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java new file mode 100644 index 0000000..31b4c4a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface SnowflakeDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SnowflakeDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java similarity index 74% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java index bae4716..8092ce8 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * Represents the default source environment values for the translation.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SourceEnv} */ -public final class SourceEnv extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SourceEnv extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SourceEnv) SourceEnvOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SourceEnv.newBuilder() to construct. private SourceEnv(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SourceEnv() { defaultDatabase_ = ""; schemaSearchPath_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private SourceEnv() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SourceEnv(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SourceEnv( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private SourceEnv( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - defaultDatabase_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - schemaSearchPath_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - schemaSearchPath_.add(s); - break; + defaultDatabase_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + schemaSearchPath_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + schemaSearchPath_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private SourceEnv( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { schemaSearchPath_ = schemaSearchPath_.getUnmodifiableView(); @@ -112,34 +94,28 @@ private SourceEnv( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SourceEnv.class, - com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); + com.google.cloud.bigquery.migration.v2.SourceEnv.class, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); } public static final int DEFAULT_DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object defaultDatabase_; /** - * - * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; - * * @return The defaultDatabase. */ @java.lang.Override @@ -148,30 +124,30 @@ public java.lang.String getDefaultDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; } } /** - * - * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; - * * @return The bytes for defaultDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString + getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -182,45 +158,37 @@ public com.google.protobuf.ByteString getDefaultDatabaseBytes() { public static final int SCHEMA_SEARCH_PATH_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList schemaSearchPath_; /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @return A list containing the schemaSearchPath. */ - public com.google.protobuf.ProtocolStringList getSchemaSearchPathList() { + public com.google.protobuf.ProtocolStringList + getSchemaSearchPathList() { return schemaSearchPath_; } /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @return The count of schemaSearchPath. */ public int getSchemaSearchPathCount() { return schemaSearchPath_.size(); } /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @param index The index of the element to return. * @return The schemaSearchPath at the given index. */ @@ -228,24 +196,21 @@ public java.lang.String getSchemaSearchPath(int index) { return schemaSearchPath_.get(index); } /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @param index The index of the value to return. * @return The bytes of the schemaSearchPath at the given index. */ - public com.google.protobuf.ByteString getSchemaSearchPathBytes(int index) { + public com.google.protobuf.ByteString + getSchemaSearchPathBytes(int index) { return schemaSearchPath_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultDatabase_); } @@ -292,16 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SourceEnv)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SourceEnv other = - (com.google.cloud.bigquery.migration.v2.SourceEnv) obj; + com.google.cloud.bigquery.migration.v2.SourceEnv other = (com.google.cloud.bigquery.migration.v2.SourceEnv) obj; - if (!getDefaultDatabase().equals(other.getDefaultDatabase())) return false; - if (!getSchemaSearchPathList().equals(other.getSchemaSearchPathList())) return false; + if (!getDefaultDatabase() + .equals(other.getDefaultDatabase())) return false; + if (!getSchemaSearchPathList() + .equals(other.getSchemaSearchPathList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,127 +291,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SourceEnv prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the default source environment values for the translation.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SourceEnv} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SourceEnv) com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SourceEnv.class, - com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); + com.google.cloud.bigquery.migration.v2.SourceEnv.class, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SourceEnv.newBuilder() @@ -452,15 +410,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; } @java.lang.Override @@ -493,8 +452,7 @@ public com.google.cloud.bigquery.migration.v2.SourceEnv build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SourceEnv buildPartial() { - com.google.cloud.bigquery.migration.v2.SourceEnv result = - new com.google.cloud.bigquery.migration.v2.SourceEnv(this); + com.google.cloud.bigquery.migration.v2.SourceEnv result = new com.google.cloud.bigquery.migration.v2.SourceEnv(this); int from_bitField0_ = bitField0_; result.defaultDatabase_ = defaultDatabase_; if (((bitField0_ & 0x00000001) != 0)) { @@ -510,39 +468,38 @@ public com.google.cloud.bigquery.migration.v2.SourceEnv buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SourceEnv) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SourceEnv) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SourceEnv)other); } else { super.mergeFrom(other); return this; @@ -550,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SourceEnv other) { - if (other == com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance()) return this; if (!other.getDefaultDatabase().isEmpty()) { defaultDatabase_ = other.defaultDatabase_; onChanged(); @@ -594,26 +550,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object defaultDatabase_ = ""; /** - * - * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; - * * @return The defaultDatabase. */ public java.lang.String getDefaultDatabase() { java.lang.Object ref = defaultDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; @@ -622,22 +575,21 @@ public java.lang.String getDefaultDatabase() { } } /** - * - * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; - * * @return The bytes for defaultDatabase. */ - public com.google.protobuf.ByteString getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString + getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -645,118 +597,101 @@ public com.google.protobuf.ByteString getDefaultDatabaseBytes() { } } /** - * - * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; - * * @param value The defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabase(java.lang.String value) { + public Builder setDefaultDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultDatabase_ = value; onChanged(); return this; } /** - * - * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; - * * @return This builder for chaining. */ public Builder clearDefaultDatabase() { - + defaultDatabase_ = getDefaultInstance().getDefaultDatabase(); onChanged(); return this; } /** - * - * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; - * * @param value The bytes for defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultDatabase_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList schemaSearchPath_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList schemaSearchPath_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSchemaSearchPathIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { schemaSearchPath_ = new com.google.protobuf.LazyStringArrayList(schemaSearchPath_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @return A list containing the schemaSearchPath. */ - public com.google.protobuf.ProtocolStringList getSchemaSearchPathList() { + public com.google.protobuf.ProtocolStringList + getSchemaSearchPathList() { return schemaSearchPath_.getUnmodifiableView(); } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @return The count of schemaSearchPath. */ public int getSchemaSearchPathCount() { return schemaSearchPath_.size(); } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @param index The index of the element to return. * @return The schemaSearchPath at the given index. */ @@ -764,95 +699,85 @@ public java.lang.String getSchemaSearchPath(int index) { return schemaSearchPath_.get(index); } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @param index The index of the value to return. * @return The bytes of the schemaSearchPath at the given index. */ - public com.google.protobuf.ByteString getSchemaSearchPathBytes(int index) { + public com.google.protobuf.ByteString + getSchemaSearchPathBytes(int index) { return schemaSearchPath_.getByteString(index); } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @param index The index to set the value at. * @param value The schemaSearchPath to set. * @return This builder for chaining. */ - public Builder setSchemaSearchPath(int index, java.lang.String value) { + public Builder setSchemaSearchPath( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSchemaSearchPathIsMutable(); + throw new NullPointerException(); + } + ensureSchemaSearchPathIsMutable(); schemaSearchPath_.set(index, value); onChanged(); return this; } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @param value The schemaSearchPath to add. * @return This builder for chaining. */ - public Builder addSchemaSearchPath(java.lang.String value) { + public Builder addSchemaSearchPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSchemaSearchPathIsMutable(); + throw new NullPointerException(); + } + ensureSchemaSearchPathIsMutable(); schemaSearchPath_.add(value); onChanged(); return this; } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @param values The schemaSearchPath to add. * @return This builder for chaining. */ - public Builder addAllSchemaSearchPath(java.lang.Iterable values) { + public Builder addAllSchemaSearchPath( + java.lang.Iterable values) { ensureSchemaSearchPathIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, schemaSearchPath_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, schemaSearchPath_); onChanged(); return this; } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @return This builder for chaining. */ public Builder clearSchemaSearchPath() { @@ -862,31 +787,29 @@ public Builder clearSchemaSearchPath() { return this; } /** - * - * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; - * * @param value The bytes of the schemaSearchPath to add. * @return This builder for chaining. */ - public Builder addSchemaSearchPathBytes(com.google.protobuf.ByteString value) { + public Builder addSchemaSearchPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSchemaSearchPathIsMutable(); schemaSearchPath_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SourceEnv) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SourceEnv) private static final com.google.cloud.bigquery.migration.v2.SourceEnv DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SourceEnv(); } @@ -910,16 +833,16 @@ public static com.google.cloud.bigquery.migration.v2.SourceEnv getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourceEnv parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceEnv(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceEnv parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourceEnv(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SourceEnv getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java index 3067621..000d46f 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java @@ -1,107 +1,76 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface SourceEnvOrBuilder - extends +public interface SourceEnvOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SourceEnv) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; - * * @return The defaultDatabase. */ java.lang.String getDefaultDatabase(); /** - * - * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; - * * @return The bytes for defaultDatabase. */ - com.google.protobuf.ByteString getDefaultDatabaseBytes(); + com.google.protobuf.ByteString + getDefaultDatabaseBytes(); /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @return A list containing the schemaSearchPath. */ - java.util.List getSchemaSearchPathList(); + java.util.List + getSchemaSearchPathList(); /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @return The count of schemaSearchPath. */ int getSchemaSearchPathCount(); /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @param index The index of the element to return. * @return The schemaSearchPath at the given index. */ java.lang.String getSchemaSearchPath(int index); /** - * - * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; - * * @param index The index of the value to return. * @return The bytes of the schemaSearchPath at the given index. */ - com.google.protobuf.ByteString getSchemaSearchPathBytes(int index); + com.google.protobuf.ByteString + getSchemaSearchPathBytes(int index); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java index e654ae3..baede8c 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for SparkSQL.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SparkSQLDialect} */ -public final class SparkSQLDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SparkSQLDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SparkSQLDialect) SparkSQLDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SparkSQLDialect.newBuilder() to construct. private SparkSQLDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SparkSQLDialect() {} + private SparkSQLDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SparkSQLDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SparkSQLDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private SparkSQLDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private SparkSQLDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SparkSQLDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SparkSQLDialect other = - (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) obj; + com.google.cloud.bigquery.migration.v2.SparkSQLDialect other = (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SparkSQLDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for SparkSQL.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SparkSQLDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SparkSQLDialect) com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SparkSQLDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SparkSQLDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.SparkSQLDialect result = - new com.google.cloud.bigquery.migration.v2.SparkSQLDialect(this); + com.google.cloud.bigquery.migration.v2.SparkSQLDialect result = new com.google.cloud.bigquery.migration.v2.SparkSQLDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SparkSQLDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SparkSQLDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SparkSQLDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SparkSQLDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SparkSQLDialect) private static final com.google.cloud.bigquery.migration.v2.SparkSQLDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SparkSQLDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SparkSQLDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SparkSQLDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SparkSQLDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SparkSQLDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java new file mode 100644 index 0000000..2e4186c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface SparkSQLDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SparkSQLDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java similarity index 62% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java index b91ad90..7d64220 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A request to start a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest} */ -public final class StartMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) StartMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartMigrationWorkflowRequest.newBuilder() to construct. private StartMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private StartMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private StartMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,145 +206,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to start a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,16 +343,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override @@ -404,8 +364,7 @@ public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest buil @java.lang.Override public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -415,51 +374,46 @@ public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -483,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -522,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -547,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -627,32 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +594,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..5ce635a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface StartMigrationWorkflowRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java index e801b76..203e3de 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Teradata.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TeradataDialect} */ -public final class TeradataDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TeradataDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TeradataDialect) TeradataDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TeradataDialect.newBuilder() to construct. private TeradataDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TeradataDialect() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TeradataDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TeradataDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private TeradataDialect( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mode_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,36 @@ private TeradataDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TeradataDialect.class, - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.TeradataDialect.class, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); } /** - * - * *
    * The sub-dialect options for Teradata.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.TeradataDialect.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified mode.
      * 
@@ -134,8 +111,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * Teradata SQL mode.
      * 
@@ -144,8 +119,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ SQL(1), /** - * - * *
      * BTEQ mode (which includes SQL).
      * 
@@ -157,8 +130,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified mode.
      * 
@@ -167,8 +138,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Teradata SQL mode.
      * 
@@ -177,8 +146,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SQL_VALUE = 1; /** - * - * *
      * BTEQ mode (which includes SQL).
      * 
@@ -187,6 +154,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BTEQ_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -211,51 +179,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return SQL; - case 2: - return BTEQ; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return SQL; + case 2: return BTEQ; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -275,43 +241,31 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** - * - * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return The mode. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = - com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); - return result == null - ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); + return result == null ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,10 +277,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (mode_ - != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mode_ != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, mode_); } unknownFields.writeTo(output); @@ -338,10 +291,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ - != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); + if (mode_ != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, mode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -351,13 +303,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TeradataDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TeradataDialect other = - (com.google.cloud.bigquery.migration.v2.TeradataDialect) obj; + com.google.cloud.bigquery.migration.v2.TeradataDialect other = (com.google.cloud.bigquery.migration.v2.TeradataDialect) obj; if (mode_ != other.mode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -379,127 +330,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.TeradataDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TeradataDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Teradata.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TeradataDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TeradataDialect) com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TeradataDialect.class, - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.TeradataDialect.class, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.TeradataDialect.newBuilder() @@ -507,15 +448,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; } @java.lang.Override @@ -546,8 +488,7 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.TeradataDialect result = - new com.google.cloud.bigquery.migration.v2.TeradataDialect(this); + com.google.cloud.bigquery.migration.v2.TeradataDialect result = new com.google.cloud.bigquery.migration.v2.TeradataDialect(this); result.mode_ = mode_; onBuilt(); return result; @@ -557,39 +498,38 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.TeradataDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.TeradataDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.TeradataDialect)other); } else { super.mergeFrom(other); return this; @@ -597,8 +537,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TeradataDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -621,8 +560,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.TeradataDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.TeradataDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,67 +572,51 @@ public Builder mergeFrom( private int mode_ = 0; /** - * - * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return The mode. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = - com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); - return result == null - ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); + return result == null ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -702,31 +624,28 @@ public Builder setMode(com.google.cloud.bigquery.migration.v2.TeradataDialect.Mo if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -736,12 +655,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TeradataDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TeradataDialect) private static final com.google.cloud.bigquery.migration.v2.TeradataDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TeradataDialect(); } @@ -750,16 +669,16 @@ public static com.google.cloud.bigquery.migration.v2.TeradataDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TeradataDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TeradataDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TeradataDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TeradataDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -774,4 +693,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TeradataDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java similarity index 56% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java index bf63208..27bfd7d 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface TeradataDialectOrBuilder - extends +public interface TeradataDialectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TeradataDialect) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; - * * @return The mode. */ com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode(); diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java index 9dba885..d7e212c 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A time interval extending just after a start time through an end time.
  * If the start time is the same as the end time, then the interval
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeInterval}
  */
-public final class TimeInterval extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimeInterval extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TimeInterval)
     TimeIntervalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimeInterval.newBuilder() to construct.
   private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TimeInterval() {}
+  private TimeInterval() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimeInterval();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimeInterval(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,43 +54,39 @@ private TimeInterval(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
+            }
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,36 @@ private TimeInterval(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
-        .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
-        .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.TimeInterval.class,
-            com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
+            com.google.cloud.bigquery.migration.v2.TimeInterval.class, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -157,17 +131,13 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ @java.lang.Override @@ -175,16 +145,13 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -194,14 +161,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -209,14 +173,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ @java.lang.Override @@ -224,8 +185,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Required. The end of the time interval.
    * 
@@ -238,7 +197,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -267,10 +226,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +241,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TimeInterval)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TimeInterval other = - (com.google.cloud.bigquery.migration.v2.TimeInterval) obj; + com.google.cloud.bigquery.migration.v2.TimeInterval other = (com.google.cloud.bigquery.migration.v2.TimeInterval) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,103 +283,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TimeInterval prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A time interval extending just after a start time through an end time.
    * If the start time is the same as the end time, then the interval
@@ -426,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeInterval}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TimeInterval)
       com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
-          .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
-          .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.TimeInterval.class,
-              com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
+              com.google.cloud.bigquery.migration.v2.TimeInterval.class, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.TimeInterval.newBuilder()
@@ -450,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +432,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
-          .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +453,7 @@ public com.google.cloud.bigquery.migration.v2.TimeInterval build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.TimeInterval buildPartial() {
-      com.google.cloud.bigquery.migration.v2.TimeInterval result =
-          new com.google.cloud.bigquery.migration.v2.TimeInterval(this);
+      com.google.cloud.bigquery.migration.v2.TimeInterval result = new com.google.cloud.bigquery.migration.v2.TimeInterval(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -519,39 +472,38 @@ public com.google.cloud.bigquery.migration.v2.TimeInterval buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.TimeInterval) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeInterval) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeInterval)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TimeInterval other) {
-      if (other == com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -586,8 +537,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.TimeInterval) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.TimeInterval) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -599,39 +549,28 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -642,16 +581,13 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -667,18 +603,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -689,22 +623,19 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -716,16 +647,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -739,65 +667,54 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -805,35 +722,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -844,14 +750,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -867,16 +770,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -887,20 +788,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -912,14 +810,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -933,66 +828,55 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TimeInterval) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TimeInterval) private static final com.google.cloud.bigquery.migration.v2.TimeInterval DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TimeInterval(); } @@ -1016,16 +900,16 @@ public static com.google.cloud.bigquery.migration.v2.TimeInterval getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeInterval parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeInterval(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeInterval parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeInterval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,4 +924,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TimeInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java index 2b110bf..737ce43 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java @@ -1,99 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface TimeIntervalOrBuilder - extends +public interface TimeIntervalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TimeInterval) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Required. The end of the time interval.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java index 8cd0c2e..29fcc2b 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The metrics object for a SubTask.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeSeries} */ -public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeSeries extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TimeSeries) TimeSeriesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeSeries() { metric_ = ""; valueType_ = 0; @@ -46,15 +28,16 @@ private TimeSeries() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,45 +57,40 @@ private TimeSeries( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - metric_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + metric_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - valueType_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + valueType_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - metricKind_ = rawValue; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - points_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2.Point.parser(), extensionRegistry)); - break; + metricKind_ = rawValue; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + points_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2.Point.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,7 +98,8 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -129,34 +108,28 @@ private TimeSeries( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TimeSeries.class, - com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2.TimeSeries.class, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); } public static final int METRIC_FIELD_NUMBER = 1; private volatile java.lang.Object metric_; /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The metric. */ @java.lang.Override @@ -165,30 +138,30 @@ public java.lang.String getMetric() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; } } /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for metric. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricBytes() { + public com.google.protobuf.ByteString + getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metric_ = b; return b; } else { @@ -199,48 +172,33 @@ public com.google.protobuf.ByteString getMetricBytes() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_; /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The valueType. */ - @java.lang.Override - public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int METRIC_KIND_FIELD_NUMBER = 3; private int metricKind_; /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -249,19 +207,13 @@ public com.google.api.MetricDescriptor.ValueType getValueType() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -270,25 +222,18 @@ public int getMetricKindValue() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The metricKind. */ - @java.lang.Override - public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int POINTS_FIELD_NUMBER = 4; private java.util.List points_; /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -299,17 +244,13 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getPointsList() { return points_; } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -320,18 +261,14 @@ public java.util.List getPointsLis
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getPointsOrBuilderList() { return points_; } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -342,17 +279,13 @@ public java.util.List getPointsLis
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -363,17 +296,13 @@ public int getPointsCount() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) { return points_.get(index); } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -384,17 +313,15 @@ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( + int index) { return points_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,16 +333,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metric_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, valueType_); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { @@ -433,16 +359,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metric_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, valueType_); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, points_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, points_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -452,18 +379,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TimeSeries)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TimeSeries other = - (com.google.cloud.bigquery.migration.v2.TimeSeries) obj; + com.google.cloud.bigquery.migration.v2.TimeSeries other = (com.google.cloud.bigquery.migration.v2.TimeSeries) obj; - if (!getMetric().equals(other.getMetric())) return false; + if (!getMetric() + .equals(other.getMetric())) return false; if (valueType_ != other.valueType_) return false; if (metricKind_ != other.metricKind_) return false; - if (!getPointsList().equals(other.getPointsList())) return false; + if (!getPointsList() + .equals(other.getPointsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,126 +419,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metrics object for a SubTask.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeSeries} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TimeSeries) com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TimeSeries.class, - com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2.TimeSeries.class, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.TimeSeries.newBuilder() @@ -618,17 +537,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; } @java.lang.Override @@ -669,8 +588,7 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.TimeSeries buildPartial() { - com.google.cloud.bigquery.migration.v2.TimeSeries result = - new com.google.cloud.bigquery.migration.v2.TimeSeries(this); + com.google.cloud.bigquery.migration.v2.TimeSeries result = new com.google.cloud.bigquery.migration.v2.TimeSeries(this); int from_bitField0_ = bitField0_; result.metric_ = metric_; result.valueType_ = valueType_; @@ -692,39 +610,38 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.TimeSeries) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeSeries) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeSeries)other); } else { super.mergeFrom(other); return this; @@ -732,8 +649,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TimeSeries other) { - if (other == com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()) return this; if (!other.getMetric().isEmpty()) { metric_ = other.metric_; onChanged(); @@ -762,10 +678,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TimeSeries other pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPointsFieldBuilder() - : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointsFieldBuilder() : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -790,8 +705,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.TimeSeries) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -800,26 +714,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object metric_ = ""; /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The metric. */ public java.lang.String getMetric() { java.lang.Object ref = metric_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; @@ -828,22 +739,21 @@ public java.lang.String getMetric() { } } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for metric. */ - public com.google.protobuf.ByteString getMetricBytes() { + public com.google.protobuf.ByteString + getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metric_ = b; return b; } else { @@ -851,64 +761,57 @@ public com.google.protobuf.ByteString getMetricBytes() { } } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The metric to set. * @return This builder for chaining. */ - public Builder setMetric(java.lang.String value) { + public Builder setMetric( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metric_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMetric() { - + metric_ = getDefaultInstance().getMetric(); onChanged(); return this; } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for metric to set. * @return This builder for chaining. */ - public Builder setMetricBytes(com.google.protobuf.ByteString value) { + public Builder setMetricBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metric_ = value; onChanged(); return this; @@ -916,73 +819,51 @@ public Builder setMetricBytes(com.google.protobuf.ByteString value) { private int valueType_ = 0; /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The valueType to set. * @return This builder for chaining. */ @@ -990,26 +871,21 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; @@ -1017,8 +893,6 @@ public Builder clearValueType() { private int metricKind_ = 0; /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1027,19 +901,13 @@ public Builder clearValueType() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1048,22 +916,17 @@ public int getMetricKindValue() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1072,22 +935,16 @@ public Builder setMetricKindValue(int value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1096,10 +953,7 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The metricKind to set. * @return This builder for chaining. */ @@ -1107,14 +961,12 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1123,38 +975,29 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; } private java.util.List points_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Point, - com.google.cloud.bigquery.migration.v2.Point.Builder, - com.google.cloud.bigquery.migration.v2.PointOrBuilder> - pointsBuilder_; + com.google.cloud.bigquery.migration.v2.Point, com.google.cloud.bigquery.migration.v2.Point.Builder, com.google.cloud.bigquery.migration.v2.PointOrBuilder> pointsBuilder_; /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1165,9 +1008,7 @@ private void ensurePointsIsMutable() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPointsList() { if (pointsBuilder_ == null) { @@ -1177,8 +1018,6 @@ public java.util.List getPointsLis } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1189,9 +1028,7 @@ public java.util.List getPointsLis
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public int getPointsCount() { if (pointsBuilder_ == null) { @@ -1201,8 +1038,6 @@ public int getPointsCount() { } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1213,9 +1048,7 @@ public int getPointsCount() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) { if (pointsBuilder_ == null) { @@ -1225,8 +1058,6 @@ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) { } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1237,11 +1068,10 @@ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2.Point value) { + public Builder setPoints( + int index, com.google.cloud.bigquery.migration.v2.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1255,8 +1085,6 @@ public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2.Point return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1267,9 +1095,7 @@ public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2.Point
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPoints( int index, com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { @@ -1283,8 +1109,6 @@ public Builder setPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1295,9 +1119,7 @@ public Builder setPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point value) { if (pointsBuilder_ == null) { @@ -1313,8 +1135,6 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point value) { return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1325,11 +1145,10 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point value) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2.Point value) { + public Builder addPoints( + int index, com.google.cloud.bigquery.migration.v2.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1343,8 +1162,6 @@ public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2.Point return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1355,11 +1172,10 @@ public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2.Point
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { + public Builder addPoints( + com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(builderForValue.build()); @@ -1370,8 +1186,6 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point.Builder bu return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1382,9 +1196,7 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point.Builder bu
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addPoints( int index, com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { @@ -1398,8 +1210,6 @@ public Builder addPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1410,15 +1220,14 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllPoints( java.lang.Iterable values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); @@ -1426,8 +1235,6 @@ public Builder addAllPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1438,9 +1245,7 @@ public Builder addAllPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPoints() { if (pointsBuilder_ == null) { @@ -1453,8 +1258,6 @@ public Builder clearPoints() { return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1465,9 +1268,7 @@ public Builder clearPoints() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { @@ -1480,8 +1281,6 @@ public Builder removePoints(int index) { return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1492,16 +1291,13 @@ public Builder removePoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2.Point.Builder getPointsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.Point.Builder getPointsBuilder( + int index) { return getPointsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1512,20 +1308,16 @@ public com.google.cloud.bigquery.migration.v2.Point.Builder getPointsBuilder(int
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( + int index) { if (pointsBuilder_ == null) { - return points_.get(index); - } else { + return points_.get(index); } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1536,12 +1328,10 @@ public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getPointsOrBuilderList() { + public java.util.List + getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { @@ -1549,8 +1339,6 @@ public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1561,17 +1349,13 @@ public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder() { - return getPointsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); + return getPointsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1582,17 +1366,14 @@ public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder(int index) { - return getPointsFieldBuilder() - .addBuilder(index, com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder( + int index) { + return getPointsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1603,34 +1384,29 @@ public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder(int
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getPointsBuilderList() { + public java.util.List + getPointsBuilderList() { return getPointsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Point, - com.google.cloud.bigquery.migration.v2.Point.Builder, - com.google.cloud.bigquery.migration.v2.PointOrBuilder> + com.google.cloud.bigquery.migration.v2.Point, com.google.cloud.bigquery.migration.v2.Point.Builder, com.google.cloud.bigquery.migration.v2.PointOrBuilder> getPointsFieldBuilder() { if (pointsBuilder_ == null) { - pointsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Point, - com.google.cloud.bigquery.migration.v2.Point.Builder, - com.google.cloud.bigquery.migration.v2.PointOrBuilder>( - points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.Point, com.google.cloud.bigquery.migration.v2.Point.Builder, com.google.cloud.bigquery.migration.v2.PointOrBuilder>( + points_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); points_ = null; } return pointsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1640,12 +1416,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TimeSeries) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TimeSeries) private static final com.google.cloud.bigquery.migration.v2.TimeSeries DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TimeSeries(); } @@ -1654,16 +1430,16 @@ public static com.google.cloud.bigquery.migration.v2.TimeSeries getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1678,4 +1454,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java index 984b161..f0f3d45 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java @@ -1,87 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface TimeSeriesOrBuilder - extends +public interface TimeSeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TimeSeries) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The metric. */ java.lang.String getMetric(); /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for metric. */ - com.google.protobuf.ByteString getMetricBytes(); + com.google.protobuf.ByteString + getMetricBytes(); /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -90,16 +57,11 @@ public interface TimeSeriesOrBuilder
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -108,17 +70,12 @@ public interface TimeSeriesOrBuilder
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -129,14 +86,11 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getPointsList(); + java.util.List + getPointsList(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -147,14 +101,10 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.migration.v2.Point getPoints(int index); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -165,14 +115,10 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getPointsCount(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -183,15 +129,11 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getPointsOrBuilderList(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -202,9 +144,8 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java index 0541bc1..205934e 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The translation config to capture necessary settings for a translation task
  * and subtask.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.TranslationConfigDetails}
  */
-public final class TranslationConfigDetails extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TranslationConfigDetails extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TranslationConfigDetails)
     TranslationConfigDetailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TranslationConfigDetails.newBuilder() to construct.
   private TranslationConfigDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TranslationConfigDetails() {}
+  private TranslationConfigDetails() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TranslationConfigDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TranslationConfigDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,98 +53,78 @@ private TranslationConfigDetails(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              sourceLocationCase_ = 1;
-              sourceLocation_ = s;
-              break;
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
+            sourceLocationCase_ = 1;
+            sourceLocation_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            targetLocationCase_ = 2;
+            targetLocation_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
+            if (sourceDialect_ != null) {
+              subBuilder = sourceDialect_.toBuilder();
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              targetLocationCase_ = 2;
-              targetLocation_ = s;
-              break;
+            sourceDialect_ = input.readMessage(com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sourceDialect_);
+              sourceDialect_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
-              if (sourceDialect_ != null) {
-                subBuilder = sourceDialect_.toBuilder();
-              }
-              sourceDialect_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sourceDialect_);
-                sourceDialect_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
+            if (targetDialect_ != null) {
+              subBuilder = targetDialect_.toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
-              if (targetDialect_ != null) {
-                subBuilder = targetDialect_.toBuilder();
-              }
-              targetDialect_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(targetDialect_);
-                targetDialect_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetDialect_ = input.readMessage(com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(targetDialect_);
+              targetDialect_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder subBuilder =
-                  null;
-              if (outputNameMappingCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)
-                            outputNameMapping_)
-                        .toBuilder();
-              }
-              outputNameMapping_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)
-                        outputNameMapping_);
-                outputNameMapping_ = subBuilder.buildPartial();
-              }
-              outputNameMappingCase_ = 5;
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder subBuilder = null;
+            if (outputNameMappingCase_ == 5) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_).toBuilder();
+            }
+            outputNameMapping_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_);
+              outputNameMapping_ = subBuilder.buildPartial();
+            }
+            outputNameMappingCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.bigquery.migration.v2.SourceEnv.Builder subBuilder = null;
+            if (sourceEnv_ != null) {
+              subBuilder = sourceEnv_.toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.bigquery.migration.v2.SourceEnv.Builder subBuilder = null;
-              if (sourceEnv_ != null) {
-                subBuilder = sourceEnv_.toBuilder();
-              }
-              sourceEnv_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2.SourceEnv.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sourceEnv_);
-                sourceEnv_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sourceEnv_ = input.readMessage(com.google.cloud.bigquery.migration.v2.SourceEnv.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sourceEnv_);
+              sourceEnv_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -168,39 +132,34 @@ private TranslationConfigDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-        .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class,
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
   }
 
   private int sourceLocationCase_ = 0;
   private java.lang.Object sourceLocation_;
-
   public enum SourceLocationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_SOURCE_PATH(1),
     SOURCELOCATION_NOT_SET(0);
     private final int value;
-
     private SourceLocationCase(int value) {
       this.value = value;
     }
@@ -216,35 +175,30 @@ public static SourceLocationCase valueOf(int value) {
 
     public static SourceLocationCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return GCS_SOURCE_PATH;
-        case 0:
-          return SOURCELOCATION_NOT_SET;
-        default:
-          return null;
+        case 1: return GCS_SOURCE_PATH;
+        case 0: return SOURCELOCATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceLocationCase getSourceLocationCase() {
-    return SourceLocationCase.forNumber(sourceLocationCase_);
+  public SourceLocationCase
+  getSourceLocationCase() {
+    return SourceLocationCase.forNumber(
+        sourceLocationCase_);
   }
 
   private int targetLocationCase_ = 0;
   private java.lang.Object targetLocation_;
-
   public enum TargetLocationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_TARGET_PATH(2),
     TARGETLOCATION_NOT_SET(0);
     private final int value;
-
     private TargetLocationCase(int value) {
       this.value = value;
     }
@@ -260,35 +214,30 @@ public static TargetLocationCase valueOf(int value) {
 
     public static TargetLocationCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return GCS_TARGET_PATH;
-        case 0:
-          return TARGETLOCATION_NOT_SET;
-        default:
-          return null;
+        case 2: return GCS_TARGET_PATH;
+        case 0: return TARGETLOCATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetLocationCase getTargetLocationCase() {
-    return TargetLocationCase.forNumber(targetLocationCase_);
+  public TargetLocationCase
+  getTargetLocationCase() {
+    return TargetLocationCase.forNumber(
+        targetLocationCase_);
   }
 
   private int outputNameMappingCase_ = 0;
   private java.lang.Object outputNameMapping_;
-
   public enum OutputNameMappingCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NAME_MAPPING_LIST(5),
     OUTPUTNAMEMAPPING_NOT_SET(0);
     private final int value;
-
     private OutputNameMappingCase(int value) {
       this.value = value;
     }
@@ -304,48 +253,40 @@ public static OutputNameMappingCase valueOf(int value) {
 
     public static OutputNameMappingCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return NAME_MAPPING_LIST;
-        case 0:
-          return OUTPUTNAMEMAPPING_NOT_SET;
-        default:
-          return null;
+        case 5: return NAME_MAPPING_LIST;
+        case 0: return OUTPUTNAMEMAPPING_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public OutputNameMappingCase getOutputNameMappingCase() {
-    return OutputNameMappingCase.forNumber(outputNameMappingCase_);
+  public OutputNameMappingCase
+  getOutputNameMappingCase() {
+    return OutputNameMappingCase.forNumber(
+        outputNameMappingCase_);
   }
 
   public static final int GCS_SOURCE_PATH_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; - * * @return Whether the gcsSourcePath field is set. */ public boolean hasGcsSourcePath() { return sourceLocationCase_ == 1; } /** - * - * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; - * * @return The gcsSourcePath. */ public java.lang.String getGcsSourcePath() { @@ -356,7 +297,8 @@ public java.lang.String getGcsSourcePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceLocationCase_ == 1) { sourceLocation_ = s; @@ -365,24 +307,23 @@ public java.lang.String getGcsSourcePath() { } } /** - * - * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; - * * @return The bytes for gcsSourcePath. */ - public com.google.protobuf.ByteString getGcsSourcePathBytes() { + public com.google.protobuf.ByteString + getGcsSourcePathBytes() { java.lang.Object ref = ""; if (sourceLocationCase_ == 1) { ref = sourceLocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceLocationCase_ == 1) { sourceLocation_ = b; } @@ -394,28 +335,22 @@ public com.google.protobuf.ByteString getGcsSourcePathBytes() { public static final int GCS_TARGET_PATH_FIELD_NUMBER = 2; /** - * - * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; - * * @return Whether the gcsTargetPath field is set. */ public boolean hasGcsTargetPath() { return targetLocationCase_ == 2; } /** - * - * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; - * * @return The gcsTargetPath. */ public java.lang.String getGcsTargetPath() { @@ -426,7 +361,8 @@ public java.lang.String getGcsTargetPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetLocationCase_ == 2) { targetLocation_ = s; @@ -435,24 +371,23 @@ public java.lang.String getGcsTargetPath() { } } /** - * - * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; - * * @return The bytes for gcsTargetPath. */ - public com.google.protobuf.ByteString getGcsTargetPathBytes() { + public com.google.protobuf.ByteString + getGcsTargetPathBytes() { java.lang.Object ref = ""; if (targetLocationCase_ == 2) { ref = targetLocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (targetLocationCase_ == 2) { targetLocation_ = b; } @@ -465,14 +400,11 @@ public com.google.protobuf.ByteString getGcsTargetPathBytes() { public static final int SOURCE_DIALECT_FIELD_NUMBER = 3; private com.google.cloud.bigquery.migration.v2.Dialect sourceDialect_; /** - * - * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; - * * @return Whether the sourceDialect field is set. */ @java.lang.Override @@ -480,25 +412,18 @@ public boolean hasSourceDialect() { return sourceDialect_ != null; } /** - * - * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; - * * @return The sourceDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.Dialect getSourceDialect() { - return sourceDialect_ == null - ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() - : sourceDialect_; + return sourceDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : sourceDialect_; } /** - * - * *
    * The dialect of the input files.
    * 
@@ -513,14 +438,11 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO public static final int TARGET_DIALECT_FIELD_NUMBER = 4; private com.google.cloud.bigquery.migration.v2.Dialect targetDialect_; /** - * - * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; - * * @return Whether the targetDialect field is set. */ @java.lang.Override @@ -528,25 +450,18 @@ public boolean hasTargetDialect() { return targetDialect_ != null; } /** - * - * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; - * * @return The targetDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.Dialect getTargetDialect() { - return targetDialect_ == null - ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() - : targetDialect_; + return targetDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : targetDialect_; } /** - * - * *
    * The target dialect for the engine to translate the input to.
    * 
@@ -560,14 +475,11 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectO public static final int NAME_MAPPING_LIST_FIELD_NUMBER = 5; /** - * - * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; - * * @return Whether the nameMappingList field is set. */ @java.lang.Override @@ -575,26 +487,21 @@ public boolean hasNameMappingList() { return outputNameMappingCase_ == 5; } /** - * - * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; - * * @return The nameMappingList. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappingList() { if (outputNameMappingCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; + return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; } return com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); } /** - * - * *
    * The mapping of objects to their desired output names in list form.
    * 
@@ -602,10 +509,9 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappi * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder - getNameMappingListOrBuilder() { + public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder getNameMappingListOrBuilder() { if (outputNameMappingCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; + return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; } return com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); } @@ -613,14 +519,11 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappi public static final int SOURCE_ENV_FIELD_NUMBER = 6; private com.google.cloud.bigquery.migration.v2.SourceEnv sourceEnv_; /** - * - * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; - * * @return Whether the sourceEnv field is set. */ @java.lang.Override @@ -628,25 +531,18 @@ public boolean hasSourceEnv() { return sourceEnv_ != null; } /** - * - * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; - * * @return The sourceEnv. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SourceEnv getSourceEnv() { - return sourceEnv_ == null - ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() - : sourceEnv_; + return sourceEnv_ == null ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() : sourceEnv_; } /** - * - * *
    * The default source environment values for the translation.
    * 
@@ -659,7 +555,6 @@ public com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -671,7 +566,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sourceLocationCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceLocation_); } @@ -685,8 +581,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(4, getTargetDialect()); } if (outputNameMappingCase_ == 5) { - output.writeMessage( - 5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); + output.writeMessage(5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); } if (sourceEnv_ != null) { output.writeMessage(6, getSourceEnv()); @@ -707,18 +602,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetLocation_); } if (sourceDialect_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSourceDialect()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSourceDialect()); } if (targetDialect_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTargetDialect()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTargetDialect()); } if (outputNameMappingCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); } if (sourceEnv_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSourceEnv()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSourceEnv()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -728,30 +625,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TranslationConfigDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other = - (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) obj; + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other = (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) obj; if (hasSourceDialect() != other.hasSourceDialect()) return false; if (hasSourceDialect()) { - if (!getSourceDialect().equals(other.getSourceDialect())) return false; + if (!getSourceDialect() + .equals(other.getSourceDialect())) return false; } if (hasTargetDialect() != other.hasTargetDialect()) return false; if (hasTargetDialect()) { - if (!getTargetDialect().equals(other.getTargetDialect())) return false; + if (!getTargetDialect() + .equals(other.getTargetDialect())) return false; } if (hasSourceEnv() != other.hasSourceEnv()) return false; if (hasSourceEnv()) { - if (!getSourceEnv().equals(other.getSourceEnv())) return false; + if (!getSourceEnv() + .equals(other.getSourceEnv())) return false; } if (!getSourceLocationCase().equals(other.getSourceLocationCase())) return false; switch (sourceLocationCase_) { case 1: - if (!getGcsSourcePath().equals(other.getGcsSourcePath())) return false; + if (!getGcsSourcePath() + .equals(other.getGcsSourcePath())) return false; break; case 0: default: @@ -759,7 +659,8 @@ public boolean equals(final java.lang.Object obj) { if (!getTargetLocationCase().equals(other.getTargetLocationCase())) return false; switch (targetLocationCase_) { case 2: - if (!getGcsTargetPath().equals(other.getGcsTargetPath())) return false; + if (!getGcsTargetPath() + .equals(other.getGcsTargetPath())) return false; break; case 0: default: @@ -767,7 +668,8 @@ public boolean equals(final java.lang.Object obj) { if (!getOutputNameMappingCase().equals(other.getOutputNameMappingCase())) return false; switch (outputNameMappingCase_) { case 5: - if (!getNameMappingList().equals(other.getNameMappingList())) return false; + if (!getNameMappingList() + .equals(other.getNameMappingList())) return false; break; case 0: default: @@ -825,104 +727,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The translation config to capture necessary settings for a translation task
    * and subtask.
@@ -930,23 +824,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.TranslationConfigDetails}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TranslationConfigDetails)
       com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class,
-              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
+              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.newBuilder()
@@ -954,15 +846,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -994,14 +887,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
-          .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance();
     }
 
@@ -1016,8 +908,7 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails buildPartial() {
-      com.google.cloud.bigquery.migration.v2.TranslationConfigDetails result =
-          new com.google.cloud.bigquery.migration.v2.TranslationConfigDetails(this);
+      com.google.cloud.bigquery.migration.v2.TranslationConfigDetails result = new com.google.cloud.bigquery.migration.v2.TranslationConfigDetails(this);
       if (sourceLocationCase_ == 1) {
         result.sourceLocation_ = sourceLocation_;
       }
@@ -1057,50 +948,46 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other) {
-      if (other
-          == com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other) {
+      if (other == com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance()) return this;
       if (other.hasSourceDialect()) {
         mergeSourceDialect(other.getSourceDialect());
       }
@@ -1111,41 +998,35 @@ public Builder mergeFrom(
         mergeSourceEnv(other.getSourceEnv());
       }
       switch (other.getSourceLocationCase()) {
-        case GCS_SOURCE_PATH:
-          {
-            sourceLocationCase_ = 1;
-            sourceLocation_ = other.sourceLocation_;
-            onChanged();
-            break;
-          }
-        case SOURCELOCATION_NOT_SET:
-          {
-            break;
-          }
+        case GCS_SOURCE_PATH: {
+          sourceLocationCase_ = 1;
+          sourceLocation_ = other.sourceLocation_;
+          onChanged();
+          break;
+        }
+        case SOURCELOCATION_NOT_SET: {
+          break;
+        }
       }
       switch (other.getTargetLocationCase()) {
-        case GCS_TARGET_PATH:
-          {
-            targetLocationCase_ = 2;
-            targetLocation_ = other.targetLocation_;
-            onChanged();
-            break;
-          }
-        case TARGETLOCATION_NOT_SET:
-          {
-            break;
-          }
+        case GCS_TARGET_PATH: {
+          targetLocationCase_ = 2;
+          targetLocation_ = other.targetLocation_;
+          onChanged();
+          break;
+        }
+        case TARGETLOCATION_NOT_SET: {
+          break;
+        }
       }
       switch (other.getOutputNameMappingCase()) {
-        case NAME_MAPPING_LIST:
-          {
-            mergeNameMappingList(other.getNameMappingList());
-            break;
-          }
-        case OUTPUTNAMEMAPPING_NOT_SET:
-          {
-            break;
-          }
+        case NAME_MAPPING_LIST: {
+          mergeNameMappingList(other.getNameMappingList());
+          break;
+        }
+        case OUTPUTNAMEMAPPING_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1166,9 +1047,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1177,12 +1056,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int sourceLocationCase_ = 0;
     private java.lang.Object sourceLocation_;
-
-    public SourceLocationCase getSourceLocationCase() {
-      return SourceLocationCase.forNumber(sourceLocationCase_);
+    public SourceLocationCase
+        getSourceLocationCase() {
+      return SourceLocationCase.forNumber(
+          sourceLocationCase_);
     }
 
     public Builder clearSourceLocation() {
@@ -1194,9 +1073,10 @@ public Builder clearSourceLocation() {
 
     private int targetLocationCase_ = 0;
     private java.lang.Object targetLocation_;
-
-    public TargetLocationCase getTargetLocationCase() {
-      return TargetLocationCase.forNumber(targetLocationCase_);
+    public TargetLocationCase
+        getTargetLocationCase() {
+      return TargetLocationCase.forNumber(
+          targetLocationCase_);
     }
 
     public Builder clearTargetLocation() {
@@ -1208,9 +1088,10 @@ public Builder clearTargetLocation() {
 
     private int outputNameMappingCase_ = 0;
     private java.lang.Object outputNameMapping_;
-
-    public OutputNameMappingCase getOutputNameMappingCase() {
-      return OutputNameMappingCase.forNumber(outputNameMappingCase_);
+    public OutputNameMappingCase
+        getOutputNameMappingCase() {
+      return OutputNameMappingCase.forNumber(
+          outputNameMappingCase_);
     }
 
     public Builder clearOutputNameMapping() {
@@ -1220,15 +1101,13 @@ public Builder clearOutputNameMapping() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; - * * @return Whether the gcsSourcePath field is set. */ @java.lang.Override @@ -1236,14 +1115,11 @@ public boolean hasGcsSourcePath() { return sourceLocationCase_ == 1; } /** - * - * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; - * * @return The gcsSourcePath. */ @java.lang.Override @@ -1253,7 +1129,8 @@ public java.lang.String getGcsSourcePath() { ref = sourceLocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceLocationCase_ == 1) { sourceLocation_ = s; @@ -1264,25 +1141,24 @@ public java.lang.String getGcsSourcePath() { } } /** - * - * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; - * * @return The bytes for gcsSourcePath. */ @java.lang.Override - public com.google.protobuf.ByteString getGcsSourcePathBytes() { + public com.google.protobuf.ByteString + getGcsSourcePathBytes() { java.lang.Object ref = ""; if (sourceLocationCase_ == 1) { ref = sourceLocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceLocationCase_ == 1) { sourceLocation_ = b; } @@ -1292,35 +1168,30 @@ public com.google.protobuf.ByteString getGcsSourcePathBytes() { } } /** - * - * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; - * * @param value The gcsSourcePath to set. * @return This builder for chaining. */ - public Builder setGcsSourcePath(java.lang.String value) { + public Builder setGcsSourcePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceLocationCase_ = 1; + throw new NullPointerException(); + } + sourceLocationCase_ = 1; sourceLocation_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; - * * @return This builder for chaining. */ public Builder clearGcsSourcePath() { @@ -1332,22 +1203,20 @@ public Builder clearGcsSourcePath() { return this; } /** - * - * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; - * * @param value The bytes for gcsSourcePath to set. * @return This builder for chaining. */ - public Builder setGcsSourcePathBytes(com.google.protobuf.ByteString value) { + public Builder setGcsSourcePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceLocationCase_ = 1; sourceLocation_ = value; onChanged(); @@ -1355,14 +1224,11 @@ public Builder setGcsSourcePathBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; - * * @return Whether the gcsTargetPath field is set. */ @java.lang.Override @@ -1370,14 +1236,11 @@ public boolean hasGcsTargetPath() { return targetLocationCase_ == 2; } /** - * - * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; - * * @return The gcsTargetPath. */ @java.lang.Override @@ -1387,7 +1250,8 @@ public java.lang.String getGcsTargetPath() { ref = targetLocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetLocationCase_ == 2) { targetLocation_ = s; @@ -1398,25 +1262,24 @@ public java.lang.String getGcsTargetPath() { } } /** - * - * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; - * * @return The bytes for gcsTargetPath. */ @java.lang.Override - public com.google.protobuf.ByteString getGcsTargetPathBytes() { + public com.google.protobuf.ByteString + getGcsTargetPathBytes() { java.lang.Object ref = ""; if (targetLocationCase_ == 2) { ref = targetLocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (targetLocationCase_ == 2) { targetLocation_ = b; } @@ -1426,35 +1289,30 @@ public com.google.protobuf.ByteString getGcsTargetPathBytes() { } } /** - * - * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; - * * @param value The gcsTargetPath to set. * @return This builder for chaining. */ - public Builder setGcsTargetPath(java.lang.String value) { + public Builder setGcsTargetPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetLocationCase_ = 2; + throw new NullPointerException(); + } + targetLocationCase_ = 2; targetLocation_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; - * * @return This builder for chaining. */ public Builder clearGcsTargetPath() { @@ -1466,22 +1324,20 @@ public Builder clearGcsTargetPath() { return this; } /** - * - * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; - * * @param value The bytes for gcsTargetPath to set. * @return This builder for chaining. */ - public Builder setGcsTargetPathBytes(com.google.protobuf.ByteString value) { + public Builder setGcsTargetPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetLocationCase_ = 2; targetLocation_ = value; onChanged(); @@ -1490,47 +1346,34 @@ public Builder setGcsTargetPathBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.migration.v2.Dialect sourceDialect_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, - com.google.cloud.bigquery.migration.v2.Dialect.Builder, - com.google.cloud.bigquery.migration.v2.DialectOrBuilder> - sourceDialectBuilder_; + com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> sourceDialectBuilder_; /** - * - * *
      * The dialect of the input files.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; - * * @return Whether the sourceDialect field is set. */ public boolean hasSourceDialect() { return sourceDialectBuilder_ != null || sourceDialect_ != null; } /** - * - * *
      * The dialect of the input files.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; - * * @return The sourceDialect. */ public com.google.cloud.bigquery.migration.v2.Dialect getSourceDialect() { if (sourceDialectBuilder_ == null) { - return sourceDialect_ == null - ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() - : sourceDialect_; + return sourceDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : sourceDialect_; } else { return sourceDialectBuilder_.getMessage(); } } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1551,8 +1394,6 @@ public Builder setSourceDialect(com.google.cloud.bigquery.migration.v2.Dialect v return this; } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1571,8 +1412,6 @@ public Builder setSourceDialect( return this; } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1583,9 +1422,7 @@ public Builder mergeSourceDialect(com.google.cloud.bigquery.migration.v2.Dialect if (sourceDialectBuilder_ == null) { if (sourceDialect_ != null) { sourceDialect_ = - com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(sourceDialect_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(sourceDialect_).mergeFrom(value).buildPartial(); } else { sourceDialect_ = value; } @@ -1597,8 +1434,6 @@ public Builder mergeSourceDialect(com.google.cloud.bigquery.migration.v2.Dialect return this; } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1617,8 +1452,6 @@ public Builder clearSourceDialect() { return this; } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1626,13 +1459,11 @@ public Builder clearSourceDialect() { * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; */ public com.google.cloud.bigquery.migration.v2.Dialect.Builder getSourceDialectBuilder() { - + onChanged(); return getSourceDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1643,14 +1474,11 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO if (sourceDialectBuilder_ != null) { return sourceDialectBuilder_.getMessageOrBuilder(); } else { - return sourceDialect_ == null - ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() - : sourceDialect_; + return sourceDialect_ == null ? + com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : sourceDialect_; } } /** - * - * *
      * The dialect of the input files.
      * 
@@ -1658,17 +1486,14 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, - com.google.cloud.bigquery.migration.v2.Dialect.Builder, - com.google.cloud.bigquery.migration.v2.DialectOrBuilder> + com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> getSourceDialectFieldBuilder() { if (sourceDialectBuilder_ == null) { - sourceDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, - com.google.cloud.bigquery.migration.v2.Dialect.Builder, - com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( - getSourceDialect(), getParentForChildren(), isClean()); + sourceDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( + getSourceDialect(), + getParentForChildren(), + isClean()); sourceDialect_ = null; } return sourceDialectBuilder_; @@ -1676,47 +1501,34 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO private com.google.cloud.bigquery.migration.v2.Dialect targetDialect_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, - com.google.cloud.bigquery.migration.v2.Dialect.Builder, - com.google.cloud.bigquery.migration.v2.DialectOrBuilder> - targetDialectBuilder_; + com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> targetDialectBuilder_; /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; - * * @return Whether the targetDialect field is set. */ public boolean hasTargetDialect() { return targetDialectBuilder_ != null || targetDialect_ != null; } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; - * * @return The targetDialect. */ public com.google.cloud.bigquery.migration.v2.Dialect getTargetDialect() { if (targetDialectBuilder_ == null) { - return targetDialect_ == null - ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() - : targetDialect_; + return targetDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : targetDialect_; } else { return targetDialectBuilder_.getMessage(); } } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1737,8 +1549,6 @@ public Builder setTargetDialect(com.google.cloud.bigquery.migration.v2.Dialect v return this; } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1757,8 +1567,6 @@ public Builder setTargetDialect( return this; } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1769,9 +1577,7 @@ public Builder mergeTargetDialect(com.google.cloud.bigquery.migration.v2.Dialect if (targetDialectBuilder_ == null) { if (targetDialect_ != null) { targetDialect_ = - com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(targetDialect_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(targetDialect_).mergeFrom(value).buildPartial(); } else { targetDialect_ = value; } @@ -1783,8 +1589,6 @@ public Builder mergeTargetDialect(com.google.cloud.bigquery.migration.v2.Dialect return this; } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1803,8 +1607,6 @@ public Builder clearTargetDialect() { return this; } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1812,13 +1614,11 @@ public Builder clearTargetDialect() { * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; */ public com.google.cloud.bigquery.migration.v2.Dialect.Builder getTargetDialectBuilder() { - + onChanged(); return getTargetDialectFieldBuilder().getBuilder(); } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1829,14 +1629,11 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectO if (targetDialectBuilder_ != null) { return targetDialectBuilder_.getMessageOrBuilder(); } else { - return targetDialect_ == null - ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() - : targetDialect_; + return targetDialect_ == null ? + com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : targetDialect_; } } /** - * - * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1844,36 +1641,27 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectO * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, - com.google.cloud.bigquery.migration.v2.Dialect.Builder, - com.google.cloud.bigquery.migration.v2.DialectOrBuilder> + com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> getTargetDialectFieldBuilder() { if (targetDialectBuilder_ == null) { - targetDialectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, - com.google.cloud.bigquery.migration.v2.Dialect.Builder, - com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( - getTargetDialect(), getParentForChildren(), isClean()); + targetDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( + getTargetDialect(), + getParentForChildren(), + isClean()); targetDialect_ = null; } return targetDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> - nameMappingListBuilder_; + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> nameMappingListBuilder_; /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; - * * @return Whether the nameMappingList field is set. */ @java.lang.Override @@ -1881,14 +1669,11 @@ public boolean hasNameMappingList() { return outputNameMappingCase_ == 5; } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; - * * @return The nameMappingList. */ @java.lang.Override @@ -1906,16 +1691,13 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappi } } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - public Builder setNameMappingList( - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { + public Builder setNameMappingList(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { if (nameMappingListBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1929,8 +1711,6 @@ public Builder setNameMappingList( return this; } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -1949,27 +1729,18 @@ public Builder setNameMappingList( return this; } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - public Builder mergeNameMappingList( - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { + public Builder mergeNameMappingList(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { if (nameMappingListBuilder_ == null) { - if (outputNameMappingCase_ == 5 - && outputNameMapping_ - != com.google.cloud.bigquery.migration.v2.ObjectNameMappingList - .getDefaultInstance()) { - outputNameMapping_ = - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.newBuilder( - (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) - outputNameMapping_) - .mergeFrom(value) - .buildPartial(); + if (outputNameMappingCase_ == 5 && + outputNameMapping_ != com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance()) { + outputNameMapping_ = com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.newBuilder((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_) + .mergeFrom(value).buildPartial(); } else { outputNameMapping_ = value; } @@ -1985,8 +1756,6 @@ public Builder mergeNameMappingList( return this; } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -2010,21 +1779,16 @@ public Builder clearNameMappingList() { return this; } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder - getNameMappingListBuilder() { + public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder getNameMappingListBuilder() { return getNameMappingListFieldBuilder().getBuilder(); } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -2032,8 +1796,7 @@ public Builder clearNameMappingList() { * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder - getNameMappingListOrBuilder() { + public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder getNameMappingListOrBuilder() { if ((outputNameMappingCase_ == 5) && (nameMappingListBuilder_ != null)) { return nameMappingListBuilder_.getMessageOrBuilder(); } else { @@ -2044,8 +1807,6 @@ public Builder clearNameMappingList() { } } /** - * - * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -2053,74 +1814,54 @@ public Builder clearNameMappingList() { * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> getNameMappingListFieldBuilder() { if (nameMappingListBuilder_ == null) { if (!(outputNameMappingCase_ == 5)) { - outputNameMapping_ = - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); + outputNameMapping_ = com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); } - nameMappingListBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, - com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder>( + nameMappingListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder>( (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_, getParentForChildren(), isClean()); outputNameMapping_ = null; } outputNameMappingCase_ = 5; - onChanged(); - ; + onChanged();; return nameMappingListBuilder_; } private com.google.cloud.bigquery.migration.v2.SourceEnv sourceEnv_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SourceEnv, - com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, - com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> - sourceEnvBuilder_; + com.google.cloud.bigquery.migration.v2.SourceEnv, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> sourceEnvBuilder_; /** - * - * *
      * The default source environment values for the translation.
      * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; - * * @return Whether the sourceEnv field is set. */ public boolean hasSourceEnv() { return sourceEnvBuilder_ != null || sourceEnv_ != null; } /** - * - * *
      * The default source environment values for the translation.
      * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; - * * @return The sourceEnv. */ public com.google.cloud.bigquery.migration.v2.SourceEnv getSourceEnv() { if (sourceEnvBuilder_ == null) { - return sourceEnv_ == null - ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() - : sourceEnv_; + return sourceEnv_ == null ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() : sourceEnv_; } else { return sourceEnvBuilder_.getMessage(); } } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2141,8 +1882,6 @@ public Builder setSourceEnv(com.google.cloud.bigquery.migration.v2.SourceEnv val return this; } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2161,8 +1900,6 @@ public Builder setSourceEnv( return this; } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2173,9 +1910,7 @@ public Builder mergeSourceEnv(com.google.cloud.bigquery.migration.v2.SourceEnv v if (sourceEnvBuilder_ == null) { if (sourceEnv_ != null) { sourceEnv_ = - com.google.cloud.bigquery.migration.v2.SourceEnv.newBuilder(sourceEnv_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2.SourceEnv.newBuilder(sourceEnv_).mergeFrom(value).buildPartial(); } else { sourceEnv_ = value; } @@ -2187,8 +1922,6 @@ public Builder mergeSourceEnv(com.google.cloud.bigquery.migration.v2.SourceEnv v return this; } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2207,8 +1940,6 @@ public Builder clearSourceEnv() { return this; } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2216,13 +1947,11 @@ public Builder clearSourceEnv() { * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; */ public com.google.cloud.bigquery.migration.v2.SourceEnv.Builder getSourceEnvBuilder() { - + onChanged(); return getSourceEnvFieldBuilder().getBuilder(); } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2233,14 +1962,11 @@ public com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrB if (sourceEnvBuilder_ != null) { return sourceEnvBuilder_.getMessageOrBuilder(); } else { - return sourceEnv_ == null - ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() - : sourceEnv_; + return sourceEnv_ == null ? + com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() : sourceEnv_; } } /** - * - * *
      * The default source environment values for the translation.
      * 
@@ -2248,24 +1974,21 @@ public com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrB * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SourceEnv, - com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, - com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> + com.google.cloud.bigquery.migration.v2.SourceEnv, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> getSourceEnvFieldBuilder() { if (sourceEnvBuilder_ == null) { - sourceEnvBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SourceEnv, - com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, - com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder>( - getSourceEnv(), getParentForChildren(), isClean()); + sourceEnvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SourceEnv, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder>( + getSourceEnv(), + getParentForChildren(), + isClean()); sourceEnv_ = null; } return sourceEnvBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2275,32 +1998,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TranslationConfigDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TranslationConfigDetails) - private static final com.google.cloud.bigquery.migration.v2.TranslationConfigDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2.TranslationConfigDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TranslationConfigDetails(); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranslationConfigDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TranslationConfigDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranslationConfigDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TranslationConfigDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2312,8 +2033,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java similarity index 80% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java index 762e04c..06d295c 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java @@ -1,129 +1,89 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface TranslationConfigDetailsOrBuilder - extends +public interface TranslationConfigDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TranslationConfigDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; - * * @return Whether the gcsSourcePath field is set. */ boolean hasGcsSourcePath(); /** - * - * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; - * * @return The gcsSourcePath. */ java.lang.String getGcsSourcePath(); /** - * - * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; - * * @return The bytes for gcsSourcePath. */ - com.google.protobuf.ByteString getGcsSourcePathBytes(); + com.google.protobuf.ByteString + getGcsSourcePathBytes(); /** - * - * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; - * * @return Whether the gcsTargetPath field is set. */ boolean hasGcsTargetPath(); /** - * - * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; - * * @return The gcsTargetPath. */ java.lang.String getGcsTargetPath(); /** - * - * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; - * * @return The bytes for gcsTargetPath. */ - com.google.protobuf.ByteString getGcsTargetPathBytes(); + com.google.protobuf.ByteString + getGcsTargetPathBytes(); /** - * - * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; - * * @return Whether the sourceDialect field is set. */ boolean hasSourceDialect(); /** - * - * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; - * * @return The sourceDialect. */ com.google.cloud.bigquery.migration.v2.Dialect getSourceDialect(); /** - * - * *
    * The dialect of the input files.
    * 
@@ -133,32 +93,24 @@ public interface TranslationConfigDetailsOrBuilder com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectOrBuilder(); /** - * - * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; - * * @return Whether the targetDialect field is set. */ boolean hasTargetDialect(); /** - * - * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; - * * @return The targetDialect. */ com.google.cloud.bigquery.migration.v2.Dialect getTargetDialect(); /** - * - * *
    * The target dialect for the engine to translate the input to.
    * 
@@ -168,68 +120,51 @@ public interface TranslationConfigDetailsOrBuilder com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectOrBuilder(); /** - * - * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; - * * @return Whether the nameMappingList field is set. */ boolean hasNameMappingList(); /** - * - * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; - * * @return The nameMappingList. */ com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappingList(); /** - * - * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder - getNameMappingListOrBuilder(); + com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder getNameMappingListOrBuilder(); /** - * - * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; - * * @return Whether the sourceEnv field is set. */ boolean hasSourceEnv(); /** - * - * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; - * * @return The sourceEnv. */ com.google.cloud.bigquery.migration.v2.SourceEnv getSourceEnv(); /** - * - * *
    * The default source environment values for the translation.
    * 
@@ -238,12 +173,9 @@ public interface TranslationConfigDetailsOrBuilder */ com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrBuilder(); - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.SourceLocationCase - getSourceLocationCase(); + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.SourceLocationCase getSourceLocationCase(); - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.TargetLocationCase - getTargetLocationCase(); + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.TargetLocationCase getTargetLocationCase(); - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.OutputNameMappingCase - getOutputNameMappingCase(); + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java new file mode 100644 index 0000000..1b7303b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java @@ -0,0 +1,328 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public final class TranslationConfigProto { + private TranslationConfigProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n;google/cloud/bigquery/migration/v2/tra" + + "nslation_config.proto\022\"google.cloud.bigq" + + "uery.migration.v2\"\262\003\n\030TranslationConfigD" + + "etails\022\031\n\017gcs_source_path\030\001 \001(\tH\000\022\031\n\017gcs" + + "_target_path\030\002 \001(\tH\001\022C\n\016source_dialect\030\003" + + " \001(\0132+.google.cloud.bigquery.migration.v" + + "2.Dialect\022C\n\016target_dialect\030\004 \001(\0132+.goog" + + "le.cloud.bigquery.migration.v2.Dialect\022V" + + "\n\021name_mapping_list\030\005 \001(\01329.google.cloud" + + ".bigquery.migration.v2.ObjectNameMapping" + + "ListH\002\022A\n\nsource_env\030\006 \001(\0132-.google.clou" + + "d.bigquery.migration.v2.SourceEnvB\021\n\017sou" + + "rce_locationB\021\n\017target_locationB\025\n\023outpu" + + "t_name_mapping\"\271\010\n\007Dialect\022O\n\020bigquery_d" + + "ialect\030\001 \001(\01323.google.cloud.bigquery.mig" + + "ration.v2.BigQueryDialectH\000\022K\n\016hiveql_di" + + "alect\030\002 \001(\01321.google.cloud.bigquery.migr" + + "ation.v2.HiveQLDialectH\000\022O\n\020redshift_dia" + + "lect\030\003 \001(\01323.google.cloud.bigquery.migra" + + "tion.v2.RedshiftDialectH\000\022O\n\020teradata_di" + + "alect\030\004 \001(\01323.google.cloud.bigquery.migr" + + "ation.v2.TeradataDialectH\000\022K\n\016oracle_dia" + + "lect\030\005 \001(\01321.google.cloud.bigquery.migra" + + "tion.v2.OracleDialectH\000\022O\n\020sparksql_dial" + + "ect\030\006 \001(\01323.google.cloud.bigquery.migrat" + + "ion.v2.SparkSQLDialectH\000\022Q\n\021snowflake_di" + + "alect\030\007 \001(\01324.google.cloud.bigquery.migr" + + "ation.v2.SnowflakeDialectH\000\022M\n\017netezza_d" + + "ialect\030\010 \001(\01322.google.cloud.bigquery.mig" + + "ration.v2.NetezzaDialectH\000\022X\n\025azure_syna" + + "pse_dialect\030\t \001(\01327.google.cloud.bigquer" + + "y.migration.v2.AzureSynapseDialectH\000\022M\n\017" + + "vertica_dialect\030\n \001(\01322.google.cloud.big" + + "query.migration.v2.VerticaDialectH\000\022R\n\022s" + + "ql_server_dialect\030\013 \001(\01324.google.cloud.b" + + "igquery.migration.v2.SQLServerDialectH\000\022" + + "S\n\022postgresql_dialect\030\014 \001(\01325.google.clo" + + "ud.bigquery.migration.v2.PostgresqlDiale" + + "ctH\000\022K\n\016presto_dialect\030\r \001(\01321.google.cl" + + "oud.bigquery.migration.v2.PrestoDialectH" + + "\000B\017\n\rdialect_value\"\021\n\017BigQueryDialect\"\017\n" + + "\rHiveQLDialect\"\021\n\017RedshiftDialect\"\212\001\n\017Te" + + "radataDialect\022F\n\004mode\030\001 \001(\01628.google.clo" + + "ud.bigquery.migration.v2.TeradataDialect" + + ".Mode\"/\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\007\n\003S" + + "QL\020\001\022\010\n\004BTEQ\020\002\"\017\n\rOracleDialect\"\021\n\017Spark" + + "SQLDialect\"\022\n\020SnowflakeDialect\"\020\n\016Netezz" + + "aDialect\"\025\n\023AzureSynapseDialect\"\020\n\016Verti" + + "caDialect\"\022\n\020SQLServerDialect\"\023\n\021Postgre" + + "sqlDialect\"\017\n\rPrestoDialect\"`\n\025ObjectNam" + + "eMappingList\022G\n\010name_map\030\001 \003(\01325.google." + + "cloud.bigquery.migration.v2.ObjectNameMa" + + "pping\"\235\001\n\021ObjectNameMapping\022B\n\006source\030\001 " + + "\001(\01322.google.cloud.bigquery.migration.v2" + + ".NameMappingKey\022D\n\006target\030\002 \001(\01324.google" + + ".cloud.bigquery.migration.v2.NameMapping" + + "Value\"\253\002\n\016NameMappingKey\022E\n\004type\030\001 \001(\01627" + + ".google.cloud.bigquery.migration.v2.Name" + + "MappingKey.Type\022\020\n\010database\030\002 \001(\t\022\016\n\006sch" + + "ema\030\003 \001(\t\022\020\n\010relation\030\004 \001(\t\022\021\n\tattribute" + + "\030\005 \001(\t\"\212\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\014\n" + + "\010DATABASE\020\001\022\n\n\006SCHEMA\020\002\022\014\n\010RELATION\020\003\022\r\n" + + "\tATTRIBUTE\020\004\022\022\n\016RELATION_ALIAS\020\005\022\023\n\017ATTR" + + "IBUTE_ALIAS\020\006\022\014\n\010FUNCTION\020\007\"Y\n\020NameMappi" + + "ngValue\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(" + + "\t\022\020\n\010relation\030\003 \001(\t\022\021\n\tattribute\030\004 \001(\t\"A" + + "\n\tSourceEnv\022\030\n\020default_database\030\001 \001(\t\022\032\n" + + "\022schema_search_path\030\002 \003(\tB\331\001\n&com.google" + + ".cloud.bigquery.migration.v2B\026Translatio" + + "nConfigProtoP\001ZKgoogle.golang.org/genpro" + + "to/googleapis/cloud/bigquery/migration/v" + + "2;migration\252\002\"Google.Cloud.BigQuery.Migr" + + "ation.V2\312\002\"Google\\Cloud\\BigQuery\\Migrati" + + "on\\V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor, + new java.lang.String[] { "GcsSourcePath", "GcsTargetPath", "SourceDialect", "TargetDialect", "NameMappingList", "SourceEnv", "SourceLocation", "TargetLocation", "OutputNameMapping", }); + internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor, + new java.lang.String[] { "BigqueryDialect", "HiveqlDialect", "RedshiftDialect", "TeradataDialect", "OracleDialect", "SparksqlDialect", "SnowflakeDialect", "NetezzaDialect", "AzureSynapseDialect", "VerticaDialect", "SqlServerDialect", "PostgresqlDialect", "PrestoDialect", "DialectValue", }); + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor, + new java.lang.String[] { "Mode", }); + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor, + new java.lang.String[] { "NameMap", }); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor, + new java.lang.String[] { "Source", "Target", }); + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor, + new java.lang.String[] { "Type", "Database", "Schema", "Relation", "Attribute", }); + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor, + new java.lang.String[] { "Database", "Schema", "Relation", "Attribute", }); + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor, + new java.lang.String[] { "DefaultDatabase", "SchemaSearchPath", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java index 1e7a4e4..96c200f 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * A single strongly-typed value.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TypedValue} */ -public final class TypedValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TypedValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TypedValue) TypedValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TypedValue.newBuilder() to construct. private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TypedValue() {} + private TypedValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TypedValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TypedValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,52 +52,48 @@ private TypedValue( case 0: done = true; break; - case 8: - { - value_ = input.readBool(); - valueCase_ = 1; - break; - } - case 16: - { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } - case 25: - { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; + case 8: { + value_ = input.readBool(); + valueCase_ = 1; + break; + } + case 16: { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } + case 25: { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + break; + } + case 42: { + com.google.api.Distribution.Builder subBuilder = null; + if (valueCase_ == 5) { + subBuilder = ((com.google.api.Distribution) value_).toBuilder(); } - case 42: - { - com.google.api.Distribution.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.api.Distribution) value_).toBuilder(); - } - value_ = input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.api.Distribution) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 5; - break; + value_ = + input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.api.Distribution) value_); + value_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + valueCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,34 +101,30 @@ private TypedValue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TypedValue.class, - com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2.TypedValue.class, com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), @@ -157,7 +133,6 @@ public enum ValueCase DISTRIBUTION_VALUE(5), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -173,42 +148,33 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: - return BOOL_VALUE; - case 2: - return INT64_VALUE; - case 3: - return DOUBLE_VALUE; - case 4: - return STRING_VALUE; - case 5: - return DISTRIBUTION_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 1: return BOOL_VALUE; + case 2: return INT64_VALUE; + case 3: return DOUBLE_VALUE; + case 4: return STRING_VALUE; + case 5: return DISTRIBUTION_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -216,14 +182,11 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ @java.lang.Override @@ -236,14 +199,11 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -251,14 +211,11 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ @java.lang.Override @@ -271,8 +228,6 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -280,7 +235,6 @@ public long getInt64Value() {
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -288,8 +242,6 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -297,7 +249,6 @@ public boolean hasDoubleValue() {
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -310,28 +261,22 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -342,7 +287,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -351,24 +297,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -380,14 +325,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int DISTRIBUTION_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -395,26 +337,21 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ @java.lang.Override public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /** - * - * *
    * A distribution value.
    * 
@@ -424,13 +361,12 @@ public com.google.api.Distribution getDistributionValue() { @java.lang.Override public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -442,15 +378,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) value_)); + output.writeInt64( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) value_)); + output.writeDouble( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -468,27 +408,26 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) value_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) value_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) value_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); } if (valueCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.api.Distribution) value_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.api.Distribution) value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -498,31 +437,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TypedValue)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TypedValue other = - (com.google.cloud.bigquery.migration.v2.TypedValue) obj; + com.google.cloud.bigquery.migration.v2.TypedValue other = (com.google.cloud.bigquery.migration.v2.TypedValue) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 4: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 5: - if (!getDistributionValue().equals(other.getDistributionValue())) return false; + if (!getDistributionValue() + .equals(other.getDistributionValue())) return false; break; case 0: default: @@ -541,18 +484,18 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -571,126 +514,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.TypedValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.TypedValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TypedValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single strongly-typed value.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TypedValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TypedValue) com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TypedValue.class, - com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2.TypedValue.class, com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.TypedValue.newBuilder() @@ -698,15 +632,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -716,9 +651,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; } @java.lang.Override @@ -737,8 +672,7 @@ public com.google.cloud.bigquery.migration.v2.TypedValue build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.TypedValue buildPartial() { - com.google.cloud.bigquery.migration.v2.TypedValue result = - new com.google.cloud.bigquery.migration.v2.TypedValue(this); + com.google.cloud.bigquery.migration.v2.TypedValue result = new com.google.cloud.bigquery.migration.v2.TypedValue(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -767,39 +701,38 @@ public com.google.cloud.bigquery.migration.v2.TypedValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.TypedValue) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.TypedValue) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.TypedValue)other); } else { super.mergeFrom(other); return this; @@ -807,40 +740,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TypedValue other) { - if (other == com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case BOOL_VALUE: - { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: - { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case DISTRIBUTION_VALUE: - { - mergeDistributionValue(other.getDistributionValue()); - break; - } - case VALUE_NOT_SET: - { - break; - } + case BOOL_VALUE: { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case DISTRIBUTION_VALUE: { + mergeDistributionValue(other.getDistributionValue()); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -861,8 +787,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.TypedValue) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.TypedValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -871,12 +796,12 @@ public Builder mergeFrom( } return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -886,29 +811,24 @@ public Builder clearValue() { return this; } + /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -918,14 +838,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -936,14 +853,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -956,28 +870,22 @@ public Builder clearBoolValue() { } /** - * - * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; - * * @return The int64Value. */ public long getInt64Value() { @@ -987,14 +895,11 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; - * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -1005,14 +910,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -1025,8 +927,6 @@ public Builder clearInt64Value() { } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -1034,15 +934,12 @@ public Builder clearInt64Value() {
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -1050,7 +947,6 @@ public boolean hasDoubleValue() {
      * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1060,8 +956,6 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -1069,7 +963,6 @@ public double getDoubleValue() {
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1080,8 +973,6 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -1089,7 +980,6 @@ public Builder setDoubleValue(double value) {
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1102,14 +992,11 @@ public Builder clearDoubleValue() { } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1117,14 +1004,11 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return The stringValue. */ @java.lang.Override @@ -1134,7 +1018,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1145,25 +1030,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1173,35 +1057,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1213,22 +1092,20 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); @@ -1236,19 +1113,13 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder> - distributionValueBuilder_; + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> distributionValueBuilder_; /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -1256,14 +1127,11 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ @java.lang.Override @@ -1281,8 +1149,6 @@ public com.google.api.Distribution getDistributionValue() { } } /** - * - * *
      * A distribution value.
      * 
@@ -1303,15 +1169,14 @@ public Builder setDistributionValue(com.google.api.Distribution value) { return this; } /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; */ - public Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue) { + public Builder setDistributionValue( + com.google.api.Distribution.Builder builderForValue) { if (distributionValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1322,8 +1187,6 @@ public Builder setDistributionValue(com.google.api.Distribution.Builder builderF return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1332,11 +1195,10 @@ public Builder setDistributionValue(com.google.api.Distribution.Builder builderF */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { - if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { - value_ = - com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) - .mergeFrom(value) - .buildPartial(); + if (valueCase_ == 5 && + value_ != com.google.api.Distribution.getDefaultInstance()) { + value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) + .mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -1352,8 +1214,6 @@ public Builder mergeDistributionValue(com.google.api.Distribution value) { return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1377,8 +1237,6 @@ public Builder clearDistributionValue() { return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1389,8 +1247,6 @@ public com.google.api.Distribution.Builder getDistributionValueBuilder() { return getDistributionValueFieldBuilder().getBuilder(); } /** - * - * *
      * A distribution value.
      * 
@@ -1409,8 +1265,6 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { } } /** - * - * *
      * A distribution value.
      * 
@@ -1418,30 +1272,26 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { * .google.api.Distribution distribution_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder> + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } - distributionValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder>( - (com.google.api.Distribution) value_, getParentForChildren(), isClean()); + distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( + (com.google.api.Distribution) value_, + getParentForChildren(), + isClean()); value_ = null; } valueCase_ = 5; - onChanged(); - ; + onChanged();; return distributionValueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1451,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TypedValue) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TypedValue) private static final com.google.cloud.bigquery.migration.v2.TypedValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TypedValue(); } @@ -1465,16 +1315,16 @@ public static com.google.cloud.bigquery.migration.v2.TypedValue getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TypedValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TypedValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1489,4 +1339,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TypedValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java similarity index 77% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java index e1df035..fd25249 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface TypedValueOrBuilder - extends +public interface TypedValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TypedValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -83,13 +53,10 @@ public interface TypedValueOrBuilder
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -97,75 +64,58 @@ public interface TypedValueOrBuilder
    * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ boolean hasDistributionValue(); /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ com.google.api.Distribution getDistributionValue(); /** - * - * *
    * A distribution value.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java index fd91d9a..c433bfe 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** - * - * *
  * The dialect definition for Vertica.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.VerticaDialect} */ -public final class VerticaDialect extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VerticaDialect extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.VerticaDialect) VerticaDialectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VerticaDialect.newBuilder() to construct. private VerticaDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VerticaDialect() {} + private VerticaDialect() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VerticaDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VerticaDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private VerticaDialect( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private VerticaDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.VerticaDialect.class, - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.VerticaDialect.class, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.VerticaDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.VerticaDialect other = - (com.google.cloud.bigquery.migration.v2.VerticaDialect) obj; + com.google.cloud.bigquery.migration.v2.VerticaDialect other = (com.google.cloud.bigquery.migration.v2.VerticaDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2.VerticaDialect prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.VerticaDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The dialect definition for Vertica.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.VerticaDialect} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.VerticaDialect) com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.VerticaDialect.class, - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.VerticaDialect.class, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.VerticaDialect.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto - .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.VerticaDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.VerticaDialect result = - new com.google.cloud.bigquery.migration.v2.VerticaDialect(this); + com.google.cloud.bigquery.migration.v2.VerticaDialect result = new com.google.cloud.bigquery.migration.v2.VerticaDialect(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.VerticaDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.VerticaDialect) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.VerticaDialect)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.VerticaDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2.VerticaDialect) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2.VerticaDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.VerticaDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.VerticaDialect) private static final com.google.cloud.bigquery.migration.v2.VerticaDialect DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.VerticaDialect(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2.VerticaDialect getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerticaDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VerticaDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerticaDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VerticaDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.VerticaDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java new file mode 100644 index 0000000..2260e58 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface VerticaDialectOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.VerticaDialect) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto similarity index 99% rename from proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto index 79ca05b..153270a 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto @@ -135,7 +135,7 @@ message MigrationTask { // Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, // Translation_Snowflake2BQ, Translation_Netezza2BQ, // Translation_AzureSynapse2BQ, Translation_Vertica2BQ, - // Translation_SQLServer2BQ. + // Translation_SQLServer2BQ, Translation_Presto2BQ. string type = 2; // Output only. The current state of the task. diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto similarity index 96% rename from proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto rename to owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto index 3ff2902..02a8191 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto +++ b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto @@ -91,6 +91,12 @@ message Dialect { // The SQL Server dialect SQLServerDialect sql_server_dialect = 11; + + // The Postgresql dialect + PostgresqlDialect postgresql_dialect = 12; + + // The Presto dialect + PrestoDialect presto_dialect = 13; } } @@ -142,6 +148,12 @@ message VerticaDialect {} // The dialect definition for SQL Server. message SQLServerDialect {} +// The dialect definition for Postgresql. +message PostgresqlDialect {} + +// The dialect definition for Presto. +message PrestoDialect {} + // Represents a map of name mappings using a list of key:value proto messages of // existing name to desired output name. message ObjectNameMappingList { diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java similarity index 97% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java index cb49f5c..e7de31f 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java +++ b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java @@ -60,13 +60,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1079,11 +1079,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListMigrationWorkflowsPagedResponse extends AbstractPagedListResponse< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, - MigrationWorkflow, - ListMigrationWorkflowsPage, - ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, + ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1105,9 +1102,7 @@ private ListMigrationWorkflowsPagedResponse(ListMigrationWorkflowsPage page) { public static class ListMigrationWorkflowsPage extends AbstractPage< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, - MigrationWorkflow, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, ListMigrationWorkflowsPage> { private ListMigrationWorkflowsPage( @@ -1143,11 +1138,8 @@ public ApiFuture createPageAsync( public static class ListMigrationWorkflowsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, - MigrationWorkflow, - ListMigrationWorkflowsPage, - ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, + ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { private ListMigrationWorkflowsFixedSizeCollection( List pages, int collectionSize) { @@ -1167,11 +1159,8 @@ protected ListMigrationWorkflowsFixedSizeCollection createCollection( public static class ListMigrationSubtasksPagedResponse extends AbstractPagedListResponse< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, - MigrationSubtask, - ListMigrationSubtasksPage, - ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, + ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -1192,9 +1181,7 @@ private ListMigrationSubtasksPagedResponse(ListMigrationSubtasksPage page) { public static class ListMigrationSubtasksPage extends AbstractPage< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, - MigrationSubtask, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, ListMigrationSubtasksPage> { private ListMigrationSubtasksPage( @@ -1227,11 +1214,8 @@ public ApiFuture createPageAsync( public static class ListMigrationSubtasksFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, - MigrationSubtask, - ListMigrationSubtasksPage, - ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, + ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { private ListMigrationSubtasksFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java similarity index 94% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java index f89c40a..9a2033f 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java +++ b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.migration.v2alpha.stub.MigrationServiceStubSettings; @@ -44,10 +45,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -90,8 +91,7 @@ public class MigrationServiceSettings extends ClientSettings listMigrationWorkflowsSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationWorkflowsSettings(); @@ -116,8 +116,7 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationSubtasksSettings(); @@ -252,8 +251,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return getStubSettingsBuilder().listMigrationWorkflowsSettings(); @@ -279,8 +277,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return getStubSettingsBuilder().listMigrationSubtasksSettings(); diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java similarity index 99% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java index df1d9db..c7c8386 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java +++ b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java @@ -43,6 +43,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java similarity index 100% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java similarity index 95% rename from google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java index 37c6cb9..7727ae5 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java +++ b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java @@ -72,10 +72,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -112,8 +112,7 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationWorkflowSettings; private final PagedCallSettings< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings @@ -123,8 +122,7 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationSubtaskSettings; private final PagedCallSettings< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; @@ -213,13 +211,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> LIST_MIGRATION_WORKFLOWS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -229,8 +225,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow> pageContext = PageContext.create( @@ -240,13 +235,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> LIST_MIGRATION_SUBTASKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -277,8 +270,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -303,8 +295,7 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; @@ -433,8 +424,7 @@ public static class Builder extends StubSettings.Builder getMigrationWorkflowSettings; private final PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings.Builder @@ -444,8 +434,7 @@ public static class Builder extends StubSettings.Builder getMigrationSubtaskSettings; private final PagedCallSettings.Builder< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; private static final ImmutableMap> @@ -634,8 +623,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, - ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -661,8 +649,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, - ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java diff --git a/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java b/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java similarity index 100% rename from google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java rename to owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java diff --git a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java b/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java new file mode 100644 index 0000000..bea6c3b --- /dev/null +++ b/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java @@ -0,0 +1,831 @@ +package com.google.cloud.bigquery.migration.v2alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service to handle EDW migrations.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/migration/v2alpha/migration_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MigrationServiceGrpc { + + private MigrationServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2alpha.MigrationService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; + if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getCreateMigrationWorkflowMethod = getCreateMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) + .build(); + } + } + } + return getCreateMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getGetMigrationWorkflowMethod = getGetMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) + .build(); + } + } + } + return getGetMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", + requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMigrationWorkflowsMethod() { + io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { + MigrationServiceGrpc.getListMigrationWorkflowsMethod = getListMigrationWorkflowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) + .build(); + } + } + } + return getListMigrationWorkflowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; + if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = getDeleteMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) + .build(); + } + } + } + return getDeleteMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartMigrationWorkflowMethod() { + io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { + MigrationServiceGrpc.getStartMigrationWorkflowMethod = getStartMigrationWorkflowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) + .build(); + } + } + } + return getStartMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", + requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMigrationSubtaskMethod() { + io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { + MigrationServiceGrpc.getGetMigrationSubtaskMethod = getGetMigrationSubtaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) + .build(); + } + } + } + return getGetMigrationSubtaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMigrationSubtasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", + requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMigrationSubtasksMethod() { + io.grpc.MethodDescriptor getListMigrationSubtasksMethod; + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { + MigrationServiceGrpc.getListMigrationSubtasksMethod = getListMigrationSubtasksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance())) + .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) + .build(); + } + } + } + return getListMigrationSubtasksMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static MigrationServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + }; + return MigrationServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MigrationServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + }; + return MigrationServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static MigrationServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + }; + return MigrationServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static abstract class MigrationServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationWorkflowsMethod(), responseObserver); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationWorkflowMethod(), responseObserver); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationSubtaskMethod(), responseObserver); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationSubtasksMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( + this, METHODID_CREATE_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( + this, METHODID_GET_MIGRATION_WORKFLOW))) + .addMethod( + getListMigrationWorkflowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>( + this, METHODID_LIST_MIGRATION_WORKFLOWS))) + .addMethod( + getDeleteMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MIGRATION_WORKFLOW))) + .addMethod( + getStartMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, + com.google.protobuf.Empty>( + this, METHODID_START_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationSubtaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>( + this, METHODID_GET_MIGRATION_SUBTASK))) + .addMethod( + getListMigrationSubtasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>( + this, METHODID_LIST_MIGRATION_SUBTASKS))) + .build(); + } + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub { + private MigrationServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private MigrationServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.protobuf.Empty deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.protobuf.Empty startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private MigrationServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMigrationSubtask( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; + private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; + private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; + private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; + private static final int METHODID_START_MIGRATION_WORKFLOW = 4; + private static final int METHODID_GET_MIGRATION_SUBTASK = 5; + private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final MigrationServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_MIGRATION_WORKFLOW: + serviceImpl.createMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATION_WORKFLOW: + serviceImpl.getMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MIGRATION_WORKFLOWS: + serviceImpl.listMigrationWorkflows((com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MIGRATION_WORKFLOW: + serviceImpl.deleteMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MIGRATION_WORKFLOW: + serviceImpl.startMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATION_SUBTASK: + serviceImpl.getMigrationSubtask((com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MIGRATION_SUBTASKS: + serviceImpl.listMigrationSubtasks((com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MigrationServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MigrationService"); + } + } + + private static final class MigrationServiceFileDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier { + MigrationServiceFileDescriptorSupplier() {} + } + + private static final class MigrationServiceMethodDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + MigrationServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MigrationServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) + .addMethod(getCreateMigrationWorkflowMethod()) + .addMethod(getGetMigrationWorkflowMethod()) + .addMethod(getListMigrationWorkflowsMethod()) + .addMethod(getDeleteMigrationWorkflowMethod()) + .addMethod(getStartMigrationWorkflowMethod()) + .addMethod(getGetMigrationSubtaskMethod()) + .addMethod(getListMigrationSubtasksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java similarity index 57% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java index 62750f2..31ff759 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java @@ -1,60 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Details for an assessment task orchestration result.
  * 
* - * Protobuf type {@code - * google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} + * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} */ -public final class AssessmentOrchestrationResultDetails - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AssessmentOrchestrationResultDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) AssessmentOrchestrationResultDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AssessmentOrchestrationResultDetails.newBuilder() to construct. - private AssessmentOrchestrationResultDetails( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AssessmentOrchestrationResultDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AssessmentOrchestrationResultDetails() { outputTablesSchemaVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AssessmentOrchestrationResultDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AssessmentOrchestrationResultDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,20 +53,19 @@ private AssessmentOrchestrationResultDetails( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - outputTablesSchemaVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputTablesSchemaVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,40 +73,34 @@ private AssessmentOrchestrationResultDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.class, - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder.class); } public static final int OUTPUT_TABLES_SCHEMA_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object outputTablesSchemaVersion_; /** - * - * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputTablesSchemaVersion. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getOutputTablesSchemaVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputTablesSchemaVersion_ = s; return s; } } /** - * - * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputTablesSchemaVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes() { + public com.google.protobuf.ByteString + getOutputTablesSchemaVersionBytes() { java.lang.Object ref = outputTablesSchemaVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputTablesSchemaVersion_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputTablesSchemaVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputTablesSchemaVersion_); } @@ -193,8 +166,7 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputTablesSchemaVersion_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputTablesSchemaVersion_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputTablesSchemaVersion_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other = - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) obj; + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other = (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) obj; - if (!getOutputTablesSchemaVersion().equals(other.getOutputTablesSchemaVersion())) return false; + if (!getOutputTablesSchemaVersion() + .equals(other.getOutputTablesSchemaVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,154 +203,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details for an assessment task orchestration result.
    * 
* - * Protobuf type {@code - * google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} + * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .class, - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -390,23 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - build() { - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = - buildPartial(); + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails build() { + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -414,11 +361,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = - new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails( - this); + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails(this); result.outputTablesSchemaVersion_ = outputTablesSchemaVersion_; onBuilt(); return result; @@ -428,54 +372,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance()) return this; if (!other.getOutputTablesSchemaVersion().isEmpty()) { outputTablesSchemaVersion_ = other.outputTablesSchemaVersion_; onChanged(); @@ -495,14 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -514,21 +447,18 @@ public Builder mergeFrom( private java.lang.Object outputTablesSchemaVersion_ = ""; /** - * - * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The outputTablesSchemaVersion. */ public java.lang.String getOutputTablesSchemaVersion() { java.lang.Object ref = outputTablesSchemaVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputTablesSchemaVersion_ = s; return s; @@ -537,22 +467,20 @@ public java.lang.String getOutputTablesSchemaVersion() { } } /** - * - * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for outputTablesSchemaVersion. */ - public com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes() { + public com.google.protobuf.ByteString + getOutputTablesSchemaVersionBytes() { java.lang.Object ref = outputTablesSchemaVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputTablesSchemaVersion_ = b; return b; } else { @@ -560,71 +488,61 @@ public com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes() { } } /** - * - * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The outputTablesSchemaVersion to set. * @return This builder for chaining. */ - public Builder setOutputTablesSchemaVersion(java.lang.String value) { + public Builder setOutputTablesSchemaVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputTablesSchemaVersion_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearOutputTablesSchemaVersion() { - + outputTablesSchemaVersion_ = getDefaultInstance().getOutputTablesSchemaVersion(); onChanged(); return this; } /** - * - * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for outputTablesSchemaVersion to set. * @return This builder for chaining. */ - public Builder setOutputTablesSchemaVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOutputTablesSchemaVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputTablesSchemaVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -634,34 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - private static final com.google.cloud.bigquery.migration.v2alpha - .AssessmentOrchestrationResultDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails(); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssessmentOrchestrationResultDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AssessmentOrchestrationResultDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssessmentOrchestrationResultDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AssessmentOrchestrationResultDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -673,8 +587,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java similarity index 54% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java index eabde20..8746bb7 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface AssessmentOrchestrationResultDetailsOrBuilder - extends +public interface AssessmentOrchestrationResultDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputTablesSchemaVersion. */ java.lang.String getOutputTablesSchemaVersion(); /** - * - * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputTablesSchemaVersion. */ - com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes(); + com.google.protobuf.ByteString + getOutputTablesSchemaVersionBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java index 81f97e4..19c80ec 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Assessment task config.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails} */ -public final class AssessmentTaskDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AssessmentTaskDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) AssessmentTaskDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AssessmentTaskDetails.newBuilder() to construct. private AssessmentTaskDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AssessmentTaskDetails() { inputPath_ = ""; outputDataset_ = ""; @@ -46,15 +28,16 @@ private AssessmentTaskDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AssessmentTaskDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AssessmentTaskDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private AssessmentTaskDetails( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputPath_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + inputPath_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - outputDataset_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + outputDataset_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - querylogsPath_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + querylogsPath_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - dataSource_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataSource_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +94,34 @@ private AssessmentTaskDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); } public static final int INPUT_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object inputPath_; /** - * - * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputPath. */ @java.lang.Override @@ -156,29 +130,29 @@ public java.lang.String getInputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; } } /** - * - * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputPath. */ @java.lang.Override - public com.google.protobuf.ByteString getInputPathBytes() { + public com.google.protobuf.ByteString + getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputPath_ = b; return b; } else { @@ -189,14 +163,11 @@ public com.google.protobuf.ByteString getInputPathBytes() { public static final int OUTPUT_DATASET_FIELD_NUMBER = 2; private volatile java.lang.Object outputDataset_; /** - * - * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputDataset. */ @java.lang.Override @@ -205,29 +176,29 @@ public java.lang.String getOutputDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputDataset_ = s; return s; } } /** - * - * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for outputDataset. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputDatasetBytes() { + public com.google.protobuf.ByteString + getOutputDatasetBytes() { java.lang.Object ref = outputDataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputDataset_ = b; return b; } else { @@ -238,15 +209,12 @@ public com.google.protobuf.ByteString getOutputDatasetBytes() { public static final int QUERYLOGS_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object querylogsPath_; /** - * - * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The querylogsPath. */ @java.lang.Override @@ -255,30 +223,30 @@ public java.lang.String getQuerylogsPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); querylogsPath_ = s; return s; } } /** - * - * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for querylogsPath. */ @java.lang.Override - public com.google.protobuf.ByteString getQuerylogsPathBytes() { + public com.google.protobuf.ByteString + getQuerylogsPathBytes() { java.lang.Object ref = querylogsPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); querylogsPath_ = b; return b; } else { @@ -289,15 +257,12 @@ public com.google.protobuf.ByteString getQuerylogsPathBytes() { public static final int DATA_SOURCE_FIELD_NUMBER = 4; private volatile java.lang.Object dataSource_; /** - * - * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataSource. */ @java.lang.Override @@ -306,30 +271,30 @@ public java.lang.String getDataSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } } /** - * - * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataSource. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceBytes() { + public com.google.protobuf.ByteString + getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSource_ = b; return b; } else { @@ -338,7 +303,6 @@ public com.google.protobuf.ByteString getDataSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -350,7 +314,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputPath_); } @@ -392,18 +357,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other = - (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) obj; - - if (!getInputPath().equals(other.getInputPath())) return false; - if (!getOutputDataset().equals(other.getOutputDataset())) return false; - if (!getQuerylogsPath().equals(other.getQuerylogsPath())) return false; - if (!getDataSource().equals(other.getDataSource())) return false; + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other = (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) obj; + + if (!getInputPath() + .equals(other.getInputPath())) return false; + if (!getOutputDataset() + .equals(other.getOutputDataset())) return false; + if (!getQuerylogsPath() + .equals(other.getQuerylogsPath())) return false; + if (!getDataSource() + .equals(other.getDataSource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -429,145 +397,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Assessment task config.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -583,14 +540,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } @@ -605,8 +561,7 @@ public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails build() @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails result = - new com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails(this); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails result = new com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails(this); result.inputPath_ = inputPath_; result.outputDataset_ = outputDataset_; result.querylogsPath_ = querylogsPath_; @@ -619,50 +574,46 @@ public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance()) return this; if (!other.getInputPath().isEmpty()) { inputPath_ = other.inputPath_; onChanged(); @@ -698,9 +649,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -712,20 +661,18 @@ public Builder mergeFrom( private java.lang.Object inputPath_ = ""; /** - * - * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputPath. */ public java.lang.String getInputPath() { java.lang.Object ref = inputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; @@ -734,21 +681,20 @@ public java.lang.String getInputPath() { } } /** - * - * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputPath. */ - public com.google.protobuf.ByteString getInputPathBytes() { + public com.google.protobuf.ByteString + getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputPath_ = b; return b; } else { @@ -756,61 +702,54 @@ public com.google.protobuf.ByteString getInputPathBytes() { } } /** - * - * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputPath to set. * @return This builder for chaining. */ - public Builder setInputPath(java.lang.String value) { + public Builder setInputPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputPath_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputPath() { - + inputPath_ = getDefaultInstance().getInputPath(); onChanged(); return this; } /** - * - * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for inputPath to set. * @return This builder for chaining. */ - public Builder setInputPathBytes(com.google.protobuf.ByteString value) { + public Builder setInputPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputPath_ = value; onChanged(); return this; @@ -818,20 +757,18 @@ public Builder setInputPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputDataset_ = ""; /** - * - * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputDataset. */ public java.lang.String getOutputDataset() { java.lang.Object ref = outputDataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputDataset_ = s; return s; @@ -840,21 +777,20 @@ public java.lang.String getOutputDataset() { } } /** - * - * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for outputDataset. */ - public com.google.protobuf.ByteString getOutputDatasetBytes() { + public com.google.protobuf.ByteString + getOutputDatasetBytes() { java.lang.Object ref = outputDataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputDataset_ = b; return b; } else { @@ -862,61 +798,54 @@ public com.google.protobuf.ByteString getOutputDatasetBytes() { } } /** - * - * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The outputDataset to set. * @return This builder for chaining. */ - public Builder setOutputDataset(java.lang.String value) { + public Builder setOutputDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputDataset_ = value; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOutputDataset() { - + outputDataset_ = getDefaultInstance().getOutputDataset(); onChanged(); return this; } /** - * - * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for outputDataset to set. * @return This builder for chaining. */ - public Builder setOutputDatasetBytes(com.google.protobuf.ByteString value) { + public Builder setOutputDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputDataset_ = value; onChanged(); return this; @@ -924,21 +853,19 @@ public Builder setOutputDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object querylogsPath_ = ""; /** - * - * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The querylogsPath. */ public java.lang.String getQuerylogsPath() { java.lang.Object ref = querylogsPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); querylogsPath_ = s; return s; @@ -947,22 +874,21 @@ public java.lang.String getQuerylogsPath() { } } /** - * - * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for querylogsPath. */ - public com.google.protobuf.ByteString getQuerylogsPathBytes() { + public com.google.protobuf.ByteString + getQuerylogsPathBytes() { java.lang.Object ref = querylogsPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); querylogsPath_ = b; return b; } else { @@ -970,64 +896,57 @@ public com.google.protobuf.ByteString getQuerylogsPathBytes() { } } /** - * - * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The querylogsPath to set. * @return This builder for chaining. */ - public Builder setQuerylogsPath(java.lang.String value) { + public Builder setQuerylogsPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + querylogsPath_ = value; onChanged(); return this; } /** - * - * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuerylogsPath() { - + querylogsPath_ = getDefaultInstance().getQuerylogsPath(); onChanged(); return this; } /** - * - * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for querylogsPath to set. * @return This builder for chaining. */ - public Builder setQuerylogsPathBytes(com.google.protobuf.ByteString value) { + public Builder setQuerylogsPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + querylogsPath_ = value; onChanged(); return this; @@ -1035,21 +954,19 @@ public Builder setQuerylogsPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataSource_ = ""; /** - * - * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; @@ -1058,22 +975,21 @@ public java.lang.String getDataSource() { } } /** - * - * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataSource. */ - public com.google.protobuf.ByteString getDataSourceBytes() { + public com.google.protobuf.ByteString + getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSource_ = b; return b; } else { @@ -1081,71 +997,64 @@ public com.google.protobuf.ByteString getDataSourceBytes() { } } /** - * - * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataSource to set. * @return This builder for chaining. */ - public Builder setDataSource(java.lang.String value) { + public Builder setDataSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataSource_ = value; onChanged(); return this; } /** - * - * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataSource() { - + dataSource_ = getDefaultInstance().getDataSource(); onChanged(); return this; } /** - * - * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ - public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { + public Builder setDataSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataSource_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1155,32 +1064,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) - private static final com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails(); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssessmentTaskDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AssessmentTaskDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssessmentTaskDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AssessmentTaskDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,8 +1099,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java index 94cbf10..7be117b 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java @@ -1,129 +1,93 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface AssessmentTaskDetailsOrBuilder - extends +public interface AssessmentTaskDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputPath. */ java.lang.String getInputPath(); /** - * - * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputPath. */ - com.google.protobuf.ByteString getInputPathBytes(); + com.google.protobuf.ByteString + getInputPathBytes(); /** - * - * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputDataset. */ java.lang.String getOutputDataset(); /** - * - * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for outputDataset. */ - com.google.protobuf.ByteString getOutputDatasetBytes(); + com.google.protobuf.ByteString + getOutputDatasetBytes(); /** - * - * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The querylogsPath. */ java.lang.String getQuerylogsPath(); /** - * - * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for querylogsPath. */ - com.google.protobuf.ByteString getQuerylogsPathBytes(); + com.google.protobuf.ByteString + getQuerylogsPathBytes(); /** - * - * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataSource. */ java.lang.String getDataSource(); /** - * - * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataSource. */ - com.google.protobuf.ByteString getDataSourceBytes(); + com.google.protobuf.ByteString + getDataSourceBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java new file mode 100644 index 0000000..00fa30f --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class AssessmentTaskProto { + private AssessmentTaskProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n=google/cloud/bigquery/migration/v2alph" + + "a/assessment_task.proto\022\'google.cloud.bi" + + "gquery.migration.v2alpha\032\037google/api/fie" + + "ld_behavior.proto\"\204\001\n\025AssessmentTaskDeta" + + "ils\022\027\n\ninput_path\030\001 \001(\tB\003\340A\002\022\033\n\016output_d" + + "ataset\030\002 \001(\tB\003\340A\002\022\033\n\016querylogs_path\030\003 \001(" + + "\tB\003\340A\001\022\030\n\013data_source\030\004 \001(\tB\003\340A\002\"Q\n$Asse" + + "ssmentOrchestrationResultDetails\022)\n\034outp" + + "ut_tables_schema_version\030\001 \001(\tB\003\340A\001B\352\001\n+" + + "com.google.cloud.bigquery.migration.v2al" + + "phaB\023AssessmentTaskProtoP\001ZPgoogle.golan" + + "g.org/genproto/googleapis/cloud/bigquery" + + "/migration/v2alpha;migration\252\002\'Google.Cl" + + "oud.BigQuery.Migration.V2Alpha\312\002\'Google\\" + + "Cloud\\BigQuery\\Migration\\V2alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor, + new java.lang.String[] { "InputPath", "OutputDataset", "QuerylogsPath", "DataSource", }); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor, + new java.lang.String[] { "OutputTablesSchemaVersion", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java similarity index 68% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java index 897970a..9a09a2a 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * BTEQ translation task related settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.BteqOptions} */ -public final class BteqOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BteqOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.BteqOptions) BteqOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BteqOptions.newBuilder() to construct. private BteqOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BteqOptions() { defaultPathUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BteqOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BteqOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,56 +54,45 @@ private BteqOptions( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder subBuilder = - null; - if (projectDataset_ != null) { - subBuilder = projectDataset_.toBuilder(); - } - projectDataset_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectDataset_); - projectDataset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder subBuilder = null; + if (projectDataset_ != null) { + subBuilder = projectDataset_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - defaultPathUri_ = s; - break; + projectDataset_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.DatasetReference.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectDataset_); + projectDataset_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fileReplacementMap_ = - com.google.protobuf.MapField.newMapField( - FileReplacementMapDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - fileReplacementMap__ = - input.readMessage( - FileReplacementMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - fileReplacementMap_ - .getMutableMap() - .put(fileReplacementMap__.getKey(), fileReplacementMap__.getValue()); - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultPathUri_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fileReplacementMap_ = com.google.protobuf.MapField.newMapField( + FileReplacementMapDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + fileReplacementMap__ = input.readMessage( + FileReplacementMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + fileReplacementMap_.getMutableMap().put( + fileReplacementMap__.getKey(), fileReplacementMap__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,51 +100,47 @@ private BteqOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetFileReplacementMap(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); } public static final int PROJECT_DATASET_FIELD_NUMBER = 1; private com.google.cloud.bigquery.migration.v2alpha.DatasetReference projectDataset_; /** - * - * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; - * * @return Whether the projectDataset field is set. */ @java.lang.Override @@ -180,26 +148,19 @@ public boolean hasProjectDataset() { return projectDataset_ != null; } /** - * - * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; - * * @return The projectDataset. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDataset() { - return projectDataset_ == null - ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() - : projectDataset_; + return projectDataset_ == null ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() : projectDataset_; } /** - * - * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
@@ -208,23 +169,19 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDa
    * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder
-      getProjectDatasetOrBuilder() {
+  public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder getProjectDatasetOrBuilder() {
     return getProjectDataset();
   }
 
   public static final int DEFAULT_PATH_URI_FIELD_NUMBER = 2;
   private volatile java.lang.Object defaultPathUri_;
   /**
-   *
-   *
    * 
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; - * * @return The defaultPathUri. */ @java.lang.Override @@ -233,30 +190,30 @@ public java.lang.String getDefaultPathUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultPathUri_ = s; return s; } } /** - * - * *
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; - * * @return The bytes for defaultPathUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultPathUriBytes() { + public com.google.protobuf.ByteString + getDefaultPathUriBytes() { java.lang.Object ref = defaultPathUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultPathUri_ = b; return b; } else { @@ -265,22 +222,21 @@ public com.google.protobuf.ByteString getDefaultPathUriBytes() { } public static final int FILE_REPLACEMENT_MAP_FIELD_NUMBER = 3; - private static final class FileReplacementMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField fileReplacementMap_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> fileReplacementMap_; private com.google.protobuf.MapField - internalGetFileReplacementMap() { + internalGetFileReplacementMap() { if (fileReplacementMap_ == null) { return com.google.protobuf.MapField.emptyMapField( FileReplacementMapDefaultEntryHolder.defaultEntry); @@ -292,8 +248,6 @@ public int getFileReplacementMapCount() { return internalGetFileReplacementMap().getMap().size(); } /** - * - * *
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -302,22 +256,22 @@ public int getFileReplacementMapCount() {
    *
    * map<string, string> file_replacement_map = 3;
    */
+
   @java.lang.Override
-  public boolean containsFileReplacementMap(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsFileReplacementMap(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetFileReplacementMap().getMap().containsKey(key);
   }
-  /** Use {@link #getFileReplacementMapMap()} instead. */
+  /**
+   * Use {@link #getFileReplacementMapMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFileReplacementMap() {
     return getFileReplacementMapMap();
   }
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -327,12 +281,11 @@ public java.util.Map getFileReplacementMap()
    * map<string, string> file_replacement_map = 3;
    */
   @java.lang.Override
+
   public java.util.Map getFileReplacementMapMap() {
     return internalGetFileReplacementMap().getMap();
   }
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -342,18 +295,16 @@ public java.util.Map getFileReplacementMapMa
    * map<string, string> file_replacement_map = 3;
    */
   @java.lang.Override
+
   public java.lang.String getFileReplacementMapOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFileReplacementMap().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -363,10 +314,10 @@ public java.lang.String getFileReplacementMapOrDefault(
    * map<string, string> file_replacement_map = 3;
    */
   @java.lang.Override
-  public java.lang.String getFileReplacementMapOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+
+  public java.lang.String getFileReplacementMapOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFileReplacementMap().getMap();
     if (!map.containsKey(key)) {
@@ -376,7 +327,6 @@ public java.lang.String getFileReplacementMapOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -388,14 +338,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (projectDataset_ != null) {
       output.writeMessage(1, getProjectDataset());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultPathUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultPathUri_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
         output,
         internalGetFileReplacementMap(),
         FileReplacementMapDefaultEntryHolder.defaultEntry,
@@ -410,20 +362,21 @@ public int getSerializedSize() {
 
     size = 0;
     if (projectDataset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProjectDataset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getProjectDataset());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultPathUri_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultPathUri_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetFileReplacementMap().getMap().entrySet()) {
-      com.google.protobuf.MapEntry fileReplacementMap__ =
-          FileReplacementMapDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fileReplacementMap__);
+    for (java.util.Map.Entry entry
+         : internalGetFileReplacementMap().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      fileReplacementMap__ = FileReplacementMapDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, fileReplacementMap__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -433,21 +386,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.BteqOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.migration.v2alpha.BteqOptions other =
-        (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) obj;
+    com.google.cloud.bigquery.migration.v2alpha.BteqOptions other = (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) obj;
 
     if (hasProjectDataset() != other.hasProjectDataset()) return false;
     if (hasProjectDataset()) {
-      if (!getProjectDataset().equals(other.getProjectDataset())) return false;
+      if (!getProjectDataset()
+          .equals(other.getProjectDataset())) return false;
     }
-    if (!getDefaultPathUri().equals(other.getDefaultPathUri())) return false;
-    if (!internalGetFileReplacementMap().equals(other.internalGetFileReplacementMap()))
-      return false;
+    if (!getDefaultPathUri()
+        .equals(other.getDefaultPathUri())) return false;
+    if (!internalGetFileReplacementMap().equals(
+        other.internalGetFileReplacementMap())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -475,147 +429,139 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.migration.v2alpha.BteqOptions prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.BteqOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * BTEQ translation task related settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.BteqOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.BteqOptions) com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetFileReplacementMap(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableFileReplacementMap(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.BteqOptions.newBuilder() @@ -623,15 +569,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +595,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; } @java.lang.Override @@ -669,8 +616,7 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.BteqOptions buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.BteqOptions result = - new com.google.cloud.bigquery.migration.v2alpha.BteqOptions(this); + com.google.cloud.bigquery.migration.v2alpha.BteqOptions result = new com.google.cloud.bigquery.migration.v2alpha.BteqOptions(this); int from_bitField0_ = bitField0_; if (projectDatasetBuilder_ == null) { result.projectDataset_ = projectDataset_; @@ -688,39 +634,38 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.BteqOptions) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.BteqOptions)other); } else { super.mergeFrom(other); return this; @@ -728,8 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.BteqOptions other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) return this; if (other.hasProjectDataset()) { mergeProjectDataset(other.getProjectDataset()); } @@ -737,7 +681,8 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.BteqOptions defaultPathUri_ = other.defaultPathUri_; onChanged(); } - internalGetMutableFileReplacementMap().mergeFrom(other.internalGetFileReplacementMap()); + internalGetMutableFileReplacementMap().mergeFrom( + other.internalGetFileReplacementMap()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -757,8 +702,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -767,54 +711,40 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.bigquery.migration.v2alpha.DatasetReference projectDataset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.DatasetReference, - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, - com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder> - projectDatasetBuilder_; + com.google.cloud.bigquery.migration.v2alpha.DatasetReference, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder> projectDatasetBuilder_; /** - * - * *
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
      * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; - * * @return Whether the projectDataset field is set. */ public boolean hasProjectDataset() { return projectDatasetBuilder_ != null || projectDataset_ != null; } /** - * - * *
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
      * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; - * * @return The projectDataset. */ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDataset() { if (projectDatasetBuilder_ == null) { - return projectDataset_ == null - ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() - : projectDataset_; + return projectDataset_ == null ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() : projectDataset_; } else { return projectDatasetBuilder_.getMessage(); } } /** - * - * *
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -822,8 +752,7 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDa
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public Builder setProjectDataset(
-        com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
+    public Builder setProjectDataset(com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
       if (projectDatasetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -837,8 +766,6 @@ public Builder setProjectDataset(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -858,8 +785,6 @@ public Builder setProjectDataset(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -867,15 +792,11 @@ public Builder setProjectDataset(
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public Builder mergeProjectDataset(
-        com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
+    public Builder mergeProjectDataset(com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
       if (projectDatasetBuilder_ == null) {
         if (projectDataset_ != null) {
           projectDataset_ =
-              com.google.cloud.bigquery.migration.v2alpha.DatasetReference.newBuilder(
-                      projectDataset_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.migration.v2alpha.DatasetReference.newBuilder(projectDataset_).mergeFrom(value).buildPartial();
         } else {
           projectDataset_ = value;
         }
@@ -887,8 +808,6 @@ public Builder mergeProjectDataset(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -908,8 +827,6 @@ public Builder clearProjectDataset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -917,15 +834,12 @@ public Builder clearProjectDataset() {
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder
-        getProjectDatasetBuilder() {
-
+    public com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder getProjectDatasetBuilder() {
+      
       onChanged();
       return getProjectDatasetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -933,19 +847,15 @@ public Builder clearProjectDataset() {
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder
-        getProjectDatasetOrBuilder() {
+    public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder getProjectDatasetOrBuilder() {
       if (projectDatasetBuilder_ != null) {
         return projectDatasetBuilder_.getMessageOrBuilder();
       } else {
-        return projectDataset_ == null
-            ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance()
-            : projectDataset_;
+        return projectDataset_ == null ?
+            com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() : projectDataset_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -954,17 +864,14 @@ public Builder clearProjectDataset() {
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.DatasetReference,
-            com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder,
-            com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder>
+        com.google.cloud.bigquery.migration.v2alpha.DatasetReference, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder> 
         getProjectDatasetFieldBuilder() {
       if (projectDatasetBuilder_ == null) {
-        projectDatasetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.bigquery.migration.v2alpha.DatasetReference,
-                com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder,
-                com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder>(
-                getProjectDataset(), getParentForChildren(), isClean());
+        projectDatasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.migration.v2alpha.DatasetReference, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder>(
+                getProjectDataset(),
+                getParentForChildren(),
+                isClean());
         projectDataset_ = null;
       }
       return projectDatasetBuilder_;
@@ -972,21 +879,19 @@ public Builder clearProjectDataset() {
 
     private java.lang.Object defaultPathUri_ = "";
     /**
-     *
-     *
      * 
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; - * * @return The defaultPathUri. */ public java.lang.String getDefaultPathUri() { java.lang.Object ref = defaultPathUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultPathUri_ = s; return s; @@ -995,22 +900,21 @@ public java.lang.String getDefaultPathUri() { } } /** - * - * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; - * * @return The bytes for defaultPathUri. */ - public com.google.protobuf.ByteString getDefaultPathUriBytes() { + public com.google.protobuf.ByteString + getDefaultPathUriBytes() { java.lang.Object ref = defaultPathUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultPathUri_ = b; return b; } else { @@ -1018,88 +922,78 @@ public com.google.protobuf.ByteString getDefaultPathUriBytes() { } } /** - * - * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; - * * @param value The defaultPathUri to set. * @return This builder for chaining. */ - public Builder setDefaultPathUri(java.lang.String value) { + public Builder setDefaultPathUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultPathUri_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; - * * @return This builder for chaining. */ public Builder clearDefaultPathUri() { - + defaultPathUri_ = getDefaultInstance().getDefaultPathUri(); onChanged(); return this; } /** - * - * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; - * * @param value The bytes for defaultPathUri to set. * @return This builder for chaining. */ - public Builder setDefaultPathUriBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultPathUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultPathUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField fileReplacementMap_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> fileReplacementMap_; private com.google.protobuf.MapField - internalGetFileReplacementMap() { + internalGetFileReplacementMap() { if (fileReplacementMap_ == null) { return com.google.protobuf.MapField.emptyMapField( FileReplacementMapDefaultEntryHolder.defaultEntry); } return fileReplacementMap_; } - private com.google.protobuf.MapField - internalGetMutableFileReplacementMap() { - onChanged(); - ; + internalGetMutableFileReplacementMap() { + onChanged();; if (fileReplacementMap_ == null) { - fileReplacementMap_ = - com.google.protobuf.MapField.newMapField( - FileReplacementMapDefaultEntryHolder.defaultEntry); + fileReplacementMap_ = com.google.protobuf.MapField.newMapField( + FileReplacementMapDefaultEntryHolder.defaultEntry); } if (!fileReplacementMap_.isMutable()) { fileReplacementMap_ = fileReplacementMap_.copy(); @@ -1111,8 +1005,6 @@ public int getFileReplacementMapCount() { return internalGetFileReplacementMap().getMap().size(); } /** - * - * *
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1121,22 +1013,22 @@ public int getFileReplacementMapCount() {
      *
      * map<string, string> file_replacement_map = 3;
      */
+
     @java.lang.Override
-    public boolean containsFileReplacementMap(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsFileReplacementMap(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetFileReplacementMap().getMap().containsKey(key);
     }
-    /** Use {@link #getFileReplacementMapMap()} instead. */
+    /**
+     * Use {@link #getFileReplacementMapMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFileReplacementMap() {
       return getFileReplacementMapMap();
     }
     /**
-     *
-     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1146,12 +1038,11 @@ public java.util.Map getFileReplacementMap()
      * map<string, string> file_replacement_map = 3;
      */
     @java.lang.Override
+
     public java.util.Map getFileReplacementMapMap() {
       return internalGetFileReplacementMap().getMap();
     }
     /**
-     *
-     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1161,18 +1052,16 @@ public java.util.Map getFileReplacementMapMa
      * map<string, string> file_replacement_map = 3;
      */
     @java.lang.Override
+
     public java.lang.String getFileReplacementMapOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFileReplacementMap().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1182,10 +1071,10 @@ public java.lang.String getFileReplacementMapOrDefault(
      * map<string, string> file_replacement_map = 3;
      */
     @java.lang.Override
-    public java.lang.String getFileReplacementMapOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+
+    public java.lang.String getFileReplacementMapOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFileReplacementMap().getMap();
       if (!map.containsKey(key)) {
@@ -1195,12 +1084,11 @@ public java.lang.String getFileReplacementMapOrThrow(java.lang.String key) {
     }
 
     public Builder clearFileReplacementMap() {
-      internalGetMutableFileReplacementMap().getMutableMap().clear();
+      internalGetMutableFileReplacementMap().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1209,21 +1097,23 @@ public Builder clearFileReplacementMap() {
      *
      * map<string, string> file_replacement_map = 3;
      */
-    public Builder removeFileReplacementMap(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableFileReplacementMap().getMutableMap().remove(key);
+
+    public Builder removeFileReplacementMap(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableFileReplacementMap().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableFileReplacementMap() {
+    public java.util.Map
+    getMutableFileReplacementMap() {
       return internalGetMutableFileReplacementMap().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1232,20 +1122,19 @@ public java.util.Map getMutableFileReplaceme
      *
      * map<string, string> file_replacement_map = 3;
      */
-    public Builder putFileReplacementMap(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putFileReplacementMap(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableFileReplacementMap().getMutableMap().put(key, value);
+      internalGetMutableFileReplacementMap().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1254,14 +1143,16 @@ public Builder putFileReplacementMap(java.lang.String key, java.lang.String valu
      *
      * map<string, string> file_replacement_map = 3;
      */
+
     public Builder putAllFileReplacementMap(
         java.util.Map values) {
-      internalGetMutableFileReplacementMap().getMutableMap().putAll(values);
+      internalGetMutableFileReplacementMap().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1271,12 +1162,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.BteqOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.BteqOptions)
   private static final com.google.cloud.bigquery.migration.v2alpha.BteqOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.BteqOptions();
   }
@@ -1285,16 +1176,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BteqOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new BteqOptions(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BteqOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new BteqOptions(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1309,4 +1200,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
similarity index 72%
rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
index 5692569..303c9fe 100644
--- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
+++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto
 
 package com.google.cloud.bigquery.migration.v2alpha;
 
-public interface BteqOptionsOrBuilder
-    extends
+public interface BteqOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.BteqOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; - * * @return Whether the projectDataset field is set. */ boolean hasProjectDataset(); /** - * - * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; - * * @return The projectDataset. */ com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDataset(); /** - * - * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
@@ -59,39 +35,31 @@ public interface BteqOptionsOrBuilder
    *
    * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
    */
-  com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder
-      getProjectDatasetOrBuilder();
+  com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder getProjectDatasetOrBuilder();
 
   /**
-   *
-   *
    * 
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; - * * @return The defaultPathUri. */ java.lang.String getDefaultPathUri(); /** - * - * *
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; - * * @return The bytes for defaultPathUri. */ - com.google.protobuf.ByteString getDefaultPathUriBytes(); + com.google.protobuf.ByteString + getDefaultPathUriBytes(); /** - * - * *
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -102,8 +70,6 @@ public interface BteqOptionsOrBuilder
    */
   int getFileReplacementMapCount();
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -112,13 +78,15 @@ public interface BteqOptionsOrBuilder
    *
    * map<string, string> file_replacement_map = 3;
    */
-  boolean containsFileReplacementMap(java.lang.String key);
-  /** Use {@link #getFileReplacementMapMap()} instead. */
+  boolean containsFileReplacementMap(
+      java.lang.String key);
+  /**
+   * Use {@link #getFileReplacementMapMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getFileReplacementMap();
+  java.util.Map
+  getFileReplacementMap();
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -127,10 +95,9 @@ public interface BteqOptionsOrBuilder
    *
    * map<string, string> file_replacement_map = 3;
    */
-  java.util.Map getFileReplacementMapMap();
+  java.util.Map
+  getFileReplacementMapMap();
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -141,13 +108,11 @@ public interface BteqOptionsOrBuilder
    */
 
   /* nullable */
-  java.lang.String getFileReplacementMapOrDefault(
+java.lang.String getFileReplacementMapOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -156,5 +121,7 @@ java.lang.String getFileReplacementMapOrDefault(
    *
    * map<string, string> file_replacement_map = 3;
    */
-  java.lang.String getFileReplacementMapOrThrow(java.lang.String key);
+
+  java.lang.String getFileReplacementMapOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
similarity index 55%
rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
index a2ebe5e..604b739 100644
--- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
+++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
@@ -1,58 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto
 
 package com.google.cloud.bigquery.migration.v2alpha;
 
 /**
- *
- *
  * 
  * Request to create a migration workflow resource.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest} */ -public final class CreateMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) CreateMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMigrationWorkflowRequest.newBuilder() to construct. - private CreateMigrationWorkflowRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMigrationWorkflowRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,38 +53,32 @@ private CreateMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder subBuilder = null; + if (migrationWorkflow_ != null) { + subBuilder = migrationWorkflow_.toBuilder(); } - case 18: - { - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder subBuilder = - null; - if (migrationWorkflow_ != null) { - subBuilder = migrationWorkflow_.toBuilder(); - } - migrationWorkflow_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migrationWorkflow_); - migrationWorkflow_ = subBuilder.buildPartial(); - } - - break; + migrationWorkflow_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migrationWorkflow_); + migrationWorkflow_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,43 +86,35 @@ private CreateMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -155,32 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -191,16 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MIGRATION_WORKFLOW_FIELD_NUMBER = 2; private com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migrationWorkflow_; /** - * - * *
    * Required. The migration workflow to create.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migrationWorkflow field is set. */ @java.lang.Override @@ -208,43 +169,30 @@ public boolean hasMigrationWorkflow() { return migrationWorkflow_ != null; } /** - * - * *
    * Required. The migration workflow to create.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migrationWorkflow. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow() { - return migrationWorkflow_ == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() - : migrationWorkflow_; + return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; } /** - * - * *
    * Required. The migration workflow to create.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder - getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { return getMigrationWorkflow(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -276,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (migrationWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMigrationWorkflow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMigrationWorkflow()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,19 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasMigrationWorkflow() != other.hasMigrationWorkflow()) return false; if (hasMigrationWorkflow()) { - if (!getMigrationWorkflow().equals(other.getMigrationWorkflow())) return false; + if (!getMigrationWorkflow() + .equals(other.getMigrationWorkflow())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,152 +272,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a migration workflow resource.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,22 +416,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -506,10 +436,8 @@ public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowReques } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(this); result.parent_ = parent_; if (migrationWorkflowBuilder_ == null) { result.migrationWorkflow_ = migrationWorkflow_; @@ -524,52 +452,46 @@ public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,14 +514,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parsedMessage = - null; + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,24 +551,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -661,70 +573,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -732,61 +631,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migrationWorkflow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> - migrationWorkflowBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> migrationWorkflowBuilder_; /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migrationWorkflow field is set. */ public boolean hasMigrationWorkflow() { return migrationWorkflowBuilder_ != null || migrationWorkflow_ != null; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migrationWorkflow. */ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { - return migrationWorkflow_ == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() - : migrationWorkflow_; + return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; } else { return migrationWorkflowBuilder_.getMessage(); } } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { + public Builder setMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -800,15 +679,11 @@ public Builder setMigrationWorkflow( return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMigrationWorkflow( com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { @@ -822,25 +697,17 @@ public Builder setMigrationWorkflow( return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { + public Builder mergeMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (migrationWorkflow_ != null) { migrationWorkflow_ = - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.newBuilder( - migrationWorkflow_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.newBuilder(migrationWorkflow_).mergeFrom(value).buildPartial(); } else { migrationWorkflow_ = value; } @@ -852,15 +719,11 @@ public Builder mergeMigrationWorkflow( return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { @@ -874,73 +737,55 @@ public Builder clearMigrationWorkflow() { return this; } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder - getMigrationWorkflowBuilder() { - + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder getMigrationWorkflowBuilder() { + onChanged(); return getMigrationWorkflowFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder - getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { if (migrationWorkflowBuilder_ != null) { return migrationWorkflowBuilder_.getMessageOrBuilder(); } else { - return migrationWorkflow_ == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() - : migrationWorkflow_; + return migrationWorkflow_ == null ? + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; } } /** - * - * *
      * Required. The migration workflow to create.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> getMigrationWorkflowFieldBuilder() { if (migrationWorkflowBuilder_ == null) { - migrationWorkflowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( - getMigrationWorkflow(), getParentForChildren(), isClean()); + migrationWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( + getMigrationWorkflow(), + getParentForChildren(), + isClean()); migrationWorkflow_ = null; } return migrationWorkflowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -950,33 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -988,8 +830,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..2fe965b --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface CreateMigrationWorkflowRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The migration workflow to create.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the migrationWorkflow field is set. + */ + boolean hasMigrationWorkflow(); + /** + *
+   * Required. The migration workflow to create.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The migrationWorkflow. + */ + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(); + /** + *
+   * Required. The migration workflow to create.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder(); +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java index 28dde68..ca05b75 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Reference to a BigQuery dataset.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DatasetReference} */ -public final class DatasetReference extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatasetReference extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.DatasetReference) DatasetReferenceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatasetReference.newBuilder() to construct. private DatasetReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatasetReference() { datasetId_ = ""; projectId_ = ""; @@ -44,15 +26,16 @@ private DatasetReference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatasetReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DatasetReference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DatasetReference( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - datasetId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + datasetId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private DatasetReference( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); } public static final int DATASET_ID_FIELD_NUMBER = 1; private volatile java.lang.Object datasetId_; /** - * - * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dataset_id = 1; - * * @return The datasetId. */ @java.lang.Override @@ -142,15 +118,14 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** - * - * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -158,15 +133,16 @@ public java.lang.String getDatasetId() {
    * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -177,14 +153,11 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** - * - * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -193,29 +166,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -224,7 +197,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } @@ -266,16 +239,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.DatasetReference)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.DatasetReference other = - (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) obj; + com.google.cloud.bigquery.migration.v2alpha.DatasetReference other = (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) obj; - if (!getDatasetId().equals(other.getDatasetId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatasetId() + .equals(other.getDatasetId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +271,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.DatasetReference prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.DatasetReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Reference to a BigQuery dataset.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DatasetReference} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.DatasetReference) com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.DatasetReference.newBuilder() @@ -425,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,14 +410,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DatasetReference - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance(); } @@ -467,8 +431,7 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.DatasetReference buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.DatasetReference result = - new com.google.cloud.bigquery.migration.v2alpha.DatasetReference(this); + com.google.cloud.bigquery.migration.v2alpha.DatasetReference result = new com.google.cloud.bigquery.migration.v2alpha.DatasetReference(this); result.datasetId_ = datasetId_; result.projectId_ = projectId_; onBuilt(); @@ -479,39 +442,38 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.DatasetReference) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.DatasetReference) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.DatasetReference)other); } else { super.mergeFrom(other); return this; @@ -519,9 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.DatasetReference other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance()) return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); @@ -549,8 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,8 +521,6 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** - * - * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -571,13 +528,13 @@ public Builder mergeFrom(
      * 
* * string dataset_id = 1; - * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -586,8 +543,6 @@ public java.lang.String getDatasetId() { } } /** - * - * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -595,14 +550,15 @@ public java.lang.String getDatasetId() {
      * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -610,8 +566,6 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** - * - * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -619,22 +573,20 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
      * 
* * string dataset_id = 1; - * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId(java.lang.String value) { + public Builder setDatasetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** - * - * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -642,18 +594,15 @@ public Builder setDatasetId(java.lang.String value) {
      * 
* * string dataset_id = 1; - * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** - * - * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -661,16 +610,16 @@ public Builder clearDatasetId() {
      * 
* * string dataset_id = 1; - * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; @@ -678,20 +627,18 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -700,21 +647,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -722,68 +668,61 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,13 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.DatasetReference) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.DatasetReference) - private static final com.google.cloud.bigquery.migration.v2alpha.DatasetReference - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.DatasetReference DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.DatasetReference(); } @@ -808,16 +746,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatasetReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatasetReference(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatasetReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatasetReference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java similarity index 62% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java index 8b7ef59..18692d6 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface DatasetReferenceOrBuilder - extends +public interface DatasetReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.DatasetReference) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -33,13 +15,10 @@ public interface DatasetReferenceOrBuilder
    * 
* * string dataset_id = 1; - * * @return The datasetId. */ java.lang.String getDatasetId(); /** - * - * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -47,33 +26,28 @@ public interface DatasetReferenceOrBuilder
    * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString getDatasetIdBytes(); + com.google.protobuf.ByteString + getDatasetIdBytes(); /** - * - * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java similarity index 55% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java index 8760f1b..ba1a8f5 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A request to delete a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest} */ -public final class DeleteMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) DeleteMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMigrationWorkflowRequest.newBuilder() to construct. - private DeleteMigrationWorkflowRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,43 +73,35 @@ private DeleteMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -137,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,16 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,152 +205,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to delete a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -390,22 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -413,10 +363,8 @@ public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowReques } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -426,52 +374,46 @@ public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -491,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parsedMessage = - null; + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -510,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -535,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -560,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -640,33 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,8 +594,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..2efafe0 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface DeleteMigrationWorkflowRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java index 08254ed..e64ca5c 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Provides details for errors, e.g. issues that where encountered when
  * processing a subtask.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorDetail}
  */
-public final class ErrorDetail extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ErrorDetail extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ErrorDetail)
     ErrorDetailOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ErrorDetail.newBuilder() to construct.
   private ErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ErrorDetail() {}
+  private ErrorDetail() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ErrorDetail();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ErrorDetail(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,44 +53,39 @@ private ErrorDetail(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder subBuilder = null;
-              if (location_ != null) {
-                subBuilder = location_.toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(location_);
-                location_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder subBuilder = null;
+            if (location_ != null) {
+              subBuilder = location_.toBuilder();
+            }
+            location_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(location_);
+              location_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.rpc.ErrorInfo.Builder subBuilder = null;
-              if (errorInfo_ != null) {
-                subBuilder = errorInfo_.toBuilder();
-              }
-              errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(errorInfo_);
-                errorInfo_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.rpc.ErrorInfo.Builder subBuilder = null;
+            if (errorInfo_ != null) {
+              subBuilder = errorInfo_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(errorInfo_);
+              errorInfo_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,41 +93,34 @@ private ErrorDetail(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class,
-            com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.migration.v2alpha.ErrorLocation location_;
   /**
-   *
-   *
    * 
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the location field is set. */ @java.lang.Override @@ -156,34 +128,23 @@ public boolean hasLocation() { return location_ != null; } /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The location. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getLocation() { - return location_ == null - ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() - : location_; + return location_ == null ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() : location_; } /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLocationOrBuilder() { @@ -193,14 +154,11 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLoc public static final int ERROR_INFO_FIELD_NUMBER = 2; private com.google.rpc.ErrorInfo errorInfo_; /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the errorInfo field is set. */ @java.lang.Override @@ -208,14 +166,11 @@ public boolean hasErrorInfo() { return errorInfo_ != null; } /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorInfo. */ @java.lang.Override @@ -223,8 +178,6 @@ public com.google.rpc.ErrorInfo getErrorInfo() { return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
@@ -237,7 +190,6 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -266,10 +219,12 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLocation()); } if (errorInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getErrorInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getErrorInfo()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +234,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail other = - (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) obj; + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail other = (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; } if (hasErrorInfo() != other.hasErrorInfo()) return false; if (hasErrorInfo()) { - if (!getErrorInfo().equals(other.getErrorInfo())) return false; + if (!getErrorInfo() + .equals(other.getErrorInfo())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,104 +276,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Provides details for errors, e.g. issues that where encountered when
    * processing a subtask.
@@ -425,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorDetail}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ErrorDetail)
       com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class,
-              com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.newBuilder()
@@ -449,15 +395,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -477,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
@@ -498,8 +445,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.ErrorDetail result =
-          new com.google.cloud.bigquery.migration.v2alpha.ErrorDetail(this);
+      com.google.cloud.bigquery.migration.v2alpha.ErrorDetail result = new com.google.cloud.bigquery.migration.v2alpha.ErrorDetail(this);
       if (locationBuilder_ == null) {
         result.location_ = location_;
       } else {
@@ -518,39 +464,38 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorDetail)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()) return this;
       if (other.hasLocation()) {
         mergeLocation(other.getLocation());
       }
@@ -585,8 +529,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -598,58 +541,39 @@ public Builder mergeFrom(
 
     private com.google.cloud.bigquery.migration.v2alpha.ErrorLocation location_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.ErrorLocation,
-            com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder,
-            com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder>
-        locationBuilder_;
+        com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder> locationBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The location. */ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getLocation() { if (locationBuilder_ == null) { - return location_ == null - ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() - : location_; + return location_ == null ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation value) { if (locationBuilder_ == null) { @@ -665,15 +589,11 @@ public Builder setLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLoca return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLocation( com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder builderForValue) { @@ -687,23 +607,17 @@ public Builder setLocation( return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.newBuilder(location_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -715,15 +629,11 @@ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLo return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLocation() { if (locationBuilder_ == null) { @@ -737,65 +647,48 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder - getLocationOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null - ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() - : location_; + return location_ == null ? + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() : location_; } } /** - * - * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, - com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, - com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder>( - getLocation(), getParentForChildren(), isClean()); + locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder>( + getLocation(), + getParentForChildren(), + isClean()); location_ = null; } return locationBuilder_; @@ -803,33 +696,24 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder getLoca private com.google.rpc.ErrorInfo errorInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> - errorInfoBuilder_; + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> errorInfoBuilder_; /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the errorInfo field is set. */ public boolean hasErrorInfo() { return errorInfoBuilder_ != null || errorInfo_ != null; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorInfo. */ public com.google.rpc.ErrorInfo getErrorInfo() { @@ -840,8 +724,6 @@ public com.google.rpc.ErrorInfo getErrorInfo() { } } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -862,15 +744,14 @@ public Builder setErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setErrorInfo(com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setErrorInfo( + com.google.rpc.ErrorInfo.Builder builderForValue) { if (errorInfoBuilder_ == null) { errorInfo_ = builderForValue.build(); onChanged(); @@ -881,8 +762,6 @@ public Builder setErrorInfo(com.google.rpc.ErrorInfo.Builder builderForValue) { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -893,7 +772,7 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { if (errorInfoBuilder_ == null) { if (errorInfo_ != null) { errorInfo_ = - com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); } else { errorInfo_ = value; } @@ -905,8 +784,6 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -925,8 +802,6 @@ public Builder clearErrorInfo() { return this; } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -934,13 +809,11 @@ public Builder clearErrorInfo() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ErrorInfo.Builder getErrorInfoBuilder() { - + onChanged(); return getErrorInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -951,12 +824,11 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { if (errorInfoBuilder_ != null) { return errorInfoBuilder_.getMessageOrBuilder(); } else { - return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; + return errorInfo_ == null ? + com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } } /** - * - * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -964,24 +836,21 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> getErrorInfoFieldBuilder() { if (errorInfoBuilder_ == null) { - errorInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder>( - getErrorInfo(), getParentForChildren(), isClean()); + errorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( + getErrorInfo(), + getParentForChildren(), + isClean()); errorInfo_ = null; } return errorInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ErrorDetail) private static final com.google.cloud.bigquery.migration.v2alpha.ErrorDetail DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ErrorDetail(); } @@ -1005,16 +874,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java similarity index 60% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java index 1173012..0a04e4f 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java @@ -1,96 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ErrorDetailOrBuilder - extends +public interface ErrorDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ErrorDetail) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The location. */ com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getLocation(); /** - * - * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLocationOrBuilder(); /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the errorInfo field is set. */ boolean hasErrorInfo(); /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorInfo. */ com.google.rpc.ErrorInfo getErrorInfo(); /** - * - * *
    * Required. Describes the cause of the error with structured detail.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java index 31fa1f0..f80f6a2 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Holds information about where the error is located.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorLocation} */ -public final class ErrorLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ErrorLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ErrorLocation) ErrorLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ErrorLocation.newBuilder() to construct. private ErrorLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ErrorLocation() {} + private ErrorLocation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ErrorLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ErrorLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,23 +52,23 @@ private ErrorLocation( case 0: done = true; break; - case 8: - { - line_ = input.readInt32(); - break; - } - case 16: - { - column_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + line_ = input.readInt32(); + break; + } + case 16: { + + column_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,40 +76,35 @@ private ErrorLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** - * - * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The line. */ @java.lang.Override @@ -136,15 +115,12 @@ public int getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** - * - * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ @java.lang.Override @@ -153,7 +129,6 @@ public int getColumn() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +140,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (line_ != 0) { output.writeInt32(1, line_); } @@ -182,10 +158,12 @@ public int getSerializedSize() { size = 0; if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, line_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, line_); } if (column_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, column_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -195,16 +173,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorLocation)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation other = - (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) obj; + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation other = (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) obj; - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; + if (getLine() + != other.getLine()) return false; + if (getColumn() + != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +205,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Holds information about where the error is located.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ErrorLocation) com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.newBuilder() @@ -354,15 +323,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +344,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; } @java.lang.Override @@ -395,8 +365,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation result = - new com.google.cloud.bigquery.migration.v2alpha.ErrorLocation(this); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation result = new com.google.cloud.bigquery.migration.v2alpha.ErrorLocation(this); result.line_ = line_; result.column_ = column_; onBuilt(); @@ -407,39 +376,38 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorLocation)other); } else { super.mergeFrom(other); return this; @@ -447,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance()) return this; if (other.getLine() != 0) { setLine(other.getLine()); } @@ -474,8 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,17 +451,14 @@ public Builder mergeFrom( return this; } - private int line_; + private int line_ ; /** - * - * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The line. */ @java.lang.Override @@ -503,54 +466,45 @@ public int getLine() { return line_; } /** - * - * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { - + line_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLine() { - + line_ = 0; onChanged(); return this; } - private int column_; + private int column_ ; /** - * - * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ @java.lang.Override @@ -558,45 +512,39 @@ public int getColumn() { return column_; } /** - * - * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { - + column_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ErrorLocation) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ErrorLocation) private static final com.google.cloud.bigquery.migration.v2alpha.ErrorLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ErrorLocation(); } @@ -620,16 +568,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java similarity index 58% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java index ed2cd6a..67746da 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ErrorLocationOrBuilder - extends +public interface ErrorLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ErrorLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The line. */ int getLine(); /** - * - * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ int getColumn(); diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java index 3d67b0f..f66fbcd 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * The filter applied to fields of translation details.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Filter} */ -public final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Filter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Filter() { inputFileExclusionPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Filter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,23 +54,22 @@ private Filter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputFileExclusionPrefixes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - inputFileExclusionPrefixes_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputFileExclusionPrefixes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + inputFileExclusionPrefixes_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,7 +77,8 @@ private Filter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inputFileExclusionPrefixes_ = inputFileExclusionPrefixes_.getUnmodifiableView(); @@ -104,61 +87,50 @@ private Filter( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Filter.class, - com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Filter.class, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); } public static final int INPUT_FILE_EXCLUSION_PREFIXES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList inputFileExclusionPrefixes_; /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return A list containing the inputFileExclusionPrefixes. */ - public com.google.protobuf.ProtocolStringList getInputFileExclusionPrefixesList() { + public com.google.protobuf.ProtocolStringList + getInputFileExclusionPrefixesList() { return inputFileExclusionPrefixes_; } /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return The count of inputFileExclusionPrefixes. */ public int getInputFileExclusionPrefixesCount() { return inputFileExclusionPrefixes_.size(); } /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index of the element to return. * @return The inputFileExclusionPrefixes at the given index. */ @@ -166,23 +138,20 @@ public java.lang.String getInputFileExclusionPrefixes(int index) { return inputFileExclusionPrefixes_.get(index); } /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index of the value to return. * @return The bytes of the inputFileExclusionPrefixes at the given index. */ - public com.google.protobuf.ByteString getInputFileExclusionPrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInputFileExclusionPrefixesBytes(int index) { return inputFileExclusionPrefixes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,10 +163,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inputFileExclusionPrefixes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 1, inputFileExclusionPrefixes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputFileExclusionPrefixes_.getRaw(i)); } unknownFields.writeTo(output); } @@ -224,16 +193,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.Filter)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.Filter other = - (com.google.cloud.bigquery.migration.v2alpha.Filter) obj; + com.google.cloud.bigquery.migration.v2alpha.Filter other = (com.google.cloud.bigquery.migration.v2alpha.Filter) obj; - if (!getInputFileExclusionPrefixesList().equals(other.getInputFileExclusionPrefixesList())) - return false; + if (!getInputFileExclusionPrefixesList() + .equals(other.getInputFileExclusionPrefixesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -255,126 +223,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The filter applied to fields of translation details.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Filter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.Filter) com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Filter.class, - com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Filter.class, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.Filter.newBuilder() @@ -382,15 +341,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; } @java.lang.Override @@ -421,8 +381,7 @@ public com.google.cloud.bigquery.migration.v2alpha.Filter build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Filter buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.Filter result = - new com.google.cloud.bigquery.migration.v2alpha.Filter(this); + com.google.cloud.bigquery.migration.v2alpha.Filter result = new com.google.cloud.bigquery.migration.v2alpha.Filter(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { inputFileExclusionPrefixes_ = inputFileExclusionPrefixes_.getUnmodifiableView(); @@ -437,39 +396,38 @@ public com.google.cloud.bigquery.migration.v2alpha.Filter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.Filter) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Filter) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Filter)other); } else { super.mergeFrom(other); return this; @@ -477,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Filter other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance()) return this; if (!other.inputFileExclusionPrefixes_.isEmpty()) { if (inputFileExclusionPrefixes_.isEmpty()) { inputFileExclusionPrefixes_ = other.inputFileExclusionPrefixes_; @@ -508,8 +465,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.Filter) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.Filter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -518,56 +474,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList inputFileExclusionPrefixes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList inputFileExclusionPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInputFileExclusionPrefixesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inputFileExclusionPrefixes_ = - new com.google.protobuf.LazyStringArrayList(inputFileExclusionPrefixes_); + inputFileExclusionPrefixes_ = new com.google.protobuf.LazyStringArrayList(inputFileExclusionPrefixes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return A list containing the inputFileExclusionPrefixes. */ - public com.google.protobuf.ProtocolStringList getInputFileExclusionPrefixesList() { + public com.google.protobuf.ProtocolStringList + getInputFileExclusionPrefixesList() { return inputFileExclusionPrefixes_.getUnmodifiableView(); } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return The count of inputFileExclusionPrefixes. */ public int getInputFileExclusionPrefixesCount() { return inputFileExclusionPrefixes_.size(); } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index of the element to return. * @return The inputFileExclusionPrefixes at the given index. */ @@ -575,90 +519,80 @@ public java.lang.String getInputFileExclusionPrefixes(int index) { return inputFileExclusionPrefixes_.get(index); } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index of the value to return. * @return The bytes of the inputFileExclusionPrefixes at the given index. */ - public com.google.protobuf.ByteString getInputFileExclusionPrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInputFileExclusionPrefixesBytes(int index) { return inputFileExclusionPrefixes_.getByteString(index); } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index to set the value at. * @param value The inputFileExclusionPrefixes to set. * @return This builder for chaining. */ - public Builder setInputFileExclusionPrefixes(int index, java.lang.String value) { + public Builder setInputFileExclusionPrefixes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputFileExclusionPrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInputFileExclusionPrefixesIsMutable(); inputFileExclusionPrefixes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param value The inputFileExclusionPrefixes to add. * @return This builder for chaining. */ - public Builder addInputFileExclusionPrefixes(java.lang.String value) { + public Builder addInputFileExclusionPrefixes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputFileExclusionPrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInputFileExclusionPrefixesIsMutable(); inputFileExclusionPrefixes_.add(value); onChanged(); return this; } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param values The inputFileExclusionPrefixes to add. * @return This builder for chaining. */ - public Builder addAllInputFileExclusionPrefixes(java.lang.Iterable values) { + public Builder addAllInputFileExclusionPrefixes( + java.lang.Iterable values) { ensureInputFileExclusionPrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputFileExclusionPrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inputFileExclusionPrefixes_); onChanged(); return this; } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return This builder for chaining. */ public Builder clearInputFileExclusionPrefixes() { @@ -668,30 +602,28 @@ public Builder clearInputFileExclusionPrefixes() { return this; } /** - * - * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param value The bytes of the inputFileExclusionPrefixes to add. * @return This builder for chaining. */ - public Builder addInputFileExclusionPrefixesBytes(com.google.protobuf.ByteString value) { + public Builder addInputFileExclusionPrefixesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInputFileExclusionPrefixesIsMutable(); inputFileExclusionPrefixes_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.Filter) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.Filter) private static final com.google.cloud.bigquery.migration.v2alpha.Filter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.Filter(); } @@ -715,16 +647,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.Filter getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Filter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,4 +671,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java similarity index 64% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java index d0448af..e541138 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface FilterOrBuilder - extends +public interface FilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.Filter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return A list containing the inputFileExclusionPrefixes. */ - java.util.List getInputFileExclusionPrefixesList(); + java.util.List + getInputFileExclusionPrefixesList(); /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @return The count of inputFileExclusionPrefixes. */ int getInputFileExclusionPrefixesCount(); /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index of the element to return. * @return The inputFileExclusionPrefixes at the given index. */ java.lang.String getInputFileExclusionPrefixes(int index); /** - * - * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; - * * @param index The index of the value to return. * @return The bytes of the inputFileExclusionPrefixes at the given index. */ - com.google.protobuf.ByteString getInputFileExclusionPrefixesBytes(int index); + com.google.protobuf.ByteString + getInputFileExclusionPrefixesBytes(int index); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java similarity index 64% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java index a5b7e39..c2ac6c1 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A request to get a previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest} */ -public final class GetMigrationSubtaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMigrationSubtaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) GetMigrationSubtaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMigrationSubtaskRequest.newBuilder() to construct. private GetMigrationSubtaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMigrationSubtaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMigrationSubtaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMigrationSubtaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetMigrationSubtaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetMigrationSubtaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,15 +157,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -202,15 +169,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -218,14 +181,11 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -233,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -265,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other = - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -311,145 +273,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get a previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,22 +416,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest build() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -489,8 +437,7 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest bu @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = - new com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest(this); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -505,51 +452,46 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -576,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -615,24 +551,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -640,70 +573,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -711,35 +631,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -750,14 +659,11 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -773,16 +679,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -793,20 +697,17 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -818,14 +719,11 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -839,66 +737,55 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -908,32 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationSubtaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationSubtaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationSubtaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationSubtaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -945,8 +830,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java index 0d21a98..f7eda40 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface GetMigrationSubtaskRequestOrBuilder - extends +public interface GetMigrationSubtaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java similarity index 64% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java index e751f78..e41fe2a 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A request to get a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest} */ -public final class GetMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) GetMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMigrationWorkflowRequest.newBuilder() to construct. private GetMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,14 +157,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -201,14 +169,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ @java.lang.Override @@ -216,8 +181,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The list of fields to be retrieved.
    * 
@@ -230,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -272,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -308,146 +273,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -463,22 +416,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -487,8 +437,7 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest b @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -503,52 +452,46 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -575,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -589,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -614,24 +551,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -639,70 +573,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -710,33 +631,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -747,8 +659,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -769,15 +679,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -788,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -800,7 +707,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -812,8 +719,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -832,8 +737,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -841,13 +744,11 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -858,12 +759,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -871,24 +771,21 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -898,33 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,8 +830,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java index d512a7d..4856afd 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface GetMigrationWorkflowRequestOrBuilder - extends +public interface GetMigrationWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java similarity index 62% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java index 0e29d1f..e85d936 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Settings related to SQL identifiers.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings} */ -public final class IdentifierSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IdentifierSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) IdentifierSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IdentifierSettings.newBuilder() to construct. private IdentifierSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IdentifierSettings() { outputIdentifierCase_ = 0; identifierRewriteMode_ = 0; @@ -44,15 +26,16 @@ private IdentifierSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IdentifierSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IdentifierSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private IdentifierSettings( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - outputIdentifierCase_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + outputIdentifierCase_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - identifierRewriteMode_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + identifierRewriteMode_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private IdentifierSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); } /** - * - * *
    * The identifier case type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase} */ - public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { + public enum IdentifierCase + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The identifier case is not specified.
      * 
@@ -142,8 +118,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ IDENTIFIER_CASE_UNSPECIFIED(0), /** - * - * *
      * Identifiers' cases will be kept as the original cases.
      * 
@@ -152,8 +126,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ ORIGINAL(1), /** - * - * *
      * Identifiers will be in upper cases.
      * 
@@ -162,8 +134,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ UPPER(2), /** - * - * *
      * Identifiers will be in lower cases.
      * 
@@ -175,8 +145,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The identifier case is not specified.
      * 
@@ -185,8 +153,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IDENTIFIER_CASE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Identifiers' cases will be kept as the original cases.
      * 
@@ -195,8 +161,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORIGINAL_VALUE = 1; /** - * - * *
      * Identifiers will be in upper cases.
      * 
@@ -205,8 +169,6 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPPER_VALUE = 2; /** - * - * *
      * Identifiers will be in lower cases.
      * 
@@ -215,6 +177,7 @@ public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOWER_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,53 +202,50 @@ public static IdentifierCase valueOf(int value) { */ public static IdentifierCase forNumber(int value) { switch (value) { - case 0: - return IDENTIFIER_CASE_UNSPECIFIED; - case 1: - return ORIGINAL; - case 2: - return UPPER; - case 3: - return LOWER; - default: - return null; + case 0: return IDENTIFIER_CASE_UNSPECIFIED; + case 1: return ORIGINAL; + case 2: return UPPER; + case 3: return LOWER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IdentifierCase> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IdentifierCase findValueByNumber(int number) { + return IdentifierCase.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IdentifierCase findValueByNumber(int number) { - return IdentifierCase.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor().getEnumTypes().get(0); } private static final IdentifierCase[] VALUES = values(); - public static IdentifierCase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IdentifierCase valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -303,19 +263,15 @@ private IdentifierCase(int value) { } /** - * - * *
    * The SQL identifier rewrite mode.
    * 
* - * Protobuf enum {@code - * google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode} + * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode} */ - public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessageEnum { + public enum IdentifierRewriteMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * SQL Identifier rewrite mode is unspecified.
      * 
@@ -324,8 +280,6 @@ public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessage */ IDENTIFIER_REWRITE_MODE_UNSPECIFIED(0), /** - * - * *
      * SQL identifiers won't be rewrite.
      * 
@@ -334,8 +288,6 @@ public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessage */ NONE(1), /** - * - * *
      * All SQL identifiers will be rewrite.
      * 
@@ -347,8 +299,6 @@ public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessage ; /** - * - * *
      * SQL Identifier rewrite mode is unspecified.
      * 
@@ -357,8 +307,6 @@ public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessage */ public static final int IDENTIFIER_REWRITE_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SQL identifiers won't be rewrite.
      * 
@@ -367,8 +315,6 @@ public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessage */ public static final int NONE_VALUE = 1; /** - * - * *
      * All SQL identifiers will be rewrite.
      * 
@@ -377,6 +323,7 @@ public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessage */ public static final int REWRITE_ALL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -401,14 +348,10 @@ public static IdentifierRewriteMode valueOf(int value) { */ public static IdentifierRewriteMode forNumber(int value) { switch (value) { - case 0: - return IDENTIFIER_REWRITE_MODE_UNSPECIFIED; - case 1: - return NONE; - case 2: - return REWRITE_ALL; - default: - return null; + case 0: return IDENTIFIER_REWRITE_MODE_UNSPECIFIED; + case 1: return NONE; + case 2: return REWRITE_ALL; + default: return null; } } @@ -416,31 +359,29 @@ public static IdentifierRewriteMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IdentifierRewriteMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IdentifierRewriteMode findValueByNumber(int number) { + return IdentifierRewriteMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IdentifierRewriteMode findValueByNumber(int number) { - return IdentifierRewriteMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor().getEnumTypes().get(1); } private static final IdentifierRewriteMode[] VALUES = values(); @@ -448,7 +389,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static IdentifierRewriteMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -468,94 +410,58 @@ private IdentifierRewriteMode(int value) { public static final int OUTPUT_IDENTIFIER_CASE_FIELD_NUMBER = 1; private int outputIdentifierCase_; /** - * - * *
    * The setting to control output queries' identifier case.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @return The enum numeric value on the wire for outputIdentifierCase. */ - @java.lang.Override - public int getOutputIdentifierCaseValue() { + @java.lang.Override public int getOutputIdentifierCaseValue() { return outputIdentifierCase_; } /** - * - * *
    * The setting to control output queries' identifier case.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @return The outputIdentifierCase. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase - getOutputIdentifierCase() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase getOutputIdentifierCase() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf( - outputIdentifierCase_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf(outputIdentifierCase_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.UNRECOGNIZED : result; } public static final int IDENTIFIER_REWRITE_MODE_FIELD_NUMBER = 2; private int identifierRewriteMode_; /** - * - * *
    * Specifies the rewrite mode for SQL identifiers.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @return The enum numeric value on the wire for identifierRewriteMode. */ - @java.lang.Override - public int getIdentifierRewriteModeValue() { + @java.lang.Override public int getIdentifierRewriteModeValue() { return identifierRewriteMode_; } /** - * - * *
    * Specifies the rewrite mode for SQL identifiers.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @return The identifierRewriteMode. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - getIdentifierRewriteMode() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode getIdentifierRewriteMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - .valueOf(identifierRewriteMode_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.valueOf(identifierRewriteMode_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -567,17 +473,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (outputIdentifierCase_ - != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase - .IDENTIFIER_CASE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (outputIdentifierCase_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.IDENTIFIER_CASE_UNSPECIFIED.getNumber()) { output.writeEnum(1, outputIdentifierCase_); } - if (identifierRewriteMode_ - != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - .IDENTIFIER_REWRITE_MODE_UNSPECIFIED - .getNumber()) { + if (identifierRewriteMode_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.IDENTIFIER_REWRITE_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, identifierRewriteMode_); } unknownFields.writeTo(output); @@ -589,17 +490,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (outputIdentifierCase_ - != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase - .IDENTIFIER_CASE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, outputIdentifierCase_); + if (outputIdentifierCase_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.IDENTIFIER_CASE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, outputIdentifierCase_); } - if (identifierRewriteMode_ - != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - .IDENTIFIER_REWRITE_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, identifierRewriteMode_); + if (identifierRewriteMode_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.IDENTIFIER_REWRITE_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, identifierRewriteMode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -609,13 +506,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings other = - (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) obj; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings other = (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) obj; if (outputIdentifierCase_ != other.outputIdentifierCase_) return false; if (identifierRewriteMode_ != other.identifierRewriteMode_) return false; @@ -640,127 +536,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Settings related to SQL identifiers.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.newBuilder() @@ -768,15 +654,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -788,14 +675,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance(); } @@ -810,8 +696,7 @@ public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings result = - new com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings(this); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings result = new com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings(this); result.outputIdentifierCase_ = outputIdentifierCase_; result.identifierRewriteMode_ = identifierRewriteMode_; onBuilt(); @@ -822,39 +707,38 @@ public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings)other); } else { super.mergeFrom(other); return this; @@ -862,9 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance()) return this; if (other.outputIdentifierCase_ != 0) { setOutputIdentifierCaseValue(other.getOutputIdentifierCaseValue()); } @@ -890,9 +772,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -904,106 +784,73 @@ public Builder mergeFrom( private int outputIdentifierCase_ = 0; /** - * - * *
      * The setting to control output queries' identifier case.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @return The enum numeric value on the wire for outputIdentifierCase. */ - @java.lang.Override - public int getOutputIdentifierCaseValue() { + @java.lang.Override public int getOutputIdentifierCaseValue() { return outputIdentifierCase_; } /** - * - * *
      * The setting to control output queries' identifier case.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @param value The enum numeric value on the wire for outputIdentifierCase to set. * @return This builder for chaining. */ public Builder setOutputIdentifierCaseValue(int value) { - + outputIdentifierCase_ = value; onChanged(); return this; } /** - * - * *
      * The setting to control output queries' identifier case.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @return The outputIdentifierCase. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase - getOutputIdentifierCase() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase getOutputIdentifierCase() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf( - outputIdentifierCase_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf(outputIdentifierCase_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.UNRECOGNIZED : result; } /** - * - * *
      * The setting to control output queries' identifier case.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @param value The outputIdentifierCase to set. * @return This builder for chaining. */ - public Builder setOutputIdentifierCase( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase value) { + public Builder setOutputIdentifierCase(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase value) { if (value == null) { throw new NullPointerException(); } - + outputIdentifierCase_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The setting to control output queries' identifier case.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; * @return This builder for chaining. */ public Builder clearOutputIdentifierCase() { - + outputIdentifierCase_ = 0; onChanged(); return this; @@ -1011,114 +858,80 @@ public Builder clearOutputIdentifierCase() { private int identifierRewriteMode_ = 0; /** - * - * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @return The enum numeric value on the wire for identifierRewriteMode. */ - @java.lang.Override - public int getIdentifierRewriteModeValue() { + @java.lang.Override public int getIdentifierRewriteModeValue() { return identifierRewriteMode_; } /** - * - * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @param value The enum numeric value on the wire for identifierRewriteMode to set. * @return This builder for chaining. */ public Builder setIdentifierRewriteModeValue(int value) { - + identifierRewriteMode_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @return The identifierRewriteMode. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - getIdentifierRewriteMode() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode getIdentifierRewriteMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - .valueOf(identifierRewriteMode_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.valueOf(identifierRewriteMode_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.UNRECOGNIZED : result; } /** - * - * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @param value The identifierRewriteMode to set. * @return This builder for chaining. */ - public Builder setIdentifierRewriteMode( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - value) { + public Builder setIdentifierRewriteMode(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode value) { if (value == null) { throw new NullPointerException(); } - + identifierRewriteMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; * @return This builder for chaining. */ public Builder clearIdentifierRewriteMode() { - + identifierRewriteMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1128,32 +941,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) - private static final com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings(); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentifierSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentifierSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentifierSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentifierSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,8 +976,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java new file mode 100644 index 0000000..3651d52 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java @@ -0,0 +1,47 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface IdentifierSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The setting to control output queries' identifier case.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * @return The enum numeric value on the wire for outputIdentifierCase. + */ + int getOutputIdentifierCaseValue(); + /** + *
+   * The setting to control output queries' identifier case.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * @return The outputIdentifierCase. + */ + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase getOutputIdentifierCase(); + + /** + *
+   * Specifies the rewrite mode for SQL identifiers.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * @return The enum numeric value on the wire for identifierRewriteMode. + */ + int getIdentifierRewriteModeValue(); + /** + *
+   * Specifies the rewrite mode for SQL identifiers.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * @return The identifierRewriteMode. + */ + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode getIdentifierRewriteMode(); +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java similarity index 69% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java index fb480b4..47698ab 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A request to list previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest} */ -public final class ListMigrationSubtasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationSubtasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) ListMigrationSubtasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksRequest.newBuilder() to construct. private ListMigrationSubtasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationSubtasksRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListMigrationSubtasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationSubtasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationSubtasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListMigrationSubtasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - break; + parent_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 24: - { - pageSize_ = input.readInt32(); - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: { - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListMigrationSubtasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,15 +176,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -223,15 +188,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -239,14 +200,11 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -256,15 +214,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -275,8 +230,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -285,7 +238,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -294,15 +246,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -311,15 +262,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -330,8 +282,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -339,7 +289,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -348,15 +297,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -364,15 +312,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -381,7 +330,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -422,10 +371,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -441,23 +392,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; - } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; + } + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -487,146 +441,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -648,22 +590,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -672,8 +611,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(this); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -691,52 +629,46 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -774,9 +706,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -788,23 +718,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -813,24 +739,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -838,70 +761,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -909,35 +819,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -948,14 +847,11 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -971,16 +867,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -991,20 +885,17 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1016,14 +907,11 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1037,75 +925,61 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1113,38 +987,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1152,8 +1020,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1162,13 +1028,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1177,8 +1043,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1187,14 +1051,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1202,8 +1067,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1212,22 +1075,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1236,18 +1097,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1256,16 +1114,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1273,8 +1131,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1282,13 +1138,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1297,8 +1153,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1306,14 +1160,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1321,8 +1176,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1330,22 +1183,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1353,18 +1204,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1372,23 +1220,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1398,33 +1246,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1436,8 +1281,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java index a33eaac..4f21f20 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java @@ -1,114 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationSubtasksRequestOrBuilder - extends +public interface ListMigrationSubtasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** - * - * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -117,13 +76,10 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -132,14 +88,12 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -147,13 +101,10 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -161,8 +112,8 @@ public interface ListMigrationSubtasksRequestOrBuilder
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java similarity index 63% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java index c310e80..9812f28 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Response object for a `ListMigrationSubtasks` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse} */ -public final class ListMigrationSubtasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationSubtasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) ListMigrationSubtasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksResponse.newBuilder() to construct. private ListMigrationSubtasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationSubtasksResponse() { migrationSubtasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListMigrationSubtasksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationSubtasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationSubtasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListMigrationSubtasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>(); - mutable_bitField0_ |= 0x00000001; - } - migrationSubtasks_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationSubtasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + migrationSubtasks_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListMigrationSubtasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationSubtasks_ = java.util.Collections.unmodifiableList(migrationSubtasks_); @@ -116,119 +94,88 @@ private ListMigrationSubtasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder.class); } public static final int MIGRATION_SUBTASKS_FIELD_NUMBER = 1; - private java.util.List - migrationSubtasks_; + private java.util.List migrationSubtasks_; /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public java.util.List - getMigrationSubtasksList() { + public java.util.List getMigrationSubtasksList() { return migrationSubtasks_; } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> + public java.util.List getMigrationSubtasksOrBuilderList() { return migrationSubtasks_; } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override public int getMigrationSubtasksCount() { return migrationSubtasks_.size(); } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks(int index) { return migrationSubtasks_.get(index); } /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder - getMigrationSubtasksOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( + int index) { return migrationSubtasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -237,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -269,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < migrationSubtasks_.size(); i++) { output.writeMessage(1, migrationSubtasks_.get(i)); } @@ -298,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationSubtasks_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationSubtasks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, migrationSubtasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -312,17 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) obj; - if (!getMigrationSubtasksList().equals(other.getMigrationSubtasksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMigrationSubtasksList() + .equals(other.getMigrationSubtasksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,148 +293,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response object for a `ListMigrationSubtasks` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMigrationSubtasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -503,22 +437,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -526,10 +457,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(this); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(this); int from_bitField0_ = bitField0_; if (migrationSubtasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -549,52 +478,46 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance()) return this; if (migrationSubtasksBuilder_ == null) { if (!other.migrationSubtasks_.isEmpty()) { if (migrationSubtasks_.isEmpty()) { @@ -613,10 +536,9 @@ public Builder mergeFrom( migrationSubtasksBuilder_ = null; migrationSubtasks_ = other.migrationSubtasks_; bitField0_ = (bitField0_ & ~0x00000001); - migrationSubtasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMigrationSubtasksFieldBuilder() - : null; + migrationSubtasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMigrationSubtasksFieldBuilder() : null; } else { migrationSubtasksBuilder_.addAllMessages(other.migrationSubtasks_); } @@ -641,14 +563,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parsedMessage = - null; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -657,40 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - migrationSubtasks_ = java.util.Collections.emptyList(); - + private java.util.List migrationSubtasks_ = + java.util.Collections.emptyList(); private void ensureMigrationSubtasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = - new java.util.ArrayList( - migrationSubtasks_); + migrationSubtasks_ = new java.util.ArrayList(migrationSubtasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> - migrationSubtasksBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> migrationSubtasksBuilder_; /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public java.util.List - getMigrationSubtasksList() { + public java.util.List getMigrationSubtasksList() { if (migrationSubtasksBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationSubtasks_); } else { @@ -698,15 +605,11 @@ private void ensureMigrationSubtasksIsMutable() { } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public int getMigrationSubtasksCount() { if (migrationSubtasksBuilder_ == null) { @@ -716,18 +619,13 @@ public int getMigrationSubtasksCount() { } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { return migrationSubtasks_.get(index); } else { @@ -735,15 +633,11 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigration } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder setMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { @@ -760,19 +654,14 @@ public Builder setMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder setMigrationSubtasks( - int index, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.set(index, builderForValue.build()); @@ -783,18 +672,13 @@ public Builder setMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public Builder addMigrationSubtasks( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { + public Builder addMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { if (migrationSubtasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -808,15 +692,11 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder addMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { @@ -833,15 +713,11 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder addMigrationSubtasks( com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { @@ -855,19 +731,14 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder addMigrationSubtasks( - int index, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.add(index, builderForValue.build()); @@ -878,22 +749,18 @@ public Builder addMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder addAllMigrationSubtasks( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationSubtasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, migrationSubtasks_); onChanged(); } else { migrationSubtasksBuilder_.addAllMessages(values); @@ -901,15 +768,11 @@ public Builder addAllMigrationSubtasks( return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder clearMigrationSubtasks() { if (migrationSubtasksBuilder_ == null) { @@ -922,15 +785,11 @@ public Builder clearMigrationSubtasks() { return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ public Builder removeMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { @@ -943,53 +802,39 @@ public Builder removeMigrationSubtasks(int index) { return this; } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder - getMigrationSubtasksBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder getMigrationSubtasksBuilder( + int index) { return getMigrationSubtasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder - getMigrationSubtasksOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( + int index) { if (migrationSubtasksBuilder_ == null) { - return migrationSubtasks_.get(index); - } else { + return migrationSubtasks_.get(index); } else { return migrationSubtasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> - getMigrationSubtasksOrBuilderList() { + public java.util.List + getMigrationSubtasksOrBuilderList() { if (migrationSubtasksBuilder_ != null) { return migrationSubtasksBuilder_.getMessageOrBuilderList(); } else { @@ -997,67 +842,45 @@ public Builder removeMigrationSubtasks(int index) { } } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder - addMigrationSubtasksBuilder() { - return getMigrationSubtasksFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder addMigrationSubtasksBuilder() { + return getMigrationSubtasksFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder - addMigrationSubtasksBuilder(int index) { - return getMigrationSubtasksFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder addMigrationSubtasksBuilder( + int index) { + return getMigrationSubtasksFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); } /** - * - * *
      * The migration subtasks for the specified task.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - public java.util.List - getMigrationSubtasksBuilderList() { + public java.util.List + getMigrationSubtasksBuilderList() { return getMigrationSubtasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> getMigrationSubtasksFieldBuilder() { if (migrationSubtasksBuilder_ == null) { - migrationSubtasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder>( + migrationSubtasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder>( migrationSubtasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1069,21 +892,19 @@ public Builder removeMigrationSubtasks(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1092,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1115,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,33 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,8 +1037,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java similarity index 54% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java index 9fd052a..d019696 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java @@ -1,116 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationSubtasksResponseOrBuilder - extends +public interface ListMigrationSubtasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - java.util.List + java.util.List getMigrationSubtasksList(); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks(int index); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ int getMigrationSubtasksCount(); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - java.util.List + java.util.List getMigrationSubtasksOrBuilderList(); /** - * - * *
    * The migration subtasks for the specified task.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; */ - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder - getMigrationSubtasksOrBuilder(int index); + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java index 895d5fd..8f23c98 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A request to list previously created migration workflows.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest} */ -public final class ListMigrationWorkflowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationWorkflowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) ListMigrationWorkflowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsRequest.newBuilder() to construct. private ListMigrationWorkflowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationWorkflowsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListMigrationWorkflowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationWorkflowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationWorkflowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,47 +54,43 @@ private ListMigrationWorkflowsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + parent_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 24: - { - pageSize_ = input.readInt32(); - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,43 +98,35 @@ private ListMigrationWorkflowsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +135,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -215,14 +181,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ @java.lang.Override @@ -230,8 +193,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The list of fields to be retrieved.
    * 
@@ -246,15 +207,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -265,8 +223,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -275,7 +231,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -284,15 +239,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -301,15 +255,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -318,7 +273,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +284,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -356,10 +311,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -372,22 +329,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -415,146 +374,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list previously created migration workflows.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -574,22 +521,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -597,10 +541,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -617,52 +559,46 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,14 +628,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parsedMessage = - null; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -711,23 +644,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -736,24 +665,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -761,70 +687,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -832,33 +745,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -869,8 +773,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -891,15 +793,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -910,8 +811,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -922,7 +821,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -934,8 +833,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -954,8 +851,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -963,13 +858,11 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -980,12 +873,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * The list of fields to be retrieved.
      * 
@@ -993,33 +885,27 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1027,38 +913,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1066,8 +946,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1076,13 +954,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1091,8 +969,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1101,14 +977,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1116,8 +993,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1126,22 +1001,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1150,18 +1023,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1170,23 +1040,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1196,33 +1066,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,8 +1101,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java index d040d45..debb61f 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationWorkflowsRequestOrBuilder - extends +public interface ListMigrationWorkflowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The list of fields to be retrieved.
    * 
@@ -90,22 +57,17 @@ public interface ListMigrationWorkflowsRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** - * - * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -114,13 +76,10 @@ public interface ListMigrationWorkflowsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -129,8 +88,8 @@ public interface ListMigrationWorkflowsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java similarity index 60% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java index cd725e3..f9ff11a 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Response object for a `ListMigrationWorkflows` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse} */ -public final class ListMigrationWorkflowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigrationWorkflowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) ListMigrationWorkflowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsResponse.newBuilder() to construct. - private ListMigrationWorkflowsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMigrationWorkflowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigrationWorkflowsResponse() { migrationWorkflows_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListMigrationWorkflowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigrationWorkflowsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigrationWorkflowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,34 +55,28 @@ private ListMigrationWorkflowsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>(); - mutable_bitField0_ |= 0x00000001; - } - migrationWorkflows_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationWorkflows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + migrationWorkflows_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +84,8 @@ private ListMigrationWorkflowsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationWorkflows_ = java.util.Collections.unmodifiableList(migrationWorkflows_); @@ -117,119 +94,88 @@ private ListMigrationWorkflowsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder.class); } public static final int MIGRATION_WORKFLOWS_FIELD_NUMBER = 1; - private java.util.List - migrationWorkflows_; + private java.util.List migrationWorkflows_; /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public java.util.List - getMigrationWorkflowsList() { + public java.util.List getMigrationWorkflowsList() { return migrationWorkflows_; } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + public java.util.List getMigrationWorkflowsOrBuilderList() { return migrationWorkflows_; } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override public int getMigrationWorkflowsCount() { return migrationWorkflows_.size(); } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows(int index) { return migrationWorkflows_.get(index); } /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder - getMigrationWorkflowsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( + int index) { return migrationWorkflows_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -238,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -270,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < migrationWorkflows_.size(); i++) { output.writeMessage(1, migrationWorkflows_.get(i)); } @@ -299,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationWorkflows_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationWorkflows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, migrationWorkflows_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -313,17 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) obj; - if (!getMigrationWorkflowsList().equals(other.getMigrationWorkflowsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMigrationWorkflowsList() + .equals(other.getMigrationWorkflowsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,154 +292,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response object for a `ListMigrationWorkflows` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMigrationWorkflowsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -509,22 +437,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -532,10 +457,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRespons } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(this); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(this); int from_bitField0_ = bitField0_; if (migrationWorkflowsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -555,52 +478,46 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance()) return this; if (migrationWorkflowsBuilder_ == null) { if (!other.migrationWorkflows_.isEmpty()) { if (migrationWorkflows_.isEmpty()) { @@ -619,10 +536,9 @@ public Builder mergeFrom( migrationWorkflowsBuilder_ = null; migrationWorkflows_ = other.migrationWorkflows_; bitField0_ = (bitField0_ & ~0x00000001); - migrationWorkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMigrationWorkflowsFieldBuilder() - : null; + migrationWorkflowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMigrationWorkflowsFieldBuilder() : null; } else { migrationWorkflowsBuilder_.addAllMessages(other.migrationWorkflows_); } @@ -647,14 +563,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parsedMessage = - null; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -663,40 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - migrationWorkflows_ = java.util.Collections.emptyList(); - + private java.util.List migrationWorkflows_ = + java.util.Collections.emptyList(); private void ensureMigrationWorkflowsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = - new java.util.ArrayList( - migrationWorkflows_); + migrationWorkflows_ = new java.util.ArrayList(migrationWorkflows_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> - migrationWorkflowsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> migrationWorkflowsBuilder_; /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public java.util.List - getMigrationWorkflowsList() { + public java.util.List getMigrationWorkflowsList() { if (migrationWorkflowsBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationWorkflows_); } else { @@ -704,15 +605,11 @@ private void ensureMigrationWorkflowsIsMutable() { } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public int getMigrationWorkflowsCount() { if (migrationWorkflowsBuilder_ == null) { @@ -722,18 +619,13 @@ public int getMigrationWorkflowsCount() { } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows(int index) { if (migrationWorkflowsBuilder_ == null) { return migrationWorkflows_.get(index); } else { @@ -741,15 +633,11 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigratio } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder setMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { @@ -766,19 +654,14 @@ public Builder setMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder setMigrationWorkflows( - int index, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.set(index, builderForValue.build()); @@ -789,18 +672,13 @@ public Builder setMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public Builder addMigrationWorkflows( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { + public Builder addMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { if (migrationWorkflowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -814,15 +692,11 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder addMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { @@ -839,15 +713,11 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder addMigrationWorkflows( com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { @@ -861,19 +731,14 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder addMigrationWorkflows( - int index, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.add(index, builderForValue.build()); @@ -884,22 +749,18 @@ public Builder addMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder addAllMigrationWorkflows( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationWorkflows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, migrationWorkflows_); onChanged(); } else { migrationWorkflowsBuilder_.addAllMessages(values); @@ -907,15 +768,11 @@ public Builder addAllMigrationWorkflows( return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder clearMigrationWorkflows() { if (migrationWorkflowsBuilder_ == null) { @@ -928,15 +785,11 @@ public Builder clearMigrationWorkflows() { return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ public Builder removeMigrationWorkflows(int index) { if (migrationWorkflowsBuilder_ == null) { @@ -949,53 +802,39 @@ public Builder removeMigrationWorkflows(int index) { return this; } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder - getMigrationWorkflowsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder getMigrationWorkflowsBuilder( + int index) { return getMigrationWorkflowsFieldBuilder().getBuilder(index); } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder - getMigrationWorkflowsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( + int index) { if (migrationWorkflowsBuilder_ == null) { - return migrationWorkflows_.get(index); - } else { + return migrationWorkflows_.get(index); } else { return migrationWorkflowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> - getMigrationWorkflowsOrBuilderList() { + public java.util.List + getMigrationWorkflowsOrBuilderList() { if (migrationWorkflowsBuilder_ != null) { return migrationWorkflowsBuilder_.getMessageOrBuilderList(); } else { @@ -1003,67 +842,45 @@ public Builder removeMigrationWorkflows(int index) { } } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder - addMigrationWorkflowsBuilder() { - return getMigrationWorkflowsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder addMigrationWorkflowsBuilder() { + return getMigrationWorkflowsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder - addMigrationWorkflowsBuilder(int index) { - return getMigrationWorkflowsFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder addMigrationWorkflowsBuilder( + int index) { + return getMigrationWorkflowsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); } /** - * - * *
      * The migration workflows for the specified project / location.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - public java.util.List - getMigrationWorkflowsBuilderList() { + public java.util.List + getMigrationWorkflowsBuilderList() { return getMigrationWorkflowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> getMigrationWorkflowsFieldBuilder() { if (migrationWorkflowsBuilder_ == null) { - migrationWorkflowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( + migrationWorkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( migrationWorkflows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1075,21 +892,19 @@ public Builder removeMigrationWorkflows(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1098,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1121,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1195,33 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1233,8 +1037,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java similarity index 54% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java index 69b7076..2593b6d 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java @@ -1,116 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationWorkflowsResponseOrBuilder - extends +public interface ListMigrationWorkflowsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - java.util.List + java.util.List getMigrationWorkflowsList(); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows(int index); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ int getMigrationWorkflowsCount(); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - java.util.List + java.util.List getMigrationWorkflowsOrBuilderList(); /** - * - * *
    * The migration workflows for the specified project / location.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; - * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; */ - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder - getMigrationWorkflowsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java new file mode 100644 index 0000000..7b10635 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java @@ -0,0 +1,191 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationEntitiesProto { + private MigrationEntitiesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n@google/cloud/bigquery/migration/v2alph" + + "a/migration_entities.proto\022\'google.cloud" + + ".bigquery.migration.v2alpha\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032=google/cloud/bigquery/migration" + + "/v2alpha/assessment_task.proto\032Egoogle/c" + + "loud/bigquery/migration/v2alpha/migratio" + + "n_error_details.proto\032?google/cloud/bigq" + + "uery/migration/v2alpha/migration_metrics" + + ".proto\032>google/cloud/bigquery/migration/" + + "v2alpha/translation_task.proto\032\031google/p" + + "rotobuf/any.proto\032\037google/protobuf/times" + + "tamp.proto\032\036google/rpc/error_details.pro" + + "to\"\202\005\n\021MigrationWorkflow\022\024\n\004name\030\001 \001(\tB\006" + + "\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022T\n\005tasks\030\002 " + + "\003(\0132E.google.cloud.bigquery.migration.v2" + + "alpha.MigrationWorkflow.TasksEntry\022T\n\005st" + + "ate\030\003 \001(\0162@.google.cloud.bigquery.migrat" + + "ion.v2alpha.MigrationWorkflow.StateB\003\340A\003" + + "\022/\n\013create_time\030\004 \001(\0132\032.google.protobuf." + + "Timestamp\0224\n\020last_update_time\030\005 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\032d\n\nTasksEntry\022\013\n" + + "\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud" + + ".bigquery.migration.v2alpha.MigrationTas" + + "k:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n" + + "\005DRAFT\020\001\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOM" + + "PLETED\020\004:u\352Ar\n2bigquerymigration.googlea" + + "pis.com/MigrationWorkflow\022.google.cloud.bigque" + + "ry.migration.v2alpha.AssessmentTaskDetai" + + "lsH\000\022c\n\030translation_task_details\030\r \001(\0132?" + + ".google.cloud.bigquery.migration.v2alpha" + + ".TranslationTaskDetailsH\000\022\022\n\002id\030\001 \001(\tB\006\340" + + "A\003\340A\005\022\014\n\004type\030\002 \001(\t\022%\n\007details\030\003 \001(\0132\024.g" + + "oogle.protobuf.Any\022P\n\005state\030\004 \001(\0162<.goog" + + "le.cloud.bigquery.migration.v2alpha.Migr" + + "ationTask.StateB\003\340A\003\0224\n\020processing_error" + + "\030\005 \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022/\n\013cr" + + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "amp\0224\n\020last_update_time\030\007 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022l\n\024orchestration_resul" + + "t\030\n \001(\0132I.google.cloud.bigquery.migratio" + + "n.v2alpha.MigrationTaskOrchestrationResu" + + "ltB\003\340A\003\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\013\n\007PENDING\020\001\022\021\n\rORCHESTRATING\020\002\022\013\n\007RUNNI" + + "NG\020\003\022\n\n\006PAUSED\020\004\022\r\n\tSUCCEEDED\020\005\022\n\n\006FAILE" + + "D\020\006B\016\n\014task_details\"\353\005\n\020MigrationSubtask" + + "\022\024\n\004name\030\001 \001(\tB\006\340A\003\340A\005\022\017\n\007task_id\030\002 \001(\t\022" + + "\014\n\004type\030\003 \001(\t\022S\n\005state\030\005 \001(\0162?.google.cl" + + "oud.bigquery.migration.v2alpha.Migration" + + "Subtask.StateB\003\340A\003\0224\n\020processing_error\030\006" + + " \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022a\n\026reso" + + "urce_error_details\030\014 \003(\0132<.google.cloud." + + "bigquery.migration.v2alpha.ResourceError" + + "DetailB\003\340A\003\022\034\n\024resource_error_count\030\r \001(" + + "\005\022/\n\013create_time\030\007 \001(\0132\032.google.protobuf" + + ".Timestamp\0224\n\020last_update_time\030\010 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022D\n\007metrics\030\013 \003(" + + "\01323.google.cloud.bigquery.migration.v2al" + + "pha.TimeSeries\"^\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\n\n\006ACTIVE\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCE" + + "EDED\020\003\022\n\n\006FAILED\020\004\022\n\n\006PAUSED\020\005:\210\001\352A\204\001\n1b" + + "igquerymigration.googleapis.com/Migratio" + + "nSubtask\022Oprojects/{project}/locations/{" + + "location}/workflows/{workflow}/subtasks/" + + "{subtask}\"\232\001\n MigrationTaskOrchestration" + + "Result\022k\n\022assessment_details\030\001 \001(\0132M.goo" + + "gle.cloud.bigquery.migration.v2alpha.Ass" + + "essmentOrchestrationResultDetailsH\000B\t\n\007d" + + "etailsB\355\001\n+com.google.cloud.bigquery.mig" + + "ration.v2alphaB\026MigrationEntitiesProtoP\001" + + "ZPgoogle.golang.org/genproto/googleapis/" + + "cloud/bigquery/migration/v2alpha;migrati" + + "on\252\002\'Google.Cloud.BigQuery.Migration.V2A" + + "lpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\V" + + "2alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.ErrorDetailsProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Tasks", "State", "CreateTime", "LastUpdateTime", }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor = + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor, + new java.lang.String[] { "AssessmentTaskDetails", "TranslationTaskDetails", "Id", "Type", "Details", "State", "ProcessingError", "CreateTime", "LastUpdateTime", "OrchestrationResult", "TaskDetails", }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor, + new java.lang.String[] { "Name", "TaskId", "Type", "State", "ProcessingError", "ResourceErrorDetails", "ResourceErrorCount", "CreateTime", "LastUpdateTime", "Metrics", }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor, + new java.lang.String[] { "AssessmentDetails", "Details", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.ErrorDetailsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java new file mode 100644 index 0000000..52c1977 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java @@ -0,0 +1,97 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationErrorDetailsProto { + private MigrationErrorDetailsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nEgoogle/cloud/bigquery/migration/v2alph" + + "a/migration_error_details.proto\022\'google." + + "cloud.bigquery.migration.v2alpha\032\037google" + + "/api/field_behavior.proto\032\036google/rpc/er" + + "ror_details.proto\"\267\001\n\023ResourceErrorDetai" + + "l\0224\n\rresource_info\030\001 \001(\0132\030.google.rpc.Re" + + "sourceInfoB\003\340A\002\022P\n\rerror_details\030\002 \003(\01324" + + ".google.cloud.bigquery.migration.v2alpha" + + ".ErrorDetailB\003\340A\002\022\030\n\013error_count\030\003 \001(\005B\003" + + "\340A\002\"\214\001\n\013ErrorDetail\022M\n\010location\030\001 \001(\01326." + + "google.cloud.bigquery.migration.v2alpha." + + "ErrorLocationB\003\340A\001\022.\n\nerror_info\030\002 \001(\0132\025" + + ".google.rpc.ErrorInfoB\003\340A\002\"7\n\rErrorLocat" + + "ion\022\021\n\004line\030\001 \001(\005B\003\340A\001\022\023\n\006column\030\002 \001(\005B\003" + + "\340A\001B\361\001\n+com.google.cloud.bigquery.migrat" + + "ion.v2alphaB\032MigrationErrorDetailsProtoP" + + "\001ZPgoogle.golang.org/genproto/googleapis" + + "/cloud/bigquery/migration/v2alpha;migrat" + + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" + + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" + + "V2alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.rpc.ErrorDetailsProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor, + new java.lang.String[] { "ResourceInfo", "ErrorDetails", "ErrorCount", }); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor, + new java.lang.String[] { "Location", "ErrorInfo", }); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor, + new java.lang.String[] { "Line", "Column", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.rpc.ErrorDetailsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java new file mode 100644 index 0000000..96354b6 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java @@ -0,0 +1,120 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationMetricsProto { + private MigrationMetricsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n?google/cloud/bigquery/migration/v2alph" + + "a/migration_metrics.proto\022\'google.cloud." + + "bigquery.migration.v2alpha\032\035google/api/d" + + "istribution.proto\032\037google/api/field_beha" + + "vior.proto\032\027google/api/metric.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"\352\001\n\nTimeSer" + + "ies\022\023\n\006metric\030\001 \001(\tB\003\340A\002\022?\n\nvalue_type\030\002" + + " \001(\0162&.google.api.MetricDescriptor.Value" + + "TypeB\003\340A\002\022A\n\013metric_kind\030\003 \001(\0162\'.google." + + "api.MetricDescriptor.MetricKindB\003\340A\001\022C\n\006" + + "points\030\004 \003(\0132..google.cloud.bigquery.mig" + + "ration.v2alpha.PointB\003\340A\002\"\224\001\n\005Point\022G\n\010i" + + "nterval\030\001 \001(\01325.google.cloud.bigquery.mi" + + "gration.v2alpha.TimeInterval\022B\n\005value\030\002 " + + "\001(\01323.google.cloud.bigquery.migration.v2" + + "alpha.TypedValue\"v\n\014TimeInterval\0223\n\nstar" + + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\002\"\252\001\n\nTypedValue\022\024\n\nbool_" + + "value\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014" + + "double_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001" + + "(\tH\000\0226\n\022distribution_value\030\005 \001(\0132\030.googl" + + "e.api.DistributionH\000B\007\n\005valueB\354\001\n+com.go" + + "ogle.cloud.bigquery.migration.v2alphaB\025M" + + "igrationMetricsProtoP\001ZPgoogle.golang.or" + + "g/genproto/googleapis/cloud/bigquery/mig" + + "ration/v2alpha;migration\252\002\'Google.Cloud." + + "BigQuery.Migration.V2Alpha\312\002\'Google\\Clou" + + "d\\BigQuery\\Migration\\V2alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor, + new java.lang.String[] { "Metric", "ValueType", "MetricKind", "Points", }); + internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor, + new java.lang.String[] { "Interval", "Value", }); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor, + new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java new file mode 100644 index 0000000..d347506 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java @@ -0,0 +1,261 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationServiceProto { + private MigrationServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n?google/cloud/bigquery/migration/v2alph" + + "a/migration_service.proto\022\'google.cloud." + + "bigquery.migration.v2alpha\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032@google/cloud/bigq" + + "uery/migration/v2alpha/migration_entitie" + + "s.proto\032Egoogle/cloud/bigquery/migration" + + "/v2alpha/migration_error_details.proto\032?" + + "google/cloud/bigquery/migration/v2alpha/" + + "migration_metrics.proto\032\033google/protobuf" + + "/empty.proto\032 google/protobuf/field_mask" + + ".proto\032\036google/rpc/error_details.proto\"\270" + + "\001\n\036CreateMigrationWorkflowRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022[\n\022migration_workflow\030\002 \001(\013" + + "2:.google.cloud.bigquery.migration.v2alp" + + "ha.MigrationWorkflowB\003\340A\002\"\226\001\n\033GetMigrati" + + "onWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n" + + "2bigquerymigration.googleapis.com/Migrat" + + "ionWorkflow\022-\n\tread_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\"\260\001\n\035ListMigrationWork" + + "flowsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" + + "cations.googleapis.com/Location\022-\n\tread_" + + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022\021" + + "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\222\001" + + "\n\036ListMigrationWorkflowsResponse\022W\n\023migr" + + "ation_workflows\030\001 \003(\0132:.google.cloud.big" + + "query.migration.v2alpha.MigrationWorkflo" + + "w\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036DeleteMigr" + + "ationWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372" + + "A4\n2bigquerymigration.googleapis.com/Mig" + + "rationWorkflow\"i\n\035StartMigrationWorkflow" + + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigquerym" + + "igration.googleapis.com/MigrationWorkflo" + + "w\"\231\001\n\032GetMigrationSubtaskRequest\022G\n\004name" + + "\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration.google" + + "apis.com/MigrationSubtask\0222\n\tread_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\344\001" + + "\n\034ListMigrationSubtasksRequest\022J\n\006parent" + + "\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration.google" + + "apis.com/MigrationWorkflow\0222\n\tread_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022\026" + + "\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001" + + "(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\217\001\n\035ListMig" + + "rationSubtasksResponse\022U\n\022migration_subt" + + "asks\030\001 \003(\01329.google.cloud.bigquery.migra" + + "tion.v2alpha.MigrationSubtask\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t2\252\r\n\020MigrationService\022\212\002\n\027" + + "CreateMigrationWorkflow\022G.google.cloud.b" + + "igquery.migration.v2alpha.CreateMigratio" + + "nWorkflowRequest\032:.google.cloud.bigquery" + + ".migration.v2alpha.MigrationWorkflow\"j\202\323" + + "\344\223\002H\"2/v2alpha/{parent=projects/*/locati" + + "ons/*}/workflows:\022migration_workflow\332A\031p" + + "arent,migration_workflow\022\333\001\n\024GetMigratio" + + "nWorkflow\022D.google.cloud.bigquery.migrat" + + "ion.v2alpha.GetMigrationWorkflowRequest\032" + + ":.google.cloud.bigquery.migration.v2alph" + + "a.MigrationWorkflow\"A\202\323\344\223\0024\0222/v2alpha/{n" + + "ame=projects/*/locations/*/workflows/*}\332" + + "A\004name\022\356\001\n\026ListMigrationWorkflows\022F.goog" + + "le.cloud.bigquery.migration.v2alpha.List" + + "MigrationWorkflowsRequest\032G.google.cloud" + + ".bigquery.migration.v2alpha.ListMigratio" + + "nWorkflowsResponse\"C\202\323\344\223\0024\0222/v2alpha/{pa" + + "rent=projects/*/locations/*}/workflows\332A" + + "\006parent\022\275\001\n\027DeleteMigrationWorkflow\022G.go" + + "ogle.cloud.bigquery.migration.v2alpha.De" + + "leteMigrationWorkflowRequest\032\026.google.pr" + + "otobuf.Empty\"A\202\323\344\223\0024*2/v2alpha/{name=pro" + + "jects/*/locations/*/workflows/*}\332A\004name\022" + + "\304\001\n\026StartMigrationWorkflow\022F.google.clou" + + "d.bigquery.migration.v2alpha.StartMigrat" + + "ionWorkflowRequest\032\026.google.protobuf.Emp" + + "ty\"J\202\323\344\223\002=\"8/v2alpha/{name=projects/*/lo" + + "cations/*/workflows/*}:start:\001*\332A\004name\022\343" + + "\001\n\023GetMigrationSubtask\022C.google.cloud.bi" + + "gquery.migration.v2alpha.GetMigrationSub" + + "taskRequest\0329.google.cloud.bigquery.migr" + + "ation.v2alpha.MigrationSubtask\"L\202\323\344\223\002?\022=" + + "/v2alpha/{name=projects/*/locations/*/wo" + + "rkflows/*/subtasks/*}\332A\004name\022\366\001\n\025ListMig" + + "rationSubtasks\022E.google.cloud.bigquery.m" + + "igration.v2alpha.ListMigrationSubtasksRe" + + "quest\032F.google.cloud.bigquery.migration." + + "v2alpha.ListMigrationSubtasksResponse\"N\202" + + "\323\344\223\002?\022=/v2alpha/{parent=projects/*/locat" + + "ions/*/workflows/*}/subtasks\332A\006parent\032T\312" + + "A bigquerymigration.googleapis.com\322A.htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormB\354\001\n+com.google.cloud.bigquery.migrat" + + "ion.v2alphaB\025MigrationServiceProtoP\001ZPgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/bigquery/migration/v2alpha;migration\252\002" + + "\'Google.Cloud.BigQuery.Migration.V2Alpha" + + "\312\002\'Google\\Cloud\\BigQuery\\Migration\\V2alp" + + "hab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.ErrorDetailsProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Parent", "MigrationWorkflow", }); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor, + new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor, + new java.lang.String[] { "MigrationWorkflows", "NextPageToken", }); + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor, + new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor, + new java.lang.String[] { "MigrationSubtasks", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.ErrorDetailsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java similarity index 69% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java index 93de2af..0d24c8b 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A subtask for a migration which carries details about the configuration of
  * the subtask. The content of the details should not matter to the end user,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationSubtask}
  */
-public final class MigrationSubtask extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationSubtask extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationSubtask)
     MigrationSubtaskOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationSubtask.newBuilder() to construct.
   private MigrationSubtask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationSubtask() {
     name_ = "";
     taskId_ = "";
@@ -50,15 +32,16 @@ private MigrationSubtask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationSubtask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationSubtask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,119 +61,99 @@ private MigrationSubtask(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              taskId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            taskId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          case 40:
-            {
-              int rawValue = input.readEnum();
+            type_ = s;
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 50: {
+            com.google.rpc.ErrorInfo.Builder subBuilder = null;
+            if (processingError_ != null) {
+              subBuilder = processingError_.toBuilder();
             }
-          case 50:
-            {
-              com.google.rpc.ErrorInfo.Builder subBuilder = null;
-              if (processingError_ != null) {
-                subBuilder = processingError_.toBuilder();
-              }
-              processingError_ =
-                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(processingError_);
-                processingError_ = subBuilder.buildPartial();
-              }
-
-              break;
+            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(processingError_);
+              processingError_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastUpdateTime_ != null) {
-                subBuilder = lastUpdateTime_.toBuilder();
-              }
-              lastUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastUpdateTime_);
-                lastUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastUpdateTime_ != null) {
+              subBuilder = lastUpdateTime_.toBuilder();
             }
-          case 90:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                metrics_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.bigquery.migration.v2alpha.TimeSeries>();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              metrics_.add(
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.TimeSeries.parser(),
-                      extensionRegistry));
-              break;
+            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastUpdateTime_);
+              lastUpdateTime_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                resourceErrorDetails_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              resourceErrorDetails_.add(
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.parser(),
-                      extensionRegistry));
-              break;
+
+            break;
+          }
+          case 90: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              metrics_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 104:
-            {
-              resourceErrorCount_ = input.readInt32();
-              break;
+            metrics_.add(
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TimeSeries.parser(), extensionRegistry));
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              resourceErrorDetails_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            resourceErrorDetails_.add(
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.parser(), extensionRegistry));
+            break;
+          }
+          case 104: {
+
+            resourceErrorCount_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -198,7 +161,8 @@ private MigrationSubtask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         metrics_ = java.util.Collections.unmodifiableList(metrics_);
@@ -210,35 +174,29 @@ private MigrationSubtask(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class,
-            com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a migration subtask.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unspecified.
      * 
@@ -247,8 +205,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -257,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -267,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The subtask finished successfully.
      * 
@@ -277,8 +229,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The subtask finished unsuccessfully.
      * 
@@ -287,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -301,8 +249,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -311,8 +257,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -321,8 +265,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -331,8 +273,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The subtask finished successfully.
      * 
@@ -341,8 +281,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The subtask finished unsuccessfully.
      * 
@@ -351,8 +289,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -362,6 +298,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -386,57 +323,52 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return ACTIVE;
-        case 2:
-          return RUNNING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        case 5:
-          return PAUSED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return ACTIVE;
+        case 2: return RUNNING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        case 5: return PAUSED;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -456,18 +388,13 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ @java.lang.Override @@ -476,33 +403,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,14 +438,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TASK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object taskId_; /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The taskId. */ @java.lang.Override @@ -529,29 +451,29 @@ public java.lang.String getTaskId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; } } /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The bytes for taskId. */ @java.lang.Override - public com.google.protobuf.ByteString getTaskIdBytes() { + public com.google.protobuf.ByteString + getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taskId_ = b; return b; } else { @@ -562,8 +484,6 @@ public com.google.protobuf.ByteString getTaskIdBytes() { public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -572,7 +492,6 @@ public com.google.protobuf.ByteString getTaskIdBytes() {
    * 
* * string type = 3; - * * @return The type. */ @java.lang.Override @@ -581,15 +500,14 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -598,15 +516,16 @@ public java.lang.String getType() {
    * 
* * string type = 3; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -617,57 +536,38 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 6; private com.google.rpc.ErrorInfo processingError_; /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ @java.lang.Override @@ -675,32 +575,23 @@ public boolean hasProcessingError() { return processingError_ != null; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -708,99 +599,73 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { } public static final int RESOURCE_ERROR_DETAILS_FIELD_NUMBER = 12; - private java.util.List - resourceErrorDetails_; + private java.util.List resourceErrorDetails_; /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getResourceErrorDetailsList() { + public java.util.List getResourceErrorDetailsList() { return resourceErrorDetails_; } /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> + public java.util.List getResourceErrorDetailsOrBuilderList() { return resourceErrorDetails_; } /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getResourceErrorDetailsCount() { return resourceErrorDetails_.size(); } /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails(int index) { return resourceErrorDetails_.get(index); } /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder - getResourceErrorDetailsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( + int index) { return resourceErrorDetails_.get(index); } public static final int RESOURCE_ERROR_COUNT_FIELD_NUMBER = 13; private int resourceErrorCount_; /** - * - * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -809,7 +674,6 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResour
    * 
* * int32 resource_error_count = 13; - * * @return The resourceErrorCount. */ @java.lang.Override @@ -820,14 +684,11 @@ public int getResourceErrorCount() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -835,14 +696,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ @java.lang.Override @@ -850,8 +708,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the subtask was created.
    * 
@@ -866,14 +722,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -881,25 +734,18 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Time when the subtask was last updated.
    * 
@@ -914,8 +760,6 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { public static final int METRICS_FIELD_NUMBER = 11; private java.util.List metrics_; /** - * - * *
    * The metrics for the subtask.
    * 
@@ -927,8 +771,6 @@ public java.util.List ge return metrics_; } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -936,13 +778,11 @@ public java.util.List ge * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -954,8 +794,6 @@ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -967,8 +805,6 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries getMetrics(int ind return metrics_.get(index); } /** - * - * *
    * The metrics for the subtask.
    * 
@@ -982,7 +818,6 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetric } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -994,7 +829,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1004,9 +840,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } - if (state_ - != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (processingError_ != null) { @@ -1045,30 +879,33 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } - if (state_ - != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProcessingError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getLastUpdateTime()); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, metrics_.get(i)); } for (int i = 0; i < resourceErrorDetails_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, resourceErrorDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, resourceErrorDetails_.get(i)); } if (resourceErrorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, resourceErrorCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, resourceErrorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1078,33 +915,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask other = - (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask other = (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) obj; - if (!getName().equals(other.getName())) return false; - if (!getTaskId().equals(other.getTaskId())) return false; - if (!getType().equals(other.getType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTaskId() + .equals(other.getTaskId())) return false; + if (!getType() + .equals(other.getType())) return false; if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError().equals(other.getProcessingError())) return false; + if (!getProcessingError() + .equals(other.getProcessingError())) return false; } - if (!getResourceErrorDetailsList().equals(other.getResourceErrorDetailsList())) return false; - if (getResourceErrorCount() != other.getResourceErrorCount()) return false; + if (!getResourceErrorDetailsList() + .equals(other.getResourceErrorDetailsList())) return false; + if (getResourceErrorCount() + != other.getResourceErrorCount()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } - if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1152,104 +997,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A subtask for a migration which carries details about the configuration of
    * the subtask. The content of the details should not matter to the end user,
@@ -1258,23 +1095,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationSubtask}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationSubtask)
       com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class,
-              com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.newBuilder()
@@ -1282,18 +1117,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getResourceErrorDetailsFieldBuilder();
         getMetricsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1341,14 +1176,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance();
     }
 
@@ -1363,8 +1197,7 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask result =
-          new com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask(this);
+      com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask result = new com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.taskId_ = taskId_;
@@ -1412,39 +1245,38 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1452,9 +1284,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask other) {
-      if (other
-          == com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1491,10 +1321,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationSu
             resourceErrorDetailsBuilder_ = null;
             resourceErrorDetails_ = other.resourceErrorDetails_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceErrorDetailsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResourceErrorDetailsFieldBuilder()
-                    : null;
+            resourceErrorDetailsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResourceErrorDetailsFieldBuilder() : null;
           } else {
             resourceErrorDetailsBuilder_.addAllMessages(other.resourceErrorDetails_);
           }
@@ -1527,10 +1356,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationSu
             metricsBuilder_ = null;
             metrics_ = other.metrics_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getMetricsFieldBuilder()
-                    : null;
+            metricsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getMetricsFieldBuilder() : null;
           } else {
             metricsBuilder_.addAllMessages(other.metrics_);
           }
@@ -1555,8 +1383,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1565,29 +1392,24 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1596,25 +1418,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1622,73 +1441,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1696,20 +1502,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object taskId_ = ""; /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @return The taskId. */ public java.lang.String getTaskId() { java.lang.Object ref = taskId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; @@ -1718,21 +1522,20 @@ public java.lang.String getTaskId() { } } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @return The bytes for taskId. */ - public com.google.protobuf.ByteString getTaskIdBytes() { + public com.google.protobuf.ByteString + getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taskId_ = b; return b; } else { @@ -1740,61 +1543,54 @@ public com.google.protobuf.ByteString getTaskIdBytes() { } } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @param value The taskId to set. * @return This builder for chaining. */ - public Builder setTaskId(java.lang.String value) { + public Builder setTaskId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + taskId_ = value; onChanged(); return this; } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @return This builder for chaining. */ public Builder clearTaskId() { - + taskId_ = getDefaultInstance().getTaskId(); onChanged(); return this; } /** - * - * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; - * * @param value The bytes for taskId to set. * @return This builder for chaining. */ - public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { + public Builder setTaskIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + taskId_ = value; onChanged(); return this; @@ -1802,8 +1598,6 @@ public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1812,13 +1606,13 @@ public Builder setTaskIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string type = 3; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1827,8 +1621,6 @@ public java.lang.String getType() { } } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1837,14 +1629,15 @@ public java.lang.String getType() {
      * 
* * string type = 3; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1852,8 +1645,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1862,22 +1653,20 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string type = 3; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1886,18 +1675,15 @@ public Builder setType(java.lang.String value) {
      * 
* * string type = 3; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1906,16 +1692,16 @@ public Builder clearType() {
      * 
* * string type = 3; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1923,103 +1709,73 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State value) { + public Builder setState(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the subtask.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2027,58 +1783,39 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> - processingErrorBuilder_; + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -2094,17 +1831,14 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError( + com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -2115,21 +1849,17 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForVal return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -2141,15 +1871,11 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -2163,102 +1889,74 @@ public Builder clearProcessingError() { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? + com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), getParentForChildren(), isClean()); + processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), + getParentForChildren(), + isClean()); processingError_ = null; } return processingErrorBuilder_; } - private java.util.List - resourceErrorDetails_ = java.util.Collections.emptyList(); - + private java.util.List resourceErrorDetails_ = + java.util.Collections.emptyList(); private void ensureResourceErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceErrorDetails_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail>( - resourceErrorDetails_); + resourceErrorDetails_ = new java.util.ArrayList(resourceErrorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> - resourceErrorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> resourceErrorDetailsBuilder_; /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getResourceErrorDetailsList() { + public java.util.List getResourceErrorDetailsList() { if (resourceErrorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceErrorDetails_); } else { @@ -2266,16 +1964,12 @@ private void ensureResourceErrorDetailsIsMutable() { } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getResourceErrorDetailsCount() { if (resourceErrorDetailsBuilder_ == null) { @@ -2285,19 +1979,14 @@ public int getResourceErrorDetailsCount() { } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails(int index) { if (resourceErrorDetailsBuilder_ == null) { return resourceErrorDetails_.get(index); } else { @@ -2305,16 +1994,12 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResour } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { @@ -2331,20 +2016,15 @@ public Builder setResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResourceErrorDetails( - int index, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.set(index, builderForValue.build()); @@ -2355,19 +2035,14 @@ public Builder setResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addResourceErrorDetails( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { + public Builder addResourceErrorDetails(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { if (resourceErrorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2381,16 +2056,12 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { @@ -2407,16 +2078,12 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResourceErrorDetails( com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { @@ -2430,20 +2097,15 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResourceErrorDetails( - int index, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.add(index, builderForValue.build()); @@ -2454,24 +2116,19 @@ public Builder addResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllResourceErrorDetails( - java.lang.Iterable< - ? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail> - values) { + java.lang.Iterable values) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceErrorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceErrorDetails_); onChanged(); } else { resourceErrorDetailsBuilder_.addAllMessages(values); @@ -2479,16 +2136,12 @@ public Builder addAllResourceErrorDetails( return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearResourceErrorDetails() { if (resourceErrorDetailsBuilder_ == null) { @@ -2501,16 +2154,12 @@ public Builder clearResourceErrorDetails() { return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeResourceErrorDetails(int index) { if (resourceErrorDetailsBuilder_ == null) { @@ -2523,56 +2172,42 @@ public Builder removeResourceErrorDetails(int index) { return this; } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder - getResourceErrorDetailsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder getResourceErrorDetailsBuilder( + int index) { return getResourceErrorDetailsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder - getResourceErrorDetailsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( + int index) { if (resourceErrorDetailsBuilder_ == null) { - return resourceErrorDetails_.get(index); - } else { + return resourceErrorDetails_.get(index); } else { return resourceErrorDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> - getResourceErrorDetailsOrBuilderList() { + public java.util.List + getResourceErrorDetailsOrBuilderList() { if (resourceErrorDetailsBuilder_ != null) { return resourceErrorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -2580,70 +2215,48 @@ public Builder removeResourceErrorDetails(int index) { } } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder - addResourceErrorDetailsBuilder() { - return getResourceErrorDetailsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder() { + return getResourceErrorDetailsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder - addResourceErrorDetailsBuilder(int index) { - return getResourceErrorDetailsFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder( + int index) { + return getResourceErrorDetailsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); } /** - * - * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getResourceErrorDetailsBuilderList() { + public java.util.List + getResourceErrorDetailsBuilderList() { return getResourceErrorDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> getResourceErrorDetailsFieldBuilder() { if (resourceErrorDetailsBuilder_ == null) { - resourceErrorDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder>( + resourceErrorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder>( resourceErrorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2653,10 +2266,8 @@ public Builder removeResourceErrorDetails(int index) { return resourceErrorDetailsBuilder_; } - private int resourceErrorCount_; + private int resourceErrorCount_ ; /** - * - * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2665,7 +2276,6 @@ public Builder removeResourceErrorDetails(int index) {
      * 
* * int32 resource_error_count = 13; - * * @return The resourceErrorCount. */ @java.lang.Override @@ -2673,8 +2283,6 @@ public int getResourceErrorCount() { return resourceErrorCount_; } /** - * - * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2683,19 +2291,16 @@ public int getResourceErrorCount() {
      * 
* * int32 resource_error_count = 13; - * * @param value The resourceErrorCount to set. * @return This builder for chaining. */ public Builder setResourceErrorCount(int value) { - + resourceErrorCount_ = value; onChanged(); return this; } /** - * - * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2704,11 +2309,10 @@ public Builder setResourceErrorCount(int value) {
      * 
* * int32 resource_error_count = 13; - * * @return This builder for chaining. */ public Builder clearResourceErrorCount() { - + resourceErrorCount_ = 0; onChanged(); return this; @@ -2716,47 +2320,34 @@ public Builder clearResourceErrorCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2777,15 +2368,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2796,8 +2386,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2808,7 +2396,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2820,8 +2408,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2840,8 +2426,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2849,13 +2433,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 7; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2866,14 +2448,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the subtask was created.
      * 
@@ -2881,17 +2460,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2899,47 +2475,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -2960,15 +2523,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2979,8 +2541,6 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -2991,9 +2551,7 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -3005,8 +2563,6 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3025,8 +2581,6 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3034,13 +2588,11 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 8; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3051,14 +2603,11 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Time when the subtask was last updated.
      * 
@@ -3066,43 +2615,32 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = - new java.util.ArrayList( - metrics_); + metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeSeries, - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, - com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> - metricsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TimeSeries, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> metricsBuilder_; /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3117,8 +2655,6 @@ public java.util.List ge } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3133,8 +2669,6 @@ public int getMetricsCount() { } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3149,8 +2683,6 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries getMetrics(int ind } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3172,8 +2704,6 @@ public Builder setMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3192,8 +2722,6 @@ public Builder setMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3214,8 +2742,6 @@ public Builder addMetrics(com.google.cloud.bigquery.migration.v2alpha.TimeSeries return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3237,8 +2763,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3257,8 +2781,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3277,8 +2799,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3286,11 +2806,11 @@ public Builder addMetrics( * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ public Builder addAllMetrics( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -3298,8 +2818,6 @@ public Builder addAllMetrics( return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3317,8 +2835,6 @@ public Builder clearMetrics() { return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3336,8 +2852,6 @@ public Builder removeMetrics(int index) { return this; } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3349,8 +2863,6 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder getMetrics return getMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3360,22 +2872,19 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder getMetrics public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetricsOrBuilder( int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { + return metrics_.get(index); } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -3383,8 +2892,6 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetric } } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3392,12 +2899,10 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetric * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); + return getMetricsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); } /** - * - * *
      * The metrics for the subtask.
      * 
@@ -3406,43 +2911,37 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder addMetrics */ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder addMetricsBuilder( int index) { - return getMetricsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); + return getMetricsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); } /** - * - * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeSeries, - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, - com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TimeSeries, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeSeries, - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, - com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TimeSeries, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder>( + metrics_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); metrics_ = null; } return metricsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3452,13 +2951,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationSubtask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationSubtask) - private static final com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask(); } @@ -3467,16 +2965,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSubtask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationSubtask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSubtask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationSubtask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3491,4 +2989,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java index ba4f4a1..02bb387 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java @@ -1,89 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface MigrationSubtaskOrBuilder - extends +public interface MigrationSubtaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationSubtask) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The taskId. */ java.lang.String getTaskId(); /** - * - * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; - * * @return The bytes for taskId. */ - com.google.protobuf.ByteString getTaskIdBytes(); + com.google.protobuf.ByteString + getTaskIdBytes(); /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -92,13 +60,10 @@ public interface MigrationSubtaskOrBuilder
    * 
* * string type = 3; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -107,151 +72,107 @@ public interface MigrationSubtaskOrBuilder
    * 
* * string type = 3; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the subtask.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getResourceErrorDetailsList(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails( - int index); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails(int index); /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getResourceErrorDetailsCount(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getResourceErrorDetailsOrBuilderList(); /** - * - * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder - getResourceErrorDetailsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( + int index); /** - * - * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -260,38 +181,29 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceError
    * 
* * int32 resource_error_count = 13; - * * @return The resourceErrorCount. */ int getResourceErrorCount(); /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the subtask was created.
    * 
@@ -301,32 +213,24 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceError com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; - * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Time when the subtask was last updated.
    * 
@@ -336,18 +240,15 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceError com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** - * - * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - java.util.List getMetricsList(); + java.util.List + getMetricsList(); /** - * - * *
    * The metrics for the subtask.
    * 
@@ -356,8 +257,6 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceError */ com.google.cloud.bigquery.migration.v2alpha.TimeSeries getMetrics(int index); /** - * - * *
    * The metrics for the subtask.
    * 
@@ -366,24 +265,21 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceError */ int getMetricsCount(); /** - * - * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** - * - * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetricsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetricsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java similarity index 63% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java index 29d77f9..1df7121 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A single task for a migration which has details about the configuration of
  * the task.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTask}
  */
-public final class MigrationTask extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationTask extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationTask)
     MigrationTaskOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationTask.newBuilder() to construct.
   private MigrationTask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationTask() {
     id_ = "";
     type_ = "";
@@ -46,15 +28,16 @@ private MigrationTask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationTask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationTask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,158 +56,124 @@ private MigrationTask(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
+            id_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            type_ = s;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Any.Builder subBuilder = null;
+            if (details_ != null) {
+              subBuilder = details_.toBuilder();
+            }
+            details_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(details_);
+              details_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            com.google.rpc.ErrorInfo.Builder subBuilder = null;
+            if (processingError_ != null) {
+              subBuilder = processingError_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Any.Builder subBuilder = null;
-              if (details_ != null) {
-                subBuilder = details_.toBuilder();
-              }
-              details_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(details_);
-                details_ = subBuilder.buildPartial();
-              }
-
-              break;
+            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(processingError_);
+              processingError_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.rpc.ErrorInfo.Builder subBuilder = null;
-              if (processingError_ != null) {
-                subBuilder = processingError_.toBuilder();
-              }
-              processingError_ =
-                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(processingError_);
-                processingError_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastUpdateTime_ != null) {
+              subBuilder = lastUpdateTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastUpdateTime_ != null) {
-                subBuilder = lastUpdateTime_.toBuilder();
-              }
-              lastUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastUpdateTime_);
-                lastUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastUpdateTime_);
+              lastUpdateTime_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder
-                  subBuilder = null;
-              if (orchestrationResult_ != null) {
-                subBuilder = orchestrationResult_.toBuilder();
-              }
-              orchestrationResult_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(orchestrationResult_);
-                orchestrationResult_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 82: {
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder subBuilder = null;
+            if (orchestrationResult_ != null) {
+              subBuilder = orchestrationResult_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder subBuilder =
-                  null;
-              if (taskDetailsCase_ == 12) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)
-                            taskDetails_)
-                        .toBuilder();
-              }
-              taskDetails_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)
-                        taskDetails_);
-                taskDetails_ = subBuilder.buildPartial();
-              }
-              taskDetailsCase_ = 12;
-              break;
+            orchestrationResult_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(orchestrationResult_);
+              orchestrationResult_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder
-                  subBuilder = null;
-              if (taskDetailsCase_ == 13) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
-                            taskDetails_)
-                        .toBuilder();
-              }
-              taskDetails_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
-                        taskDetails_);
-                taskDetails_ = subBuilder.buildPartial();
-              }
-              taskDetailsCase_ = 13;
-              break;
+
+            break;
+          }
+          case 98: {
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder subBuilder = null;
+            if (taskDetailsCase_ == 12) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_).toBuilder();
+            }
+            taskDetails_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_);
+              taskDetails_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            taskDetailsCase_ = 12;
+            break;
+          }
+          case 106: {
+            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder subBuilder = null;
+            if (taskDetailsCase_ == 13) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_).toBuilder();
+            }
+            taskDetails_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_);
+              taskDetails_ = subBuilder.buildPartial();
+            }
+            taskDetailsCase_ = 13;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -232,41 +181,36 @@ private MigrationTask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class,
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a migration task.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.MigrationTask.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unspecified.
      * 
@@ -275,8 +219,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The task is waiting for orchestration.
      * 
@@ -285,8 +227,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The task is assigned to an orchestrator.
      * 
@@ -295,8 +235,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ORCHESTRATING(2), /** - * - * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -305,8 +243,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(3), /** - * - * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -316,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(4),
     /**
-     *
-     *
      * 
      * The task finished successfully.
      * 
@@ -326,8 +260,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(5), /** - * - * *
      * The task finished unsuccessfully.
      * 
@@ -339,8 +271,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state is unspecified.
      * 
@@ -349,8 +279,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The task is waiting for orchestration.
      * 
@@ -359,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The task is assigned to an orchestrator.
      * 
@@ -369,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORCHESTRATING_VALUE = 2; /** - * - * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -379,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 3; /** - * - * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -390,8 +312,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 4;
     /**
-     *
-     *
      * 
      * The task finished successfully.
      * 
@@ -400,8 +320,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 5; /** - * - * *
      * The task finished unsuccessfully.
      * 
@@ -410,6 +328,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -434,59 +353,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return ORCHESTRATING; - case 3: - return RUNNING; - case 4: - return PAUSED; - case 5: - return SUCCEEDED; - case 6: - return FAILED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return ORCHESTRATING; + case 3: return RUNNING; + case 4: return PAUSED; + case 5: return SUCCEEDED; + case 6: return FAILED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -505,16 +418,13 @@ private State(int value) { private int taskDetailsCase_ = 0; private java.lang.Object taskDetails_; - public enum TaskDetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ASSESSMENT_TASK_DETAILS(12), TRANSLATION_TASK_DETAILS(13), TASKDETAILS_NOT_SET(0); private final int value; - private TaskDetailsCase(int value) { this.value = value; } @@ -530,38 +440,30 @@ public static TaskDetailsCase valueOf(int value) { public static TaskDetailsCase forNumber(int value) { switch (value) { - case 12: - return ASSESSMENT_TASK_DETAILS; - case 13: - return TRANSLATION_TASK_DETAILS; - case 0: - return TASKDETAILS_NOT_SET; - default: - return null; + case 12: return ASSESSMENT_TASK_DETAILS; + case 13: return TRANSLATION_TASK_DETAILS; + case 0: return TASKDETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TaskDetailsCase getTaskDetailsCase() { - return TaskDetailsCase.forNumber(taskDetailsCase_); + public TaskDetailsCase + getTaskDetailsCase() { + return TaskDetailsCase.forNumber( + taskDetailsCase_); } public static final int ASSESSMENT_TASK_DETAILS_FIELD_NUMBER = 12; /** - * - * *
    * Task configuration for Assessment.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; * @return Whether the assessmentTaskDetails field is set. */ @java.lang.Override @@ -569,58 +471,42 @@ public boolean hasAssessmentTaskDetails() { return taskDetailsCase_ == 12; } /** - * - * *
    * Task configuration for Assessment.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; * @return The assessmentTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - getAssessmentTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails() { if (taskDetailsCase_ == 12) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } /** - * - * *
    * Task configuration for Assessment.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder - getAssessmentTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder() { if (taskDetailsCase_ == 12) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } public static final int TRANSLATION_TASK_DETAILS_FIELD_NUMBER = 13; /** - * - * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; * @return Whether the translationTaskDetails field is set. */ @java.lang.Override @@ -628,42 +514,31 @@ public boolean hasTranslationTaskDetails() { return taskDetailsCase_ == 13; } /** - * - * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; * @return The translationTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - getTranslationTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails() { if (taskDetailsCase_ == 13) { - return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } /** - * - * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder - getTranslationTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder() { if (taskDetailsCase_ == 13) { - return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } @@ -671,16 +546,11 @@ public boolean hasTranslationTaskDetails() { public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The id. */ @java.lang.Override @@ -689,31 +559,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -724,14 +592,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** - * - * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -740,29 +605,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -773,8 +638,6 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int DETAILS_FIELD_NUMBER = 3; private com.google.protobuf.Any details_; /** - * - * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -782,7 +645,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
    * 
* * .google.protobuf.Any details = 3; - * * @return Whether the details field is set. */ @java.lang.Override @@ -790,8 +652,6 @@ public boolean hasDetails() { return details_ != null; } /** - * - * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -799,7 +659,6 @@ public boolean hasDetails() {
    * 
* * .google.protobuf.Any details = 3; - * * @return The details. */ @java.lang.Override @@ -807,8 +666,6 @@ public com.google.protobuf.Any getDetails() { return details_ == null ? com.google.protobuf.Any.getDefaultInstance() : details_; } /** - * - * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -825,57 +682,38 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 4;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 5; private com.google.rpc.ErrorInfo processingError_; /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ @java.lang.Override @@ -883,32 +721,23 @@ public boolean hasProcessingError() { return processingError_ != null; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -918,14 +747,11 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -933,14 +759,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -948,8 +771,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the task was created.
    * 
@@ -964,14 +785,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -979,25 +797,18 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Time when the task was last updated.
    * 
@@ -1010,19 +821,13 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } public static final int ORCHESTRATION_RESULT_FIELD_NUMBER = 10; - private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - orchestrationResult_; + private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestrationResult_; /** - * - * *
    * Output only. Additional information about the orchestration.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the orchestrationResult field is set. */ @java.lang.Override @@ -1030,45 +835,30 @@ public boolean hasOrchestrationResult() { return orchestrationResult_ != null; } /** - * - * *
    * Output only. Additional information about the orchestration.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The orchestrationResult. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - getOrchestrationResult() { - return orchestrationResult_ == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - .getDefaultInstance() - : orchestrationResult_; + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getOrchestrationResult() { + return orchestrationResult_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance() : orchestrationResult_; } /** - * - * *
    * Output only. Additional information about the orchestration.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder - getOrchestrationResultOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder() { return getOrchestrationResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1080,7 +870,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -1090,9 +881,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (details_ != null) { output.writeMessage(3, getDetails()); } - if (state_ - != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (processingError_ != null) { @@ -1108,12 +897,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(10, getOrchestrationResult()); } if (taskDetailsCase_ == 12) { - output.writeMessage( - 12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); + output.writeMessage(12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); } if (taskDetailsCase_ == 13) { - output.writeMessage( - 13, (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); + output.writeMessage(13, (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); } unknownFields.writeTo(output); } @@ -1131,36 +918,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } if (details_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDetails()); } - if (state_ - != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProcessingError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLastUpdateTime()); } if (orchestrationResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(10, getOrchestrationResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getOrchestrationResult()); } if (taskDetailsCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); } if (taskDetailsCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, - (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1170,44 +957,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationTask other = - (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationTask other = (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) obj; - if (!getId().equals(other.getId())) return false; - if (!getType().equals(other.getType())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getType() + .equals(other.getType())) return false; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails().equals(other.getDetails())) return false; + if (!getDetails() + .equals(other.getDetails())) return false; } if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError().equals(other.getProcessingError())) return false; + if (!getProcessingError() + .equals(other.getProcessingError())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } if (hasOrchestrationResult() != other.hasOrchestrationResult()) return false; if (hasOrchestrationResult()) { - if (!getOrchestrationResult().equals(other.getOrchestrationResult())) return false; + if (!getOrchestrationResult() + .equals(other.getOrchestrationResult())) return false; } if (!getTaskDetailsCase().equals(other.getTaskDetailsCase())) return false; switch (taskDetailsCase_) { case 12: - if (!getAssessmentTaskDetails().equals(other.getAssessmentTaskDetails())) return false; + if (!getAssessmentTaskDetails() + .equals(other.getAssessmentTaskDetails())) return false; break; case 13: - if (!getTranslationTaskDetails().equals(other.getTranslationTaskDetails())) return false; + if (!getTranslationTaskDetails() + .equals(other.getTranslationTaskDetails())) return false; break; case 0: default: @@ -1267,104 +1062,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationTask prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationTask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single task for a migration which has details about the configuration of
    * the task.
@@ -1372,23 +1159,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTask}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationTask)
       com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class,
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationTask.newBuilder()
@@ -1396,15 +1181,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1450,9 +1236,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
     }
 
     @java.lang.Override
@@ -1471,8 +1257,7 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationTask buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTask result =
-          new com.google.cloud.bigquery.migration.v2alpha.MigrationTask(this);
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTask result = new com.google.cloud.bigquery.migration.v2alpha.MigrationTask(this);
       if (taskDetailsCase_ == 12) {
         if (assessmentTaskDetailsBuilder_ == null) {
           result.taskDetails_ = taskDetails_;
@@ -1524,39 +1309,38 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationTask) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationTask)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1564,8 +1348,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationTask other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         onChanged();
@@ -1593,20 +1376,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationTa
         mergeOrchestrationResult(other.getOrchestrationResult());
       }
       switch (other.getTaskDetailsCase()) {
-        case ASSESSMENT_TASK_DETAILS:
-          {
-            mergeAssessmentTaskDetails(other.getAssessmentTaskDetails());
-            break;
-          }
-        case TRANSLATION_TASK_DETAILS:
-          {
-            mergeTranslationTaskDetails(other.getTranslationTaskDetails());
-            break;
-          }
-        case TASKDETAILS_NOT_SET:
-          {
-            break;
-          }
+        case ASSESSMENT_TASK_DETAILS: {
+          mergeAssessmentTaskDetails(other.getAssessmentTaskDetails());
+          break;
+        }
+        case TRANSLATION_TASK_DETAILS: {
+          mergeTranslationTaskDetails(other.getTranslationTaskDetails());
+          break;
+        }
+        case TASKDETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1627,8 +1407,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1637,12 +1416,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int taskDetailsCase_ = 0;
     private java.lang.Object taskDetails_;
-
-    public TaskDetailsCase getTaskDetailsCase() {
-      return TaskDetailsCase.forNumber(taskDetailsCase_);
+    public TaskDetailsCase
+        getTaskDetailsCase() {
+      return TaskDetailsCase.forNumber(
+          taskDetailsCase_);
     }
 
     public Builder clearTaskDetails() {
@@ -1652,22 +1431,15 @@ public Builder clearTaskDetails() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails,
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder,
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder>
-        assessmentTaskDetailsBuilder_;
+        com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder> assessmentTaskDetailsBuilder_;
     /**
-     *
-     *
      * 
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; * @return Whether the assessmentTaskDetails field is set. */ @java.lang.Override @@ -1675,48 +1447,35 @@ public boolean hasAssessmentTaskDetails() { return taskDetailsCase_ == 12; } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; * @return The assessmentTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - getAssessmentTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails() { if (assessmentTaskDetailsBuilder_ == null) { if (taskDetailsCase_ == 12) { return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } else { if (taskDetailsCase_ == 12) { return assessmentTaskDetailsBuilder_.getMessage(); } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ - public Builder setAssessmentTaskDetails( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { + public Builder setAssessmentTaskDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { if (assessmentTaskDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1730,15 +1489,11 @@ public Builder setAssessmentTaskDetails( return this; } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ public Builder setAssessmentTaskDetails( com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder builderForValue) { @@ -1752,29 +1507,18 @@ public Builder setAssessmentTaskDetails( return this; } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ - public Builder mergeAssessmentTaskDetails( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { + public Builder mergeAssessmentTaskDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { if (assessmentTaskDetailsBuilder_ == null) { - if (taskDetailsCase_ == 12 - && taskDetails_ - != com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - .getDefaultInstance()) { - taskDetails_ = - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder( - (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) - taskDetails_) - .mergeFrom(value) - .buildPartial(); + if (taskDetailsCase_ == 12 && + taskDetails_ != com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance()) { + taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_) + .mergeFrom(value).buildPartial(); } else { taskDetails_ = value; } @@ -1790,15 +1534,11 @@ public Builder mergeAssessmentTaskDetails( return this; } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ public Builder clearAssessmentTaskDetails() { if (assessmentTaskDetailsBuilder_ == null) { @@ -1817,98 +1557,67 @@ public Builder clearAssessmentTaskDetails() { return this; } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder - getAssessmentTaskDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder getAssessmentTaskDetailsBuilder() { return getAssessmentTaskDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder - getAssessmentTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder() { if ((taskDetailsCase_ == 12) && (assessmentTaskDetailsBuilder_ != null)) { return assessmentTaskDetailsBuilder_.getMessageOrBuilder(); } else { if (taskDetailsCase_ == 12) { return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } } /** - * - * *
      * Task configuration for Assessment.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder> getAssessmentTaskDetailsFieldBuilder() { if (assessmentTaskDetailsBuilder_ == null) { if (!(taskDetailsCase_ == 12)) { - taskDetails_ = - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails - .getDefaultInstance(); + taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } - assessmentTaskDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder>( + assessmentTaskDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_, getParentForChildren(), isClean()); taskDetails_ = null; } taskDetailsCase_ = 12; - onChanged(); - ; + onChanged();; return assessmentTaskDetailsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> - translationTaskDetailsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> translationTaskDetailsBuilder_; /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; * @return Whether the translationTaskDetails field is set. */ @java.lang.Override @@ -1916,48 +1625,35 @@ public boolean hasTranslationTaskDetails() { return taskDetailsCase_ == 13; } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; * @return The translationTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - getTranslationTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails() { if (translationTaskDetailsBuilder_ == null) { if (taskDetailsCase_ == 13) { return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } else { if (taskDetailsCase_ == 13) { return translationTaskDetailsBuilder_.getMessage(); } - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ - public Builder setTranslationTaskDetails( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { + public Builder setTranslationTaskDetails(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { if (translationTaskDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1971,19 +1667,14 @@ public Builder setTranslationTaskDetails( return this; } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ public Builder setTranslationTaskDetails( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder - builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder builderForValue) { if (translationTaskDetailsBuilder_ == null) { taskDetails_ = builderForValue.build(); onChanged(); @@ -1994,29 +1685,18 @@ public Builder setTranslationTaskDetails( return this; } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ - public Builder mergeTranslationTaskDetails( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { + public Builder mergeTranslationTaskDetails(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { if (translationTaskDetailsBuilder_ == null) { - if (taskDetailsCase_ == 13 - && taskDetails_ - != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - .getDefaultInstance()) { - taskDetails_ = - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder( - (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) - taskDetails_) - .mergeFrom(value) - .buildPartial(); + if (taskDetailsCase_ == 13 && + taskDetails_ != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance()) { + taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_) + .mergeFrom(value).buildPartial(); } else { taskDetails_ = value; } @@ -2032,15 +1712,11 @@ public Builder mergeTranslationTaskDetails( return this; } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ public Builder clearTranslationTaskDetails() { if (translationTaskDetailsBuilder_ == null) { @@ -2059,100 +1735,73 @@ public Builder clearTranslationTaskDetails() { return this; } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder - getTranslationTaskDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder getTranslationTaskDetailsBuilder() { return getTranslationTaskDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder - getTranslationTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder() { if ((taskDetailsCase_ == 13) && (translationTaskDetailsBuilder_ != null)) { return translationTaskDetailsBuilder_.getMessageOrBuilder(); } else { if (taskDetailsCase_ == 13) { return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } } /** - * - * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> getTranslationTaskDetailsFieldBuilder() { if (translationTaskDetailsBuilder_ == null) { if (!(taskDetailsCase_ == 13)) { - taskDetails_ = - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - .getDefaultInstance(); + taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } - translationTaskDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder>( + translationTaskDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_, getParentForChildren(), isClean()); taskDetails_ = null; } taskDetailsCase_ = 13; - onChanged(); - ; + onChanged();; return translationTaskDetailsBuilder_; } private java.lang.Object id_ = ""; /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2161,23 +1810,20 @@ public java.lang.String getId() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -2185,67 +1831,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -2253,20 +1886,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -2275,21 +1906,20 @@ public java.lang.String getType() { } } /** - * - * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -2297,61 +1927,54 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -2359,13 +1982,8 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Any details_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, - com.google.protobuf.Any.Builder, - com.google.protobuf.AnyOrBuilder> - detailsBuilder_; + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> detailsBuilder_; /** - * - * *
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2373,15 +1991,12 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Any details = 3; - * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** - * - * *
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2389,7 +2004,6 @@ public boolean hasDetails() {
      * 
* * .google.protobuf.Any details = 3; - * * @return The details. */ public com.google.protobuf.Any getDetails() { @@ -2400,8 +2014,6 @@ public com.google.protobuf.Any getDetails() { } } /** - * - * *
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2424,8 +2036,6 @@ public Builder setDetails(com.google.protobuf.Any value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2434,7 +2044,8 @@ public Builder setDetails(com.google.protobuf.Any value) {
      *
      * .google.protobuf.Any details = 3;
      */
-    public Builder setDetails(com.google.protobuf.Any.Builder builderForValue) {
+    public Builder setDetails(
+        com.google.protobuf.Any.Builder builderForValue) {
       if (detailsBuilder_ == null) {
         details_ = builderForValue.build();
         onChanged();
@@ -2445,8 +2056,6 @@ public Builder setDetails(com.google.protobuf.Any.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2458,7 +2067,8 @@ public Builder setDetails(com.google.protobuf.Any.Builder builderForValue) {
     public Builder mergeDetails(com.google.protobuf.Any value) {
       if (detailsBuilder_ == null) {
         if (details_ != null) {
-          details_ = com.google.protobuf.Any.newBuilder(details_).mergeFrom(value).buildPartial();
+          details_ =
+            com.google.protobuf.Any.newBuilder(details_).mergeFrom(value).buildPartial();
         } else {
           details_ = value;
         }
@@ -2470,8 +2080,6 @@ public Builder mergeDetails(com.google.protobuf.Any value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2492,8 +2100,6 @@ public Builder clearDetails() {
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2503,13 +2109,11 @@ public Builder clearDetails() {
      * .google.protobuf.Any details = 3;
      */
     public com.google.protobuf.Any.Builder getDetailsBuilder() {
-
+      
       onChanged();
       return getDetailsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2522,12 +2126,11 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
       if (detailsBuilder_ != null) {
         return detailsBuilder_.getMessageOrBuilder();
       } else {
-        return details_ == null ? com.google.protobuf.Any.getDefaultInstance() : details_;
+        return details_ == null ?
+            com.google.protobuf.Any.getDefaultInstance() : details_;
       }
     }
     /**
-     *
-     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2537,16 +2140,14 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
      * .google.protobuf.Any details = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Any,
-            com.google.protobuf.Any.Builder,
-            com.google.protobuf.AnyOrBuilder>
+        com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
         getDetailsFieldBuilder() {
       if (detailsBuilder_ == null) {
-        detailsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Any,
-                com.google.protobuf.Any.Builder,
-                com.google.protobuf.AnyOrBuilder>(getDetails(), getParentForChildren(), isClean());
+        detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
+                getDetails(),
+                getParentForChildren(),
+                isClean());
         details_ = null;
       }
       return detailsBuilder_;
@@ -2554,75 +2155,51 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2630,26 +2207,21 @@ public Builder setState(com.google.cloud.bigquery.migration.v2alpha.MigrationTas if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the task.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2657,58 +2229,39 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> - processingErrorBuilder_; + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -2724,17 +2277,14 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError( + com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -2745,21 +2295,17 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForVal return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -2771,15 +2317,11 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -2793,64 +2335,48 @@ public Builder clearProcessingError() { return this; } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null - ? com.google.rpc.ErrorInfo.getDefaultInstance() - : processingError_; + return processingError_ == null ? + com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; } } /** - * - * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, - com.google.rpc.ErrorInfo.Builder, - com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), getParentForChildren(), isClean()); + processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), + getParentForChildren(), + isClean()); processingError_ = null; } return processingErrorBuilder_; @@ -2858,47 +2384,34 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the task was created.
      * 
@@ -2919,15 +2432,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2938,8 +2450,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the task was created.
      * 
@@ -2950,7 +2460,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2962,8 +2472,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was created.
      * 
@@ -2982,8 +2490,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the task was created.
      * 
@@ -2991,13 +2497,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the task was created.
      * 
@@ -3008,14 +2512,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the task was created.
      * 
@@ -3023,17 +2524,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3041,47 +2539,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -3102,15 +2587,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -3121,8 +2605,6 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -3133,9 +2615,7 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -3147,8 +2627,6 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -3167,8 +2645,6 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -3176,13 +2652,11 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 7; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -3193,14 +2667,11 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Time when the task was last updated.
      * 
@@ -3208,82 +2679,56 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } - private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - orchestrationResult_; + private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestrationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> - orchestrationResultBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> orchestrationResultBuilder_; /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the orchestrationResult field is set. */ public boolean hasOrchestrationResult() { return orchestrationResultBuilder_ != null || orchestrationResult_ != null; } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The orchestrationResult. */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - getOrchestrationResult() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getOrchestrationResult() { if (orchestrationResultBuilder_ == null) { - return orchestrationResult_ == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - .getDefaultInstance() - : orchestrationResult_; + return orchestrationResult_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance() : orchestrationResult_; } else { return orchestrationResultBuilder_.getMessage(); } } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setOrchestrationResult( - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { + public Builder setOrchestrationResult(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { if (orchestrationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3297,19 +2742,14 @@ public Builder setOrchestrationResult( return this; } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOrchestrationResult( - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder - builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder builderForValue) { if (orchestrationResultBuilder_ == null) { orchestrationResult_ = builderForValue.build(); onChanged(); @@ -3320,25 +2760,17 @@ public Builder setOrchestrationResult( return this; } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeOrchestrationResult( - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { + public Builder mergeOrchestrationResult(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { if (orchestrationResultBuilder_ == null) { if (orchestrationResult_ != null) { orchestrationResult_ = - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - .newBuilder(orchestrationResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.newBuilder(orchestrationResult_).mergeFrom(value).buildPartial(); } else { orchestrationResult_ = value; } @@ -3350,15 +2782,11 @@ public Builder mergeOrchestrationResult( return this; } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOrchestrationResult() { if (orchestrationResultBuilder_ == null) { @@ -3372,76 +2800,55 @@ public Builder clearOrchestrationResult() { return this; } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder - getOrchestrationResultBuilder() { - + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder getOrchestrationResultBuilder() { + onChanged(); return getOrchestrationResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder - getOrchestrationResultOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder() { if (orchestrationResultBuilder_ != null) { return orchestrationResultBuilder_.getMessageOrBuilder(); } else { - return orchestrationResult_ == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - .getDefaultInstance() - : orchestrationResult_; + return orchestrationResult_ == null ? + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance() : orchestrationResult_; } } /** - * - * *
      * Output only. Additional information about the orchestration.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> getOrchestrationResultFieldBuilder() { if (orchestrationResultBuilder_ == null) { - orchestrationResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - .Builder, - com.google.cloud.bigquery.migration.v2alpha - .MigrationTaskOrchestrationResultOrBuilder>( - getOrchestrationResult(), getParentForChildren(), isClean()); + orchestrationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder>( + getOrchestrationResult(), + getParentForChildren(), + isClean()); orchestrationResult_ = null; } return orchestrationResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3451,12 +2858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationTask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationTask) private static final com.google.cloud.bigquery.migration.v2alpha.MigrationTask DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationTask(); } @@ -3465,16 +2872,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationTask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationTask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3489,4 +2896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java index 69089d5..1850ce7 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java @@ -1,169 +1,107 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface MigrationTaskOrBuilder - extends +public interface MigrationTaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTask) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Task configuration for Assessment.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; * @return Whether the assessmentTaskDetails field is set. */ boolean hasAssessmentTaskDetails(); /** - * - * *
    * Task configuration for Assessment.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; * @return The assessmentTaskDetails. */ com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails(); /** - * - * *
    * Task configuration for Assessment.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; */ - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder - getAssessmentTaskDetailsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder(); /** - * - * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; * @return Whether the translationTaskDetails field is set. */ boolean hasTranslationTaskDetails(); /** - * - * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; * @return The translationTaskDetails. */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails(); /** - * - * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder - getTranslationTaskDetailsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder(); /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The id. */ java.lang.String getId(); /** - * - * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -171,13 +109,10 @@ public interface MigrationTaskOrBuilder
    * 
* * .google.protobuf.Any details = 3; - * * @return Whether the details field is set. */ boolean hasDetails(); /** - * - * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -185,13 +120,10 @@ public interface MigrationTaskOrBuilder
    * 
* * .google.protobuf.Any details = 3; - * * @return The details. */ com.google.protobuf.Any getDetails(); /** - * - * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -203,99 +135,70 @@ public interface MigrationTaskOrBuilder
   com.google.protobuf.AnyOrBuilder getDetailsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the task.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** - * - * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the task was created.
    * 
@@ -305,32 +208,24 @@ public interface MigrationTaskOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; - * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Time when the task was last updated.
    * 
@@ -340,48 +235,31 @@ public interface MigrationTaskOrBuilder com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Additional information about the orchestration.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the orchestrationResult field is set. */ boolean hasOrchestrationResult(); /** - * - * *
    * Output only. Additional information about the orchestration.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The orchestrationResult. */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - getOrchestrationResult(); + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getOrchestrationResult(); /** - * - * *
    * Output only. Additional information about the orchestration.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder - getOrchestrationResultOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder(); - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.TaskDetailsCase - getTaskDetailsCase(); + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.TaskDetailsCase getTaskDetailsCase(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java similarity index 52% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java index d08cd36..6702e77 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Additional information from the orchestrator when it is done with the
  * task orchestration.
@@ -28,30 +11,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult}
  */
-public final class MigrationTaskOrchestrationResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationTaskOrchestrationResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)
     MigrationTaskOrchestrationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationTaskOrchestrationResult.newBuilder() to construct.
-  private MigrationTaskOrchestrationResult(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private MigrationTaskOrchestrationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private MigrationTaskOrchestrationResult() {}
+  private MigrationTaskOrchestrationResult() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationTaskOrchestrationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationTaskOrchestrationResult(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,40 +53,27 @@ private MigrationTaskOrchestrationResult(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails
-                      .Builder
-                  subBuilder = null;
-              if (detailsCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2alpha
-                                .AssessmentOrchestrationResultDetails)
-                            details_)
-                        .toBuilder();
-              }
-              details_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha
-                          .AssessmentOrchestrationResultDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2alpha
-                            .AssessmentOrchestrationResultDetails)
-                        details_);
-                details_ = subBuilder.buildPartial();
-              }
-              detailsCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder subBuilder = null;
+            if (detailsCase_ == 1) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            details_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_);
+              details_ = subBuilder.buildPartial();
             }
+            detailsCase_ = 1;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -111,40 +81,34 @@ private MigrationTaskOrchestrationResult(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class,
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder
-                .class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder.class);
   }
 
   private int detailsCase_ = 0;
   private java.lang.Object details_;
-
   public enum DetailsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ASSESSMENT_DETAILS(1),
     DETAILS_NOT_SET(0);
     private final int value;
-
     private DetailsCase(int value) {
       this.value = value;
     }
@@ -160,36 +124,29 @@ public static DetailsCase valueOf(int value) {
 
     public static DetailsCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return ASSESSMENT_DETAILS;
-        case 0:
-          return DETAILS_NOT_SET;
-        default:
-          return null;
+        case 1: return ASSESSMENT_DETAILS;
+        case 0: return DETAILS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DetailsCase getDetailsCase() {
-    return DetailsCase.forNumber(detailsCase_);
+  public DetailsCase
+  getDetailsCase() {
+    return DetailsCase.forNumber(
+        detailsCase_);
   }
 
   public static final int ASSESSMENT_DETAILS_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Details specific to assessment task types.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; * @return Whether the assessmentDetails field is set. */ @java.lang.Override @@ -197,52 +154,36 @@ public boolean hasAssessmentDetails() { return detailsCase_ == 1; } /** - * - * *
    * Details specific to assessment task types.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; * @return The assessmentDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - getAssessmentDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getAssessmentDetails() { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } /** - * - * *
    * Details specific to assessment task types.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder - getAssessmentDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder getAssessmentDetailsOrBuilder() { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,12 +195,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (detailsCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_); + output.writeMessage(1, (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_); } unknownFields.writeTo(output); } @@ -271,11 +210,8 @@ public int getSerializedSize() { size = 0; if (detailsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other = - (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other = (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: - if (!getAssessmentDetails().equals(other.getAssessmentDetails())) return false; + if (!getAssessmentDetails() + .equals(other.getAssessmentDetails())) return false; break; case 0: default: @@ -326,111 +261,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional information from the orchestrator when it is done with the
    * task orchestration.
@@ -438,41 +359,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)
       com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class,
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder
-                  .class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.newBuilder()
+    // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -482,22 +400,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult build() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result =
-          buildPartial();
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -505,10 +420,8 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationRes
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
-        buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result =
-          new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(this);
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult buildPartial() {
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result = new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(this);
       if (detailsCase_ == 1) {
         if (assessmentDetailsBuilder_ == null) {
           result.details_ = details_;
@@ -525,62 +438,54 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationRes
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other
-          instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) other);
+      if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) {
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other) {
-      if (other
-          == com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other) {
+      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance()) return this;
       switch (other.getDetailsCase()) {
-        case ASSESSMENT_DETAILS:
-          {
-            mergeAssessmentDetails(other.getAssessmentDetails());
-            break;
-          }
-        case DETAILS_NOT_SET:
-          {
-            break;
-          }
+        case ASSESSMENT_DETAILS: {
+          mergeAssessmentDetails(other.getAssessmentDetails());
+          break;
+        }
+        case DETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -597,14 +502,11 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parsedMessage =
-          null;
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parsedMessage = null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -613,12 +515,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int detailsCase_ = 0;
     private java.lang.Object details_;
-
-    public DetailsCase getDetailsCase() {
-      return DetailsCase.forNumber(detailsCase_);
+    public DetailsCase
+        getDetailsCase() {
+      return DetailsCase.forNumber(
+          detailsCase_);
     }
 
     public Builder clearDetails() {
@@ -628,24 +530,15 @@ public Builder clearDetails() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails,
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails
-                .Builder,
-            com.google.cloud.bigquery.migration.v2alpha
-                .AssessmentOrchestrationResultDetailsOrBuilder>
-        assessmentDetailsBuilder_;
+        com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder> assessmentDetailsBuilder_;
     /**
-     *
-     *
      * 
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; * @return Whether the assessmentDetails field is set. */ @java.lang.Override @@ -653,49 +546,35 @@ public boolean hasAssessmentDetails() { return detailsCase_ == 1; } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; * @return The assessmentDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - getAssessmentDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getAssessmentDetails() { if (assessmentDetailsBuilder_ == null) { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } else { if (detailsCase_ == 1) { return assessmentDetailsBuilder_.getMessage(); } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ - public Builder setAssessmentDetails( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { + public Builder setAssessmentDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { if (assessmentDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -709,19 +588,14 @@ public Builder setAssessmentDetails( return this; } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ public Builder setAssessmentDetails( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder - builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder builderForValue) { if (assessmentDetailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -732,31 +606,18 @@ public Builder setAssessmentDetails( return this; } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ - public Builder mergeAssessmentDetails( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { + public Builder mergeAssessmentDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { if (assessmentDetailsBuilder_ == null) { - if (detailsCase_ == 1 - && details_ - != com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance()) { - details_ = - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .newBuilder( - (com.google.cloud.bigquery.migration.v2alpha - .AssessmentOrchestrationResultDetails) - details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 1 && + details_ != com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance()) { + details_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.newBuilder((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -772,15 +633,11 @@ public Builder mergeAssessmentDetails( return this; } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ public Builder clearAssessmentDetails() { if (assessmentDetailsBuilder_ == null) { @@ -799,90 +656,61 @@ public Builder clearAssessmentDetails() { return this; } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder - getAssessmentDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder getAssessmentDetailsBuilder() { return getAssessmentDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder - getAssessmentDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder getAssessmentDetailsOrBuilder() { if ((detailsCase_ == 1) && (assessmentDetailsBuilder_ != null)) { return assessmentDetailsBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } } /** - * - * *
      * Details specific to assessment task types.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .Builder, - com.google.cloud.bigquery.migration.v2alpha - .AssessmentOrchestrationResultDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder> getAssessmentDetailsFieldBuilder() { if (assessmentDetailsBuilder_ == null) { if (!(detailsCase_ == 1)) { - details_ = - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .getDefaultInstance(); + details_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); } - assessmentDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - .Builder, - com.google.cloud.bigquery.migration.v2alpha - .AssessmentOrchestrationResultDetailsOrBuilder>( - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - details_, + assessmentDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder>( + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 1; - onChanged(); - ; + onChanged();; return assessmentDetailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,33 +720,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) - private static final com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationTaskOrchestrationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationTaskOrchestrationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationTaskOrchestrationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationTaskOrchestrationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -930,8 +755,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java new file mode 100644 index 0000000..3ece0c9 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java @@ -0,0 +1,38 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface MigrationTaskOrchestrationResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Details specific to assessment task types.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * @return Whether the assessmentDetails field is set. + */ + boolean hasAssessmentDetails(); + /** + *
+   * Details specific to assessment task types.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * @return The assessmentDetails. + */ + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getAssessmentDetails(); + /** + *
+   * Details specific to assessment task types.
+   * 
+ * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + */ + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder getAssessmentDetailsOrBuilder(); + + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.DetailsCase getDetailsCase(); +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java index c7aad91..94ad6fa 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A migration workflow which specifies what needs to be done for an EDW
  * migration.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationWorkflow}
  */
-public final class MigrationWorkflow extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationWorkflow extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)
     MigrationWorkflowOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationWorkflow.newBuilder() to construct.
   private MigrationWorkflow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationWorkflow() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private MigrationWorkflow() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationWorkflow();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationWorkflow(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,80 +57,70 @@ private MigrationWorkflow(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tasks_ =
-                    com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask>
-                  tasks__ =
-                      input.readMessage(
-                          TasksDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              tasks_.getMutableMap().put(tasks__.getKey(), tasks__.getValue());
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tasks_ = com.google.protobuf.MapField.newMapField(
+                  TasksDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            com.google.protobuf.MapEntry
+            tasks__ = input.readMessage(
+                TasksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            tasks_.getMutableMap().put(
+                tasks__.getKey(), tasks__.getValue());
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastUpdateTime_ != null) {
-                subBuilder = lastUpdateTime_.toBuilder();
-              }
-              lastUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastUpdateTime_);
-                lastUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastUpdateTime_ != null) {
+              subBuilder = lastUpdateTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastUpdateTime_);
+              lastUpdateTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -155,52 +128,48 @@ private MigrationWorkflow(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetTasks();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
-            com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible migration workflow states.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Workflow state is unspecified.
      * 
@@ -209,8 +178,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -220,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DRAFT(1),
     /**
-     *
-     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -230,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -241,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(3),
     /**
-     *
-     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -256,8 +217,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Workflow state is unspecified.
      * 
@@ -266,8 +225,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -277,8 +234,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DRAFT_VALUE = 1;
     /**
-     *
-     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -287,8 +242,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -298,8 +251,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -310,6 +261,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMPLETED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -334,55 +286,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return DRAFT;
-        case 2:
-          return RUNNING;
-        case 3:
-          return PAUSED;
-        case 4:
-          return COMPLETED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return DRAFT;
+        case 2: return RUNNING;
+        case 3: return PAUSED;
+        case 4: return COMPLETED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -402,18 +350,13 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ @java.lang.Override @@ -422,33 +365,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -459,15 +400,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The displayName. */ @java.lang.Override @@ -476,30 +414,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -508,32 +446,24 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int TASKS_FIELD_NUMBER = 2; - private static final class TasksDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - defaultEntry = + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto - .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.bigquery.migration.v2alpha.MigrationTask - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDefaultInstance()); } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - tasks_; - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks_; + private com.google.protobuf.MapField + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TasksDefaultEntryHolder.defaultEntry); } return tasks_; } @@ -542,89 +472,76 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ + @java.lang.Override - public boolean containsTasks(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTasks( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTasks().getMap().containsKey(key); } - /** Use {@link #getTasksMap()} instead. */ + /** + * Use {@link #getTasksMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getTasks() { + public java.util.Map getTasks() { return getTasksMap(); } /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ @java.lang.Override - public java.util.Map - getTasksMap() { + + public java.util.Map getTasksMap() { return internalGetTasks().getMap(); } /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTasks().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTasks().getMap(); if (!map.containsKey(key)) { @@ -636,56 +553,38 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -693,14 +592,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ @java.lang.Override @@ -708,8 +604,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the workflow was created.
    * 
@@ -724,14 +618,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -739,25 +630,18 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Time when the workflow was last updated.
    * 
@@ -770,7 +654,6 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -782,15 +665,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTasks(), TasksDefaultEntryHolder.defaultEntry, 2); - if (state_ - != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTasks(), + TasksDefaultEntryHolder.defaultEntry, + 2); + if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } if (createTime_ != null) { @@ -814,29 +700,27 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - entry : internalGetTasks().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - tasks__ = - TasksDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tasks__); - } - if (state_ - != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + for (java.util.Map.Entry entry + : internalGetTasks().getMap().entrySet()) { + com.google.protobuf.MapEntry + tasks__ = TasksDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, tasks__); + } + if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getLastUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -849,25 +733,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow other = - (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow other = (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetTasks().equals(other.internalGetTasks())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetTasks().equals( + other.internalGetTasks())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -904,104 +792,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A migration workflow which specifies what needs to be done for an EDW
    * migration.
@@ -1009,43 +889,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationWorkflow}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)
       com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetTasks();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableTasks();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
-              com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.newBuilder()
@@ -1053,15 +933,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1088,14 +969,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance();
     }
 
@@ -1110,8 +990,7 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow result =
-          new com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow(this);
+      com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow result = new com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1136,39 +1015,38 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1176,9 +1054,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow other) {
-      if (other
-          == com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1187,7 +1063,8 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationWo
         displayName_ = other.displayName_;
         onChanged();
       }
-      internalGetMutableTasks().mergeFrom(other.internalGetTasks());
+      internalGetMutableTasks().mergeFrom(
+          other.internalGetTasks());
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1216,9 +1093,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1227,29 +1102,24 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1258,25 +1128,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1284,73 +1151,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1358,21 +1212,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1381,22 +1233,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1404,89 +1255,78 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - tasks_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks_; + private com.google.protobuf.MapField + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TasksDefaultEntryHolder.defaultEntry); } return tasks_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - internalGetMutableTasks() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableTasks() { + onChanged();; if (tasks_ == null) { - tasks_ = com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry); + tasks_ = com.google.protobuf.MapField.newMapField( + TasksDefaultEntryHolder.defaultEntry); } if (!tasks_.isMutable()) { tasks_ = tasks_.copy(); @@ -1498,93 +1338,78 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ + @java.lang.Override - public boolean containsTasks(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTasks( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTasks().getMap().containsKey(key); } - /** Use {@link #getTasksMap()} instead. */ + /** + * Use {@link #getTasksMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - getTasks() { + public java.util.Map getTasks() { return getTasksMap(); } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - getTasksMap() { + + public java.util.Map getTasksMap() { return internalGetTasks().getMap(); } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetTasks().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTasks().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetTasks().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTasks().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1592,177 +1417,142 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow } public Builder clearTasks() { - internalGetMutableTasks().getMutableMap().clear(); + internalGetMutableTasks().getMutableMap() + .clear(); return this; } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ - public Builder removeTasks(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableTasks().getMutableMap().remove(key); + + public Builder removeTasks( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableTasks().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> - getMutableTasks() { + public java.util.Map + getMutableTasks() { return internalGetMutableTasks().getMutableMap(); } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ public Builder putTasks( - java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.MigrationTask value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.bigquery.migration.v2alpha.MigrationTask value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableTasks().getMutableMap().put(key, value); + internalGetMutableTasks().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ + public Builder putAllTasks( - java.util.Map - values) { - internalGetMutableTasks().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableTasks().getMutableMap() + .putAll(values); return this; } private int state_ = 0; /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State value) { + public Builder setState(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. That status of the workflow.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1770,47 +1560,34 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1831,15 +1608,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1850,8 +1626,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1862,7 +1636,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1874,8 +1648,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1894,8 +1666,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1903,13 +1673,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1920,14 +1688,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the workflow was created.
      * 
@@ -1935,17 +1700,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1953,47 +1715,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2014,15 +1763,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2033,8 +1781,6 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2045,9 +1791,7 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -2059,8 +1803,6 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2079,8 +1821,6 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2088,13 +1828,11 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2105,14 +1843,11 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Time when the workflow was last updated.
      * 
@@ -2120,24 +1855,21 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2147,13 +1879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) - private static final com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow(); } @@ -2162,16 +1893,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationWorkflow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationWorkflow(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationWorkflow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationWorkflow(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2186,4 +1917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java similarity index 69% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java index a84deb7..fa023d2 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java @@ -1,220 +1,162 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface MigrationWorkflowOrBuilder - extends +public interface MigrationWorkflowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ int getTasksCount(); /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + */ + boolean containsTasks( + java.lang.String key); + /** + * Use {@link #getTasksMap()} instead. */ - boolean containsTasks(java.lang.String key); - /** Use {@link #getTasksMap()} instead. */ @java.lang.Deprecated java.util.Map - getTasks(); + getTasks(); /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ java.util.Map - getTasksMap(); + getTasksMap(); /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ /* nullable */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( +com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue); +com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue); /** - * - * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow(java.lang.String key); + + com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( + java.lang.String key); /** - * - * *
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. That status of the workflow.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState(); /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the workflow was created.
    * 
@@ -224,32 +166,24 @@ com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; - * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Time when the workflow was last updated.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java similarity index 75% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java index de265c4..88e5b3e 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A single data point in a time series.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Point} */ -public final class Point extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Point extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.Point) PointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Point.newBuilder() to construct. private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Point() {} + private Point() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Point(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,47 +52,39 @@ private Point( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.TimeInterval.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.TypedValue.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + value_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TypedValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,33 +92,29 @@ private Point( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Point.class, - com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Point.class, com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); } public static final int INTERVAL_FIELD_NUMBER = 1; private com.google.cloud.bigquery.migration.v2alpha.TimeInterval interval_; /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -156,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ @java.lang.Override @@ -164,8 +135,6 @@ public boolean hasInterval() { return interval_ != null; } /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -179,18 +148,13 @@ public boolean hasInterval() {
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; - * * @return The interval. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TimeInterval getInterval() { - return interval_ == null - ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() : interval_; } /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -213,14 +177,11 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getInte
   public static final int VALUE_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.migration.v2alpha.TypedValue value_;
   /**
-   *
-   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -228,25 +189,18 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; - * * @return The value. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TypedValue getValue() { - return value_ == null - ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() : value_; } /** - * - * *
    * The value of the data point.
    * 
@@ -259,7 +213,6 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder getValueO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (interval_ != null) { output.writeMessage(1, getInterval()); } @@ -288,10 +242,12 @@ public int getSerializedSize() { size = 0; if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInterval()); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,21 +257,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.Point)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.Point other = - (com.google.cloud.bigquery.migration.v2alpha.Point) obj; + com.google.cloud.bigquery.migration.v2alpha.Point other = (com.google.cloud.bigquery.migration.v2alpha.Point) obj; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval().equals(other.getInterval())) return false; + if (!getInterval() + .equals(other.getInterval())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,126 +299,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.Point parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.Point parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single data point in a time series.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Point} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.Point) com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Point.class, - com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Point.class, com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.Point.newBuilder() @@ -469,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; } @java.lang.Override @@ -518,8 +467,7 @@ public com.google.cloud.bigquery.migration.v2alpha.Point build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Point buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.Point result = - new com.google.cloud.bigquery.migration.v2alpha.Point(this); + com.google.cloud.bigquery.migration.v2alpha.Point result = new com.google.cloud.bigquery.migration.v2alpha.Point(this); if (intervalBuilder_ == null) { result.interval_ = interval_; } else { @@ -538,39 +486,38 @@ public com.google.cloud.bigquery.migration.v2alpha.Point buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.Point) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Point) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Point)other); } else { super.mergeFrom(other); return this; @@ -578,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Point other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()) return this; if (other.hasInterval()) { mergeInterval(other.getInterval()); } @@ -605,8 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.Point) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.Point) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,13 +563,8 @@ public Builder mergeFrom( private com.google.cloud.bigquery.migration.v2alpha.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeInterval, - com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, - com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder> - intervalBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TimeInterval, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder> intervalBuilder_; /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -638,15 +578,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -660,21 +597,16 @@ public boolean hasInterval() {
      * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; - * * @return The interval. */ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null - ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() : interval_; } else { return intervalBuilder_.getMessage(); } } /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -703,8 +635,6 @@ public Builder setInterval(com.google.cloud.bigquery.migration.v2alpha.TimeInter
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -731,8 +661,6 @@ public Builder setInterval(
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -751,9 +679,7 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2alpha.TimeInt
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.newBuilder(interval_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
         } else {
           interval_ = value;
         }
@@ -765,8 +691,6 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2alpha.TimeInt
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -793,8 +717,6 @@ public Builder clearInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -810,13 +732,11 @@ public Builder clearInterval() {
      * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1;
      */
     public com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder getIntervalBuilder() {
-
+      
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -831,19 +751,15 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder getInter
      *
      * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1;
      */
-    public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder
-        getIntervalOrBuilder() {
+    public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null
-            ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance()
-            : interval_;
+        return interval_ == null ?
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() : interval_;
       }
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -859,17 +775,14 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder getInter
      * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval,
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder,
-            com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder>
+        com.google.cloud.bigquery.migration.v2alpha.TimeInterval, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder> 
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.bigquery.migration.v2alpha.TimeInterval,
-                com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder,
-                com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder>(
-                getInterval(), getParentForChildren(), isClean());
+        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder>(
+                getInterval(),
+                getParentForChildren(),
+                isClean());
         interval_ = null;
       }
       return intervalBuilder_;
@@ -877,47 +790,34 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder getInter
 
     private com.google.cloud.bigquery.migration.v2alpha.TypedValue value_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.TypedValue,
-            com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder,
-            com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder>
-        valueBuilder_;
+        com.google.cloud.bigquery.migration.v2alpha.TypedValue, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder> valueBuilder_;
     /**
-     *
-     *
      * 
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; - * * @return The value. */ public com.google.cloud.bigquery.migration.v2alpha.TypedValue getValue() { if (valueBuilder_ == null) { - return value_ == null - ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** - * - * *
      * The value of the data point.
      * 
@@ -938,8 +838,6 @@ public Builder setValue(com.google.cloud.bigquery.migration.v2alpha.TypedValue v return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -958,8 +856,6 @@ public Builder setValue( return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -970,9 +866,7 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2alpha.TypedValue if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.cloud.bigquery.migration.v2alpha.TypedValue.newBuilder(value_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.TypedValue.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -984,8 +878,6 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2alpha.TypedValue return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -1004,8 +896,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -1013,13 +903,11 @@ public Builder clearValue() { * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; */ public com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * The value of the data point.
      * 
@@ -1030,14 +918,11 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder getValueO if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null - ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() - : value_; + return value_ == null ? + com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() : value_; } } /** - * - * *
      * The value of the data point.
      * 
@@ -1045,24 +930,21 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder getValueO * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TypedValue, - com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, - com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TypedValue, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TypedValue, - com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, - com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TypedValue, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.Point) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.Point) private static final com.google.cloud.bigquery.migration.v2alpha.Point DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.Point(); } @@ -1086,16 +968,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.Point getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Point parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Point(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1110,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java similarity index 83% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java index a7c5095..c459191 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface PointOrBuilder - extends +public interface PointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.Point) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -39,13 +21,10 @@ public interface PointOrBuilder
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ boolean hasInterval(); /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -59,13 +38,10 @@ public interface PointOrBuilder
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; - * * @return The interval. */ com.google.cloud.bigquery.migration.v2alpha.TimeInterval getInterval(); /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -83,32 +59,24 @@ public interface PointOrBuilder
   com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getIntervalOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; - * * @return The value. */ com.google.cloud.bigquery.migration.v2alpha.TypedValue getValue(); /** - * - * *
    * The value of the data point.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java index 471a327..0906e45 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Provides details for errors and the corresponding resources.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail} */ -public final class ResourceErrorDetail extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResourceErrorDetail extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) ResourceErrorDetailOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResourceErrorDetail.newBuilder() to construct. private ResourceErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceErrorDetail() { errorDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceErrorDetail(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResourceErrorDetail( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,47 +54,40 @@ private ResourceErrorDetail( case 0: done = true; break; - case 10: - { - com.google.rpc.ResourceInfo.Builder subBuilder = null; - if (resourceInfo_ != null) { - subBuilder = resourceInfo_.toBuilder(); - } - resourceInfo_ = - input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceInfo_); - resourceInfo_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.rpc.ResourceInfo.Builder subBuilder = null; + if (resourceInfo_ != null) { + subBuilder = resourceInfo_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorDetails_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail>(); - mutable_bitField0_ |= 0x00000001; - } - errorDetails_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.parser(), - extensionRegistry)); - break; + resourceInfo_ = input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceInfo_); + resourceInfo_ = subBuilder.buildPartial(); } - case 24: - { - errorCount_ = input.readInt32(); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorDetails_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errorDetails_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.parser(), extensionRegistry)); + break; + } + case 24: { + + errorCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +95,8 @@ private ResourceErrorDetail( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorDetails_ = java.util.Collections.unmodifiableList(errorDetails_); @@ -128,34 +105,27 @@ private ResourceErrorDetail( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); } public static final int RESOURCE_INFO_FIELD_NUMBER = 1; private com.google.rpc.ResourceInfo resourceInfo_; /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceInfo field is set. */ @java.lang.Override @@ -163,15 +133,11 @@ public boolean hasResourceInfo() { return resourceInfo_ != null; } /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceInfo. */ @java.lang.Override @@ -179,14 +145,11 @@ public com.google.rpc.ResourceInfo getResourceInfo() { return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { @@ -196,77 +159,56 @@ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { public static final int ERROR_DETAILS_FIELD_NUMBER = 2; private java.util.List errorDetails_; /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getErrorDetailsList() { + public java.util.List getErrorDetailsList() { return errorDetails_; } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorDetailsOrBuilderList() { return errorDetails_; } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getErrorDetailsCount() { return errorDetails_.size(); } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(int index) { return errorDetails_.get(index); } /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetailsOrBuilder( @@ -277,8 +219,6 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getError public static final int ERROR_COUNT_FIELD_NUMBER = 3; private int errorCount_; /** - * - * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -286,7 +226,6 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getError
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ @java.lang.Override @@ -295,7 +234,6 @@ public int getErrorCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resourceInfo_ != null) { output.writeMessage(1, getResourceInfo()); } @@ -327,13 +266,16 @@ public int getSerializedSize() { size = 0; if (resourceInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResourceInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResourceInfo()); } for (int i = 0; i < errorDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errorDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errorDetails_.get(i)); } if (errorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, errorCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, errorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -343,20 +285,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other = - (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) obj; + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other = (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) obj; if (hasResourceInfo() != other.hasResourceInfo()) return false; if (hasResourceInfo()) { - if (!getResourceInfo().equals(other.getResourceInfo())) return false; + if (!getResourceInfo() + .equals(other.getResourceInfo())) return false; } - if (!getErrorDetailsList().equals(other.getErrorDetailsList())) return false; - if (getErrorCount() != other.getErrorCount()) return false; + if (!getErrorDetailsList() + .equals(other.getErrorDetailsList())) return false; + if (getErrorCount() + != other.getErrorCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -384,127 +328,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Provides details for errors and the corresponding resources.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.newBuilder() @@ -512,17 +446,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorDetailsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -544,14 +478,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance(); } @@ -566,8 +499,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail result = - new com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail(this); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail result = new com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail(this); int from_bitField0_ = bitField0_; if (resourceInfoBuilder_ == null) { result.resourceInfo_ = resourceInfo_; @@ -592,50 +524,46 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()) return this; if (other.hasResourceInfo()) { mergeResourceInfo(other.getResourceInfo()); } @@ -657,10 +585,9 @@ public Builder mergeFrom( errorDetailsBuilder_ = null; errorDetails_ = other.errorDetails_; bitField0_ = (bitField0_ & ~0x00000001); - errorDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorDetailsFieldBuilder() - : null; + errorDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorDetailsFieldBuilder() : null; } else { errorDetailsBuilder_.addAllMessages(other.errorDetails_); } @@ -688,9 +615,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -699,60 +624,43 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.rpc.ResourceInfo resourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, - com.google.rpc.ResourceInfo.Builder, - com.google.rpc.ResourceInfoOrBuilder> - resourceInfoBuilder_; + com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> resourceInfoBuilder_; /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceInfo field is set. */ public boolean hasResourceInfo() { return resourceInfoBuilder_ != null || resourceInfo_ != null; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceInfo. */ public com.google.rpc.ResourceInfo getResourceInfo() { if (resourceInfoBuilder_ == null) { - return resourceInfo_ == null - ? com.google.rpc.ResourceInfo.getDefaultInstance() - : resourceInfo_; + return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } else { return resourceInfoBuilder_.getMessage(); } } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { @@ -768,16 +676,14 @@ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setResourceInfo(com.google.rpc.ResourceInfo.Builder builderForValue) { + public Builder setResourceInfo( + com.google.rpc.ResourceInfo.Builder builderForValue) { if (resourceInfoBuilder_ == null) { resourceInfo_ = builderForValue.build(); onChanged(); @@ -788,20 +694,17 @@ public Builder setResourceInfo(com.google.rpc.ResourceInfo.Builder builderForVal return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { if (resourceInfo_ != null) { resourceInfo_ = - com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); } else { resourceInfo_ = value; } @@ -813,14 +716,11 @@ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResourceInfo() { if (resourceInfoBuilder_ == null) { @@ -834,97 +734,73 @@ public Builder clearResourceInfo() { return this; } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ResourceInfo.Builder getResourceInfoBuilder() { - + onChanged(); return getResourceInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { if (resourceInfoBuilder_ != null) { return resourceInfoBuilder_.getMessageOrBuilder(); } else { - return resourceInfo_ == null - ? com.google.rpc.ResourceInfo.getDefaultInstance() - : resourceInfo_; + return resourceInfo_ == null ? + com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } } /** - * - * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, - com.google.rpc.ResourceInfo.Builder, - com.google.rpc.ResourceInfoOrBuilder> + com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> getResourceInfoFieldBuilder() { if (resourceInfoBuilder_ == null) { - resourceInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, - com.google.rpc.ResourceInfo.Builder, - com.google.rpc.ResourceInfoOrBuilder>( - getResourceInfo(), getParentForChildren(), isClean()); + resourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder>( + getResourceInfo(), + getParentForChildren(), + isClean()); resourceInfo_ = null; } return resourceInfoBuilder_; } private java.util.List errorDetails_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorDetails_ = - new java.util.ArrayList( - errorDetails_); + errorDetails_ = new java.util.ArrayList(errorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> - errorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> errorDetailsBuilder_; /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getErrorDetailsList() { + public java.util.List getErrorDetailsList() { if (errorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(errorDetails_); } else { @@ -932,15 +808,11 @@ private void ensureErrorDetailsIsMutable() { } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getErrorDetailsCount() { if (errorDetailsBuilder_ == null) { @@ -950,15 +822,11 @@ public int getErrorDetailsCount() { } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -968,15 +836,11 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(i } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail value) { @@ -993,19 +857,14 @@ public Builder setErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setErrorDetails( - int index, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); errorDetails_.set(index, builderForValue.build()); @@ -1016,15 +875,11 @@ public Builder setErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail value) { if (errorDetailsBuilder_ == null) { @@ -1040,15 +895,11 @@ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2alpha.Error return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail value) { @@ -1065,15 +916,11 @@ public Builder addErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails( com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { @@ -1087,19 +934,14 @@ public Builder addErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addErrorDetails( - int index, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); errorDetails_.add(index, builderForValue.build()); @@ -1110,22 +952,18 @@ public Builder addErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllErrorDetails( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errorDetails_); onChanged(); } else { errorDetailsBuilder_.addAllMessages(values); @@ -1133,15 +971,11 @@ public Builder addAllErrorDetails( return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearErrorDetails() { if (errorDetailsBuilder_ == null) { @@ -1154,15 +988,11 @@ public Builder clearErrorDetails() { return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -1175,53 +1005,39 @@ public Builder removeErrorDetails(int index) { return this; } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder getErrorDetailsBuilder( int index) { return getErrorDetailsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder - getErrorDetailsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetailsOrBuilder( + int index) { if (errorDetailsBuilder_ == null) { - return errorDetails_.get(index); - } else { + return errorDetails_.get(index); } else { return errorDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> - getErrorDetailsOrBuilderList() { + public java.util.List + getErrorDetailsOrBuilderList() { if (errorDetailsBuilder_ != null) { return errorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -1229,75 +1045,56 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder getErrorD } } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder - addErrorDetailsBuilder() { - return getErrorDetailsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder addErrorDetailsBuilder() { + return getErrorDetailsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder addErrorDetailsBuilder( int index) { - return getErrorDetailsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); + return getErrorDetailsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); } /** - * - * *
      * Required. The error details for the resource.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getErrorDetailsBuilderList() { + public java.util.List + getErrorDetailsBuilderList() { return getErrorDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> getErrorDetailsFieldBuilder() { if (errorDetailsBuilder_ == null) { - errorDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, - com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder>( - errorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder>( + errorDetails_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errorDetails_ = null; } return errorDetailsBuilder_; } - private int errorCount_; + private int errorCount_ ; /** - * - * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1305,7 +1102,6 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder addErrorD
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ @java.lang.Override @@ -1313,8 +1109,6 @@ public int getErrorCount() { return errorCount_; } /** - * - * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1322,19 +1116,16 @@ public int getErrorCount() {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The errorCount to set. * @return This builder for chaining. */ public Builder setErrorCount(int value) { - + errorCount_ = value; onChanged(); return this; } /** - * - * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1342,18 +1133,17 @@ public Builder setErrorCount(int value) {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearErrorCount() { - + errorCount_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1363,32 +1153,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) - private static final com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail(); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1400,8 +1188,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java similarity index 57% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java index e78e55a..72fc641 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java @@ -1,132 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ResourceErrorDetailOrBuilder - extends +public interface ResourceErrorDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceInfo field is set. */ boolean hasResourceInfo(); /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceInfo. */ com.google.rpc.ResourceInfo getResourceInfo(); /** - * - * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getErrorDetailsList(); + java.util.List + getErrorDetailsList(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(int index); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getErrorDetailsCount(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getErrorDetailsOrBuilderList(); /** - * - * *
    * Required. The error details for the resource.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetailsOrBuilder( int index); /** - * - * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -134,7 +86,6 @@ com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetails
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ int getErrorCount(); diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java similarity index 60% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java index 8792ae9..0aa572f 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A request to start a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest} */ -public final class StartMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartMigrationWorkflowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) StartMigrationWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartMigrationWorkflowRequest.newBuilder() to construct. private StartMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private StartMigrationWorkflowRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,35 @@ private StartMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,16 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other = - (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,146 +206,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to start a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder - .class); + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -384,22 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto - .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = - buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -407,10 +363,8 @@ public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = - new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -420,52 +374,46 @@ public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) other); + if (other instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) { + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parsedMessage = - null; + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -529,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -554,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -634,33 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,8 +594,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..6853756 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface StartMigrationWorkflowRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java index 3dfbf77..34bf6c8 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Teradata SQL specific translation task related settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TeradataOptions} */ -public final class TeradataOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TeradataOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TeradataOptions) TeradataOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TeradataOptions.newBuilder() to construct. private TeradataOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TeradataOptions() {} + private TeradataOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TeradataOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TeradataOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private TeradataOptions( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private TeradataOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TeradataOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions other = - (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) obj; + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions other = (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Teradata SQL specific translation task related settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TeradataOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TeradataOptions) com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions result = - new com.google.cloud.bigquery.migration.v2alpha.TeradataOptions(this); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions result = new com.google.cloud.bigquery.migration.v2alpha.TeradataOptions(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TeradataOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TeradataOptions) private static final com.google.cloud.bigquery.migration.v2alpha.TeradataOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TeradataOptions(); } @@ -432,16 +400,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TeradataOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TeradataOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TeradataOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TeradataOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java new file mode 100644 index 0000000..519922a --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface TeradataOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TeradataOptions) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java similarity index 70% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java index e47434e..9f89d16 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A time interval extending just after a start time through an end time.
  * If the start time is the same as the end time, then the interval
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeInterval}
  */
-public final class TimeInterval extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimeInterval extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TimeInterval)
     TimeIntervalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimeInterval.newBuilder() to construct.
   private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TimeInterval() {}
+  private TimeInterval() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimeInterval();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimeInterval(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,43 +54,39 @@ private TimeInterval(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
+            }
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,36 @@ private TimeInterval(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class,
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -157,17 +131,13 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ @java.lang.Override @@ -175,16 +145,13 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -194,14 +161,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -209,14 +173,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ @java.lang.Override @@ -224,8 +185,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Required. The end of the time interval.
    * 
@@ -238,7 +197,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -267,10 +226,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +241,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TimeInterval)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TimeInterval other = - (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) obj; + com.google.cloud.bigquery.migration.v2alpha.TimeInterval other = (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,104 +283,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.TimeInterval prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TimeInterval prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A time interval extending just after a start time through an end time.
    * If the start time is the same as the end time, then the interval
@@ -427,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeInterval}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TimeInterval)
       com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class,
-              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.TimeInterval.newBuilder()
@@ -451,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +432,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
     }
 
     @java.lang.Override
@@ -500,8 +453,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.TimeInterval buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.TimeInterval result =
-          new com.google.cloud.bigquery.migration.v2alpha.TimeInterval(this);
+      com.google.cloud.bigquery.migration.v2alpha.TimeInterval result = new com.google.cloud.bigquery.migration.v2alpha.TimeInterval(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -520,39 +472,38 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TimeInterval) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeInterval) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeInterval)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TimeInterval other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -587,8 +537,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -600,39 +549,28 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -643,16 +581,13 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -668,18 +603,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -690,22 +623,19 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -717,16 +647,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -740,65 +667,54 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -806,35 +722,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -845,14 +750,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -868,16 +770,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -888,20 +788,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -913,14 +810,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -934,66 +828,55 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1003,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TimeInterval) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TimeInterval) private static final com.google.cloud.bigquery.migration.v2alpha.TimeInterval DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TimeInterval(); } @@ -1017,16 +900,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeInterval parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeInterval(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeInterval parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeInterval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,4 +924,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TimeInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java index d65c2dc..aa459bf 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java @@ -1,99 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TimeIntervalOrBuilder - extends +public interface TimeIntervalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TimeInterval) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Required. The end of the time interval.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java index 455ed49..55dabda 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * The metrics object for a SubTask.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeSeries} */ -public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeSeries extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TimeSeries) TimeSeriesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeSeries() { metric_ = ""; valueType_ = 0; @@ -46,15 +28,16 @@ private TimeSeries() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,47 +57,40 @@ private TimeSeries( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - metric_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + metric_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - valueType_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + valueType_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - metricKind_ = rawValue; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - points_.add( - input.readMessage( - com.google.cloud.bigquery.migration.v2alpha.Point.parser(), - extensionRegistry)); - break; + metricKind_ = rawValue; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + points_.add( + input.readMessage(com.google.cloud.bigquery.migration.v2alpha.Point.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,7 +98,8 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -131,34 +108,28 @@ private TimeSeries( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); } public static final int METRIC_FIELD_NUMBER = 1; private volatile java.lang.Object metric_; /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The metric. */ @java.lang.Override @@ -167,30 +138,30 @@ public java.lang.String getMetric() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; } } /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for metric. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricBytes() { + public com.google.protobuf.ByteString + getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metric_ = b; return b; } else { @@ -201,48 +172,33 @@ public com.google.protobuf.ByteString getMetricBytes() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_; /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The valueType. */ - @java.lang.Override - public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int METRIC_KIND_FIELD_NUMBER = 3; private int metricKind_; /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -251,19 +207,13 @@ public com.google.api.MetricDescriptor.ValueType getValueType() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -272,25 +222,18 @@ public int getMetricKindValue() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The metricKind. */ - @java.lang.Override - public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int POINTS_FIELD_NUMBER = 4; private java.util.List points_; /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -301,17 +244,13 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getPointsList() { return points_; } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -322,18 +261,14 @@ public java.util.List getPoin
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getPointsOrBuilderList() { return points_; } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -344,17 +279,13 @@ public java.util.List getPoin
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -365,17 +296,13 @@ public int getPointsCount() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) { return points_.get(index); } /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -386,17 +313,15 @@ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder( + int index) { return points_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,16 +333,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metric_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, valueType_); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { @@ -435,16 +359,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metric_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, valueType_); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, points_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, points_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,18 +379,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TimeSeries)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TimeSeries other = - (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) obj; + com.google.cloud.bigquery.migration.v2alpha.TimeSeries other = (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) obj; - if (!getMetric().equals(other.getMetric())) return false; + if (!getMetric() + .equals(other.getMetric())) return false; if (valueType_ != other.valueType_) return false; if (metricKind_ != other.metricKind_) return false; - if (!getPointsList().equals(other.getPointsList())) return false; + if (!getPointsList() + .equals(other.getPointsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -493,127 +419,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.TimeSeries prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metrics object for a SubTask.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeSeries} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TimeSeries) com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.TimeSeries.newBuilder() @@ -621,17 +537,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -651,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; } @java.lang.Override @@ -672,8 +588,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TimeSeries buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TimeSeries result = - new com.google.cloud.bigquery.migration.v2alpha.TimeSeries(this); + com.google.cloud.bigquery.migration.v2alpha.TimeSeries result = new com.google.cloud.bigquery.migration.v2alpha.TimeSeries(this); int from_bitField0_ = bitField0_; result.metric_ = metric_; result.valueType_ = valueType_; @@ -695,39 +610,38 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TimeSeries) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeSeries) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeSeries)other); } else { super.mergeFrom(other); return this; @@ -735,8 +649,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TimeSeries other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()) return this; if (!other.getMetric().isEmpty()) { metric_ = other.metric_; onChanged(); @@ -765,10 +678,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TimeSeries pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPointsFieldBuilder() - : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointsFieldBuilder() : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -793,8 +705,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -803,26 +714,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object metric_ = ""; /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The metric. */ public java.lang.String getMetric() { java.lang.Object ref = metric_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; @@ -831,22 +739,21 @@ public java.lang.String getMetric() { } } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for metric. */ - public com.google.protobuf.ByteString getMetricBytes() { + public com.google.protobuf.ByteString + getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metric_ = b; return b; } else { @@ -854,64 +761,57 @@ public com.google.protobuf.ByteString getMetricBytes() { } } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The metric to set. * @return This builder for chaining. */ - public Builder setMetric(java.lang.String value) { + public Builder setMetric( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metric_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMetric() { - + metric_ = getDefaultInstance().getMetric(); onChanged(); return this; } /** - * - * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for metric to set. * @return This builder for chaining. */ - public Builder setMetricBytes(com.google.protobuf.ByteString value) { + public Builder setMetricBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metric_ = value; onChanged(); return this; @@ -919,73 +819,51 @@ public Builder setMetricBytes(com.google.protobuf.ByteString value) { private int valueType_ = 0; /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The valueType to set. * @return This builder for chaining. */ @@ -993,26 +871,21 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The value type of the time series.
      * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; @@ -1020,8 +893,6 @@ public Builder clearValueType() { private int metricKind_ = 0; /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1030,19 +901,13 @@ public Builder clearValueType() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1051,22 +916,17 @@ public int getMetricKindValue() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1075,22 +935,16 @@ public Builder setMetricKindValue(int value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1099,10 +953,7 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The metricKind to set. * @return This builder for chaining. */ @@ -1110,14 +961,12 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -1126,39 +975,29 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; } private java.util.List points_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - points_ = - new java.util.ArrayList(points_); + points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Point, - com.google.cloud.bigquery.migration.v2alpha.Point.Builder, - com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> - pointsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.Point, com.google.cloud.bigquery.migration.v2alpha.Point.Builder, com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> pointsBuilder_; /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1169,9 +1008,7 @@ private void ensurePointsIsMutable() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPointsList() { if (pointsBuilder_ == null) { @@ -1181,8 +1018,6 @@ public java.util.List getPoin } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1193,9 +1028,7 @@ public java.util.List getPoin
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public int getPointsCount() { if (pointsBuilder_ == null) { @@ -1205,8 +1038,6 @@ public int getPointsCount() { } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1217,9 +1048,7 @@ public int getPointsCount() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) { if (pointsBuilder_ == null) { @@ -1229,8 +1058,6 @@ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) { } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1241,11 +1068,10 @@ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { + public Builder setPoints( + int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1259,8 +1085,6 @@ public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2alpha. return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1271,9 +1095,7 @@ public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2alpha.
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPoints( int index, com.google.cloud.bigquery.migration.v2alpha.Point.Builder builderForValue) { @@ -1287,8 +1109,6 @@ public Builder setPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1299,9 +1119,7 @@ public Builder setPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addPoints(com.google.cloud.bigquery.migration.v2alpha.Point value) { if (pointsBuilder_ == null) { @@ -1317,8 +1135,6 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2alpha.Point value return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1329,11 +1145,10 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2alpha.Point value
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { + public Builder addPoints( + int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1347,8 +1162,6 @@ public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2alpha. return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1359,9 +1172,7 @@ public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2alpha.
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addPoints( com.google.cloud.bigquery.migration.v2alpha.Point.Builder builderForValue) { @@ -1375,8 +1186,6 @@ public Builder addPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1387,9 +1196,7 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addPoints( int index, com.google.cloud.bigquery.migration.v2alpha.Point.Builder builderForValue) { @@ -1403,8 +1210,6 @@ public Builder addPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1415,15 +1220,14 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllPoints( java.lang.Iterable values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); @@ -1431,8 +1235,6 @@ public Builder addAllPoints( return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1443,9 +1245,7 @@ public Builder addAllPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPoints() { if (pointsBuilder_ == null) { @@ -1458,8 +1258,6 @@ public Builder clearPoints() { return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1470,9 +1268,7 @@ public Builder clearPoints() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { @@ -1485,8 +1281,6 @@ public Builder removePoints(int index) { return this; } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1497,16 +1291,13 @@ public Builder removePoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2alpha.Point.Builder getPointsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.Point.Builder getPointsBuilder( + int index) { return getPointsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1517,21 +1308,16 @@ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder getPointsBuilde
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder( int index) { if (pointsBuilder_ == null) { - return points_.get(index); - } else { + return points_.get(index); } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1542,12 +1328,10 @@ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBui
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getPointsOrBuilderList() { + public java.util.List + getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { @@ -1555,8 +1339,6 @@ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBui } } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1567,17 +1349,13 @@ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBui
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilder() { - return getPointsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); + return getPointsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1588,18 +1366,14 @@ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilde
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilder(int index) { - return getPointsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilder( + int index) { + return getPointsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); } /** - * - * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1610,34 +1384,29 @@ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilde
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getPointsBuilderList() { + public java.util.List + getPointsBuilderList() { return getPointsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Point, - com.google.cloud.bigquery.migration.v2alpha.Point.Builder, - com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.Point, com.google.cloud.bigquery.migration.v2alpha.Point.Builder, com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> getPointsFieldBuilder() { if (pointsBuilder_ == null) { - pointsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Point, - com.google.cloud.bigquery.migration.v2alpha.Point.Builder, - com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder>( - points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.Point, com.google.cloud.bigquery.migration.v2alpha.Point.Builder, com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder>( + points_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); points_ = null; } return pointsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1647,12 +1416,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TimeSeries) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TimeSeries) private static final com.google.cloud.bigquery.migration.v2alpha.TimeSeries DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TimeSeries(); } @@ -1661,16 +1430,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1685,4 +1454,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java index 91b6e84..da671f7 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java @@ -1,87 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TimeSeriesOrBuilder - extends +public interface TimeSeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TimeSeries) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The metric. */ java.lang.String getMetric(); /** - * - * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for metric. */ - com.google.protobuf.ByteString getMetricBytes(); + com.google.protobuf.ByteString + getMetricBytes(); /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** - * - * *
    * Required. The value type of the time series.
    * 
* - * - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -90,16 +57,11 @@ public interface TimeSeriesOrBuilder
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** - * - * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -108,17 +70,12 @@ public interface TimeSeriesOrBuilder
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -129,14 +86,11 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getPointsList(); + java.util.List + getPointsList(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -147,14 +101,10 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -165,14 +115,10 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getPointsCount(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -183,15 +129,11 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getPointsOrBuilderList(); /** - * - * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -202,9 +144,8 @@ public interface TimeSeriesOrBuilder
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder(int index); + com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java similarity index 67% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java index 835cfc3..4412159 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * Mapping between an input and output file to be translated in a subtask.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationFileMapping} */ -public final class TranslationFileMapping extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TranslationFileMapping extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) TranslationFileMappingOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TranslationFileMapping.newBuilder() to construct. private TranslationFileMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TranslationFileMapping() { inputPath_ = ""; outputPath_ = ""; @@ -44,15 +26,16 @@ private TranslationFileMapping() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TranslationFileMapping(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TranslationFileMapping( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private TranslationFileMapping( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputPath_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + inputPath_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - outputPath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private TranslationFileMapping( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); } public static final int INPUT_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object inputPath_; /** - * - * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; - * * @return The inputPath. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getInputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; } } /** - * - * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; - * * @return The bytes for inputPath. */ @java.lang.Override - public com.google.protobuf.ByteString getInputPathBytes() { + public com.google.protobuf.ByteString + getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputPath_ = b; return b; } else { @@ -173,14 +149,11 @@ public com.google.protobuf.ByteString getInputPathBytes() { public static final int OUTPUT_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object outputPath_; /** - * - * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; - * * @return The outputPath. */ @java.lang.Override @@ -189,29 +162,29 @@ public java.lang.String getOutputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; } } /** - * - * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; - * * @return The bytes for outputPath. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputPathBytes() { + public com.google.protobuf.ByteString + getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputPath_ = b; return b; } else { @@ -220,7 +193,6 @@ public com.google.protobuf.ByteString getOutputPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputPath_); } @@ -262,16 +235,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other = - (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) obj; + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other = (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) obj; - if (!getInputPath().equals(other.getInputPath())) return false; - if (!getOutputPath().equals(other.getOutputPath())) return false; + if (!getInputPath() + .equals(other.getInputPath())) return false; + if (!getOutputPath() + .equals(other.getOutputPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,145 +267,134 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Mapping between an input and output file to be translated in a subtask.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationFileMapping} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); } - // Construct using - // com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.newBuilder() + // Construct using com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -443,16 +406,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - .getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance(); } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping build( @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping result = - new com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping(this); + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping result = new com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping(this); result.inputPath_ = inputPath_; result.outputPath_ = outputPath_; onBuilt(); @@ -478,51 +438,46 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) { - return mergeFrom( - (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other) { - if (other - == com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other) { + if (other == com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance()) return this; if (!other.getInputPath().isEmpty()) { inputPath_ = other.inputPath_; onChanged(); @@ -550,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object inputPath_ = ""; /** - * - * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; - * * @return The inputPath. */ public java.lang.String getInputPath() { java.lang.Object ref = inputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; @@ -586,21 +537,20 @@ public java.lang.String getInputPath() { } } /** - * - * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; - * * @return The bytes for inputPath. */ - public com.google.protobuf.ByteString getInputPathBytes() { + public com.google.protobuf.ByteString + getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputPath_ = b; return b; } else { @@ -608,61 +558,54 @@ public com.google.protobuf.ByteString getInputPathBytes() { } } /** - * - * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; - * * @param value The inputPath to set. * @return This builder for chaining. */ - public Builder setInputPath(java.lang.String value) { + public Builder setInputPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputPath_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; - * * @return This builder for chaining. */ public Builder clearInputPath() { - + inputPath_ = getDefaultInstance().getInputPath(); onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; - * * @param value The bytes for inputPath to set. * @return This builder for chaining. */ - public Builder setInputPathBytes(com.google.protobuf.ByteString value) { + public Builder setInputPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputPath_ = value; onChanged(); return this; @@ -670,20 +613,18 @@ public Builder setInputPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputPath_ = ""; /** - * - * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; - * * @return The outputPath. */ public java.lang.String getOutputPath() { java.lang.Object ref = outputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; @@ -692,21 +633,20 @@ public java.lang.String getOutputPath() { } } /** - * - * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; - * * @return The bytes for outputPath. */ - public com.google.protobuf.ByteString getOutputPathBytes() { + public com.google.protobuf.ByteString + getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputPath_ = b; return b; } else { @@ -714,68 +654,61 @@ public com.google.protobuf.ByteString getOutputPathBytes() { } } /** - * - * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; - * * @param value The outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPath(java.lang.String value) { + public Builder setOutputPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputPath_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; - * * @return This builder for chaining. */ public Builder clearOutputPath() { - + outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /** - * - * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; - * * @param value The bytes for outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPathBytes(com.google.protobuf.ByteString value) { + public Builder setOutputPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputPath_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) - private static final com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping(); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranslationFileMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TranslationFileMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranslationFileMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TranslationFileMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -822,8 +753,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java similarity index 58% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java index c08ad66..65ab50f 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TranslationFileMappingOrBuilder - extends +public interface TranslationFileMappingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; - * * @return The inputPath. */ java.lang.String getInputPath(); /** - * - * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; - * * @return The bytes for inputPath. */ - com.google.protobuf.ByteString getInputPathBytes(); + com.google.protobuf.ByteString + getInputPathBytes(); /** - * - * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; - * * @return The outputPath. */ java.lang.String getOutputPath(); /** - * - * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; - * * @return The bytes for outputPath. */ - com.google.protobuf.ByteString getOutputPathBytes(); + com.google.protobuf.ByteString + getOutputPathBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java similarity index 65% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java index 521725d..d5e6cd5 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * The translation task config to capture necessary settings for a translation
  * task and subtask.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails}
  */
-public final class TranslationTaskDetails extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TranslationTaskDetails extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
     TranslationTaskDetailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TranslationTaskDetails.newBuilder() to construct.
   private TranslationTaskDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TranslationTaskDetails() {
     inputPath_ = "";
     outputPath_ = "";
@@ -49,15 +31,16 @@ private TranslationTaskDetails() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TranslationTaskDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TranslationTaskDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,154 +60,119 @@ private TranslationTaskDetails(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              inputPath_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            inputPath_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              outputPath_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            outputPath_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            schemaPath_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              schemaPath_ = s;
-              break;
+            fileEncoding_ = rawValue;
+            break;
+          }
+          case 42: {
+            com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder subBuilder = null;
+            if (identifierSettings_ != null) {
+              subBuilder = identifierSettings_.toBuilder();
+            }
+            identifierSettings_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(identifierSettings_);
+              identifierSettings_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
 
-              fileEncoding_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              specialTokenMap_ = com.google.protobuf.MapField.newMapField(
+                  SpecialTokenMapDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 42:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder subBuilder =
-                  null;
-              if (identifierSettings_ != null) {
-                subBuilder = identifierSettings_.toBuilder();
-              }
-              identifierSettings_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(identifierSettings_);
-                identifierSettings_ = subBuilder.buildPartial();
-              }
-
-              break;
+            com.google.protobuf.MapEntry
+            specialTokenMap__ = input.readMessage(
+                SpecialTokenMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            specialTokenMap_.getMutableMap().put(
+                specialTokenMap__.getKey(), specialTokenMap__.getValue());
+            break;
+          }
+          case 58: {
+            com.google.cloud.bigquery.migration.v2alpha.Filter.Builder subBuilder = null;
+            if (filter_ != null) {
+              subBuilder = filter_.toBuilder();
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                specialTokenMap_ =
-                    com.google.protobuf.MapField.newMapField(
-                        SpecialTokenMapDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry specialTokenMap__ =
-                  input.readMessage(
-                      SpecialTokenMapDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              specialTokenMap_
-                  .getMutableMap()
-                  .put(specialTokenMap__.getKey(), specialTokenMap__.getValue());
-              break;
+            filter_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.Filter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(filter_);
+              filter_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.Filter.Builder subBuilder = null;
-              if (filter_ != null) {
-                subBuilder = filter_.toBuilder();
-              }
-              filter_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.Filter.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(filter_);
-                filter_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 82: {
+            com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder subBuilder = null;
+            if (languageOptionsCase_ == 10) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_).toBuilder();
             }
-          case 82:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder subBuilder = null;
-              if (languageOptionsCase_ == 10) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_)
-                        .toBuilder();
-              }
-              languageOptions_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_);
-                languageOptions_ = subBuilder.buildPartial();
-              }
-              languageOptionsCase_ = 10;
-              break;
+            languageOptions_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_);
+              languageOptions_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder subBuilder = null;
-              if (languageOptionsCase_ == 11) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_)
-                        .toBuilder();
-              }
-              languageOptions_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.BteqOptions.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_);
-                languageOptions_ = subBuilder.buildPartial();
-              }
-              languageOptionsCase_ = 11;
-              break;
+            languageOptionsCase_ = 10;
+            break;
+          }
+          case 90: {
+            com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder subBuilder = null;
+            if (languageOptionsCase_ == 11) {
+              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_).toBuilder();
             }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                filePaths_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              filePaths_.add(
-                  input.readMessage(
-                      com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.parser(),
-                      extensionRegistry));
-              break;
+            languageOptions_ =
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.BteqOptions.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_);
+              languageOptions_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              translationExceptionTable_ = s;
-              break;
+            languageOptionsCase_ = 11;
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              filePaths_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            filePaths_.add(
+                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.parser(), extensionRegistry));
+            break;
+          }
+          case 106: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            translationExceptionTable_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -232,7 +180,8 @@ private TranslationTaskDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         filePaths_ = java.util.Collections.unmodifiableList(filePaths_);
@@ -241,47 +190,41 @@ private TranslationTaskDetails(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 6:
         return internalGetSpecialTokenMap();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
-        .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class,
-            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The file encoding types.
    * 
* - * Protobuf enum {@code - * google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding} + * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding} */ - public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { + public enum FileEncoding + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * File encoding setting is not specified.
      * 
@@ -290,8 +233,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ FILE_ENCODING_UNSPECIFIED(0), /** - * - * *
      * File encoding is UTF_8.
      * 
@@ -300,8 +241,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ UTF_8(1), /** - * - * *
      * File encoding is ISO_8859_1.
      * 
@@ -310,8 +249,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ ISO_8859_1(2), /** - * - * *
      * File encoding is US_ASCII.
      * 
@@ -320,8 +257,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ US_ASCII(3), /** - * - * *
      * File encoding is UTF_16.
      * 
@@ -330,8 +265,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ UTF_16(4), /** - * - * *
      * File encoding is UTF_16LE.
      * 
@@ -340,8 +273,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ UTF_16LE(5), /** - * - * *
      * File encoding is UTF_16BE.
      * 
@@ -353,8 +284,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * File encoding setting is not specified.
      * 
@@ -363,8 +292,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILE_ENCODING_UNSPECIFIED_VALUE = 0; /** - * - * *
      * File encoding is UTF_8.
      * 
@@ -373,8 +300,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTF_8_VALUE = 1; /** - * - * *
      * File encoding is ISO_8859_1.
      * 
@@ -383,8 +308,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ISO_8859_1_VALUE = 2; /** - * - * *
      * File encoding is US_ASCII.
      * 
@@ -393,8 +316,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_ASCII_VALUE = 3; /** - * - * *
      * File encoding is UTF_16.
      * 
@@ -403,8 +324,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTF_16_VALUE = 4; /** - * - * *
      * File encoding is UTF_16LE.
      * 
@@ -413,8 +332,6 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTF_16LE_VALUE = 5; /** - * - * *
      * File encoding is UTF_16BE.
      * 
@@ -423,6 +340,7 @@ public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTF_16BE_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -447,59 +365,53 @@ public static FileEncoding valueOf(int value) { */ public static FileEncoding forNumber(int value) { switch (value) { - case 0: - return FILE_ENCODING_UNSPECIFIED; - case 1: - return UTF_8; - case 2: - return ISO_8859_1; - case 3: - return US_ASCII; - case 4: - return UTF_16; - case 5: - return UTF_16LE; - case 6: - return UTF_16BE; - default: - return null; + case 0: return FILE_ENCODING_UNSPECIFIED; + case 1: return UTF_8; + case 2: return ISO_8859_1; + case 3: return US_ASCII; + case 4: return UTF_16; + case 5: return UTF_16LE; + case 6: return UTF_16BE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + FileEncoding> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FileEncoding findValueByNumber(int number) { + return FileEncoding.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FileEncoding findValueByNumber(int number) { - return FileEncoding.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor().getEnumTypes().get(0); } private static final FileEncoding[] VALUES = values(); - public static FileEncoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FileEncoding valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -517,18 +429,15 @@ private FileEncoding(int value) { } /** - * - * *
    * The special token data type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType} */ - public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { + public enum TokenType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Token type is not specified.
      * 
@@ -537,8 +446,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ TOKEN_TYPE_UNSPECIFIED(0), /** - * - * *
      * Token type as string.
      * 
@@ -547,8 +454,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * Token type as integer.
      * 
@@ -557,8 +462,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ INT64(2), /** - * - * *
      * Token type as numeric.
      * 
@@ -567,8 +470,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ NUMERIC(3), /** - * - * *
      * Token type as boolean.
      * 
@@ -577,8 +478,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(4), /** - * - * *
      * Token type as float.
      * 
@@ -587,8 +486,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ FLOAT64(5), /** - * - * *
      * Token type as date.
      * 
@@ -597,8 +494,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ DATE(6), /** - * - * *
      * Token type as timestamp.
      * 
@@ -610,8 +505,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Token type is not specified.
      * 
@@ -620,8 +513,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOKEN_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Token type as string.
      * 
@@ -630,8 +521,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * Token type as integer.
      * 
@@ -640,8 +529,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 2; /** - * - * *
      * Token type as numeric.
      * 
@@ -650,8 +537,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NUMERIC_VALUE = 3; /** - * - * *
      * Token type as boolean.
      * 
@@ -660,8 +545,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 4; /** - * - * *
      * Token type as float.
      * 
@@ -670,8 +553,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLOAT64_VALUE = 5; /** - * - * *
      * Token type as date.
      * 
@@ -680,8 +561,6 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 6; /** - * - * *
      * Token type as timestamp.
      * 
@@ -690,6 +569,7 @@ public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -714,61 +594,54 @@ public static TokenType valueOf(int value) { */ public static TokenType forNumber(int value) { switch (value) { - case 0: - return TOKEN_TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INT64; - case 3: - return NUMERIC; - case 4: - return BOOL; - case 5: - return FLOAT64; - case 6: - return DATE; - case 7: - return TIMESTAMP; - default: - return null; + case 0: return TOKEN_TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INT64; + case 3: return NUMERIC; + case 4: return BOOL; + case 5: return FLOAT64; + case 6: return DATE; + case 7: return TIMESTAMP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TokenType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TokenType findValueByNumber(int number) { + return TokenType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TokenType findValueByNumber(int number) { - return TokenType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor().getEnumTypes().get(1); } private static final TokenType[] VALUES = values(); - public static TokenType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TokenType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -787,16 +660,13 @@ private TokenType(int value) { private int languageOptionsCase_ = 0; private java.lang.Object languageOptions_; - public enum LanguageOptionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TERADATA_OPTIONS(10), BTEQ_OPTIONS(11), LANGUAGEOPTIONS_NOT_SET(0); private final int value; - private LanguageOptionsCase(int value) { this.value = value; } @@ -812,36 +682,30 @@ public static LanguageOptionsCase valueOf(int value) { public static LanguageOptionsCase forNumber(int value) { switch (value) { - case 10: - return TERADATA_OPTIONS; - case 11: - return BTEQ_OPTIONS; - case 0: - return LANGUAGEOPTIONS_NOT_SET; - default: - return null; + case 10: return TERADATA_OPTIONS; + case 11: return BTEQ_OPTIONS; + case 0: return LANGUAGEOPTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public LanguageOptionsCase getLanguageOptionsCase() { - return LanguageOptionsCase.forNumber(languageOptionsCase_); + public LanguageOptionsCase + getLanguageOptionsCase() { + return LanguageOptionsCase.forNumber( + languageOptionsCase_); } public static final int TERADATA_OPTIONS_FIELD_NUMBER = 10; /** - * - * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; - * * @return Whether the teradataOptions field is set. */ @java.lang.Override @@ -849,26 +713,21 @@ public boolean hasTeradataOptions() { return languageOptionsCase_ == 10; } /** - * - * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; - * * @return The teradataOptions. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOptions() { if (languageOptionsCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); } /** - * - * *
    * The Teradata SQL specific settings for the translation task.
    * 
@@ -876,24 +735,20 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOp * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder - getTeradataOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getTeradataOptionsOrBuilder() { if (languageOptionsCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); } public static final int BTEQ_OPTIONS_FIELD_NUMBER = 11; /** - * - * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; - * * @return Whether the bteqOptions field is set. */ @java.lang.Override @@ -901,26 +756,21 @@ public boolean hasBteqOptions() { return languageOptionsCase_ == 11; } /** - * - * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; - * * @return The bteqOptions. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() { if (languageOptionsCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); } /** - * - * *
    * The BTEQ specific settings for the translation task.
    * 
@@ -928,10 +778,9 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder - getBteqOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqOptionsOrBuilder() { if (languageOptionsCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); } @@ -939,14 +788,11 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() public static final int INPUT_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object inputPath_; /** - * - * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; - * * @return The inputPath. */ @java.lang.Override @@ -955,29 +801,29 @@ public java.lang.String getInputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; } } /** - * - * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; - * * @return The bytes for inputPath. */ @java.lang.Override - public com.google.protobuf.ByteString getInputPathBytes() { + public com.google.protobuf.ByteString + getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputPath_ = b; return b; } else { @@ -988,14 +834,11 @@ public com.google.protobuf.ByteString getInputPathBytes() { public static final int OUTPUT_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object outputPath_; /** - * - * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; - * * @return The outputPath. */ @java.lang.Override @@ -1004,29 +847,29 @@ public java.lang.String getOutputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; } } /** - * - * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; - * * @return The bytes for outputPath. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputPathBytes() { + public com.google.protobuf.ByteString + getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputPath_ = b; return b; } else { @@ -1035,96 +878,74 @@ public com.google.protobuf.ByteString getOutputPathBytes() { } public static final int FILE_PATHS_FIELD_NUMBER = 12; - private java.util.List - filePaths_; + private java.util.List filePaths_; /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ @java.lang.Override - public java.util.List - getFilePathsList() { + public java.util.List getFilePathsList() { return filePaths_; } /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> + public java.util.List getFilePathsOrBuilderList() { return filePaths_; } /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ @java.lang.Override public int getFilePathsCount() { return filePaths_.size(); } /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths(int index) { return filePaths_.get(index); } /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder - getFilePathsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getFilePathsOrBuilder( + int index) { return filePaths_.get(index); } public static final int SCHEMA_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object schemaPath_; /** - * - * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; - * * @return The schemaPath. */ @java.lang.Override @@ -1133,30 +954,30 @@ public java.lang.String getSchemaPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaPath_ = s; return s; } } /** - * - * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; - * * @return The bytes for schemaPath. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaPathBytes() { + public com.google.protobuf.ByteString + getSchemaPathBytes() { java.lang.Object ref = schemaPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schemaPath_ = b; return b; } else { @@ -1167,60 +988,38 @@ public com.google.protobuf.ByteString getSchemaPathBytes() { public static final int FILE_ENCODING_FIELD_NUMBER = 4; private int fileEncoding_; /** - * - * *
    * The file encoding type.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return The enum numeric value on the wire for fileEncoding. */ - @java.lang.Override - public int getFileEncodingValue() { + @java.lang.Override public int getFileEncodingValue() { return fileEncoding_; } /** - * - * *
    * The file encoding type.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return The fileEncoding. */ - @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding - getFileEncoding() { + @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding getFileEncoding() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf( - fileEncoding_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf(fileEncoding_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.UNRECOGNIZED : result; } public static final int IDENTIFIER_SETTINGS_FIELD_NUMBER = 5; private com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifierSettings_; /** - * - * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; * @return Whether the identifierSettings field is set. */ @java.lang.Override @@ -1228,91 +1027,69 @@ public boolean hasIdentifierSettings() { return identifierSettings_ != null; } /** - * - * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; * @return The identifierSettings. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getIdentifierSettings() { - return identifierSettings_ == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() - : identifierSettings_; + return identifierSettings_ == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() : identifierSettings_; } /** - * - * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder - getIdentifierSettingsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder() { return getIdentifierSettings(); } public static final int SPECIAL_TOKEN_MAP_FIELD_NUMBER = 6; - private static final class SpecialTokenMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.ENUM, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - .TOKEN_TYPE_UNSPECIFIED - .getNumber()); - } - - private com.google.protobuf.MapField specialTokenMap_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.ENUM, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType.TOKEN_TYPE_UNSPECIFIED.getNumber()); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> specialTokenMap_; private com.google.protobuf.MapField - internalGetSpecialTokenMap() { + internalGetSpecialTokenMap() { if (specialTokenMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SpecialTokenMapDefaultEntryHolder.defaultEntry); } return specialTokenMap_; } - - private static final com.google.protobuf.Internal.MapAdapter.Converter< - java.lang.Integer, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - specialTokenMapValueConverter = + private static final + com.google.protobuf.Internal.MapAdapter.Converter< + java.lang.Integer, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> specialTokenMapValueConverter = com.google.protobuf.Internal.MapAdapter.newEnumConverter( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - .internalGetValueMap(), - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - .UNRECOGNIZED); - - private static final java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - internalGetAdaptedSpecialTokenMapMap(java.util.Map map) { + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType.internalGetValueMap(), + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType.UNRECOGNIZED); + private static final java.util.Map + internalGetAdaptedSpecialTokenMapMap( + java.util.Map map) { return new com.google.protobuf.Internal.MapAdapter< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType, - java.lang.Integer>(map, specialTokenMapValueConverter); + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType, java.lang.Integer>( + map, specialTokenMapValueConverter); } public int getSpecialTokenMapCount() { return internalGetSpecialTokenMap().getMap().size(); } /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1322,29 +1099,25 @@ public int getSpecialTokenMapCount() {
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ + @java.lang.Override - public boolean containsSpecialTokenMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsSpecialTokenMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetSpecialTokenMap().getMap().containsKey(key); } - /** Use {@link #getSpecialTokenMapMap()} instead. */ + /** + * Use {@link #getSpecialTokenMapMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getSpecialTokenMap() { + public java.util.Map + getSpecialTokenMap() { return getSpecialTokenMapMap(); } /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1354,20 +1127,15 @@ public boolean containsSpecialTokenMap(java.lang.String key) {
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getSpecialTokenMapMap() { - return internalGetAdaptedSpecialTokenMapMap(internalGetSpecialTokenMap().getMap()); - } + + public java.util.Map + getSpecialTokenMapMap() { + return internalGetAdaptedSpecialTokenMapMap( + internalGetSpecialTokenMap().getMap());} /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1377,28 +1145,23 @@ public boolean containsSpecialTokenMap(java.lang.String key) {
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public /* nullable */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - getSpecialTokenMapOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSpecialTokenMap().getMap(); + + public /* nullable */ +com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSpecialTokenMap().getMap(); return map.containsKey(key) - ? specialTokenMapValueConverter.doForward(map.get(key)) - : defaultValue; + ? specialTokenMapValueConverter.doForward(map.get(key)) + : defaultValue; } /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1408,31 +1171,30 @@ public boolean containsSpecialTokenMap(java.lang.String key) {
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - getSpecialTokenMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSpecialTokenMap().getMap(); + + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return specialTokenMapValueConverter.doForward(map.get(key)); } - /** Use {@link #getSpecialTokenMapValueMap()} instead. */ + /** + * Use {@link #getSpecialTokenMapValueMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getSpecialTokenMapValue() { + public java.util.Map + getSpecialTokenMapValue() { return getSpecialTokenMapValueMap(); } /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1442,17 +1204,15 @@ public java.util.Map getSpecialTokenMapValu
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public java.util.Map getSpecialTokenMapValueMap() { + + public java.util.Map + getSpecialTokenMapValueMap() { return internalGetSpecialTokenMap().getMap(); } /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1462,21 +1222,19 @@ public java.util.Map getSpecialTokenMapValu
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSpecialTokenMap().getMap(); + + public int getSpecialTokenMapValueOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSpecialTokenMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1486,16 +1244,15 @@ public int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultVal
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public int getSpecialTokenMapValueOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSpecialTokenMap().getMap(); + + public int getSpecialTokenMapValueOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1505,14 +1262,11 @@ public int getSpecialTokenMapValueOrThrow(java.lang.String key) { public static final int FILTER_FIELD_NUMBER = 7; private com.google.cloud.bigquery.migration.v2alpha.Filter filter_; /** - * - * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -1520,25 +1274,18 @@ public boolean hasFilter() { return filter_ != null; } /** - * - * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; - * * @return The filter. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Filter getFilter() { - return filter_ == null - ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() : filter_; } /** - * - * *
    * The filter applied to translation details.
    * 
@@ -1553,8 +1300,6 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu public static final int TRANSLATION_EXCEPTION_TABLE_FIELD_NUMBER = 13; private volatile java.lang.Object translationExceptionTable_; /** - * - * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -1563,7 +1308,6 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu
    * 
* * string translation_exception_table = 13; - * * @return The translationExceptionTable. */ @java.lang.Override @@ -1572,15 +1316,14 @@ public java.lang.String getTranslationExceptionTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationExceptionTable_ = s; return s; } } /** - * - * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -1589,15 +1332,16 @@ public java.lang.String getTranslationExceptionTable() {
    * 
* * string translation_exception_table = 13; - * * @return The bytes for translationExceptionTable. */ @java.lang.Override - public com.google.protobuf.ByteString getTranslationExceptionTableBytes() { + public com.google.protobuf.ByteString + getTranslationExceptionTableBytes() { java.lang.Object ref = translationExceptionTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); translationExceptionTable_ = b; return b; } else { @@ -1606,7 +1350,6 @@ public com.google.protobuf.ByteString getTranslationExceptionTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1618,7 +1361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputPath_); } @@ -1628,27 +1372,26 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaPath_); } - if (fileEncoding_ - != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding - .FILE_ENCODING_UNSPECIFIED - .getNumber()) { + if (fileEncoding_ != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.FILE_ENCODING_UNSPECIFIED.getNumber()) { output.writeEnum(4, fileEncoding_); } if (identifierSettings_ != null) { output.writeMessage(5, getIdentifierSettings()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetSpecialTokenMap(), SpecialTokenMapDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSpecialTokenMap(), + SpecialTokenMapDefaultEntryHolder.defaultEntry, + 6); if (filter_ != null) { output.writeMessage(7, getFilter()); } if (languageOptionsCase_ == 10) { - output.writeMessage( - 10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); + output.writeMessage(10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); } if (languageOptionsCase_ == 11) { - output.writeMessage( - 11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); + output.writeMessage(11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); } for (int i = 0; i < filePaths_.size(); i++) { output.writeMessage(12, filePaths_.get(i)); @@ -1674,44 +1417,42 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaPath_); } - if (fileEncoding_ - != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding - .FILE_ENCODING_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, fileEncoding_); + if (fileEncoding_ != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.FILE_ENCODING_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, fileEncoding_); } if (identifierSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIdentifierSettings()); - } - for (java.util.Map.Entry entry : - internalGetSpecialTokenMap().getMap().entrySet()) { - com.google.protobuf.MapEntry specialTokenMap__ = - SpecialTokenMapDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, specialTokenMap__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getIdentifierSettings()); + } + for (java.util.Map.Entry entry + : internalGetSpecialTokenMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + specialTokenMap__ = SpecialTokenMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, specialTokenMap__); } if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getFilter()); } if (languageOptionsCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); } if (languageOptionsCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); } for (int i = 0; i < filePaths_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, filePaths_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, filePaths_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(translationExceptionTable_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(13, translationExceptionTable_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, translationExceptionTable_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1721,36 +1462,45 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other = - (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) obj; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other = (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) obj; - if (!getInputPath().equals(other.getInputPath())) return false; - if (!getOutputPath().equals(other.getOutputPath())) return false; - if (!getFilePathsList().equals(other.getFilePathsList())) return false; - if (!getSchemaPath().equals(other.getSchemaPath())) return false; + if (!getInputPath() + .equals(other.getInputPath())) return false; + if (!getOutputPath() + .equals(other.getOutputPath())) return false; + if (!getFilePathsList() + .equals(other.getFilePathsList())) return false; + if (!getSchemaPath() + .equals(other.getSchemaPath())) return false; if (fileEncoding_ != other.fileEncoding_) return false; if (hasIdentifierSettings() != other.hasIdentifierSettings()) return false; if (hasIdentifierSettings()) { - if (!getIdentifierSettings().equals(other.getIdentifierSettings())) return false; + if (!getIdentifierSettings() + .equals(other.getIdentifierSettings())) return false; } - if (!internalGetSpecialTokenMap().equals(other.internalGetSpecialTokenMap())) return false; + if (!internalGetSpecialTokenMap().equals( + other.internalGetSpecialTokenMap())) return false; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; } - if (!getTranslationExceptionTable().equals(other.getTranslationExceptionTable())) return false; + if (!getTranslationExceptionTable() + .equals(other.getTranslationExceptionTable())) return false; if (!getLanguageOptionsCase().equals(other.getLanguageOptionsCase())) return false; switch (languageOptionsCase_) { case 10: - if (!getTeradataOptions().equals(other.getTeradataOptions())) return false; + if (!getTeradataOptions() + .equals(other.getTeradataOptions())) return false; break; case 11: - if (!getBteqOptions().equals(other.getBteqOptions())) return false; + if (!getBteqOptions() + .equals(other.getBteqOptions())) return false; break; case 0: default: @@ -1810,105 +1560,96 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The translation task config to capture necessary settings for a translation
    * task and subtask.
@@ -1916,62 +1657,61 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
       com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 6:
           return internalGetSpecialTokenMap();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 6:
           return internalGetMutableSpecialTokenMap();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class,
-              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder()
+    // Construct using com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getFilePathsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2010,16 +1750,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
-          .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -2033,8 +1771,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails build(
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails result =
-          new com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails(this);
+      com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails result = new com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails(this);
       int from_bitField0_ = bitField0_;
       if (languageOptionsCase_ == 10) {
         if (teradataOptionsBuilder_ == null) {
@@ -2085,51 +1822,46 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other) {
-      if (other
-          == com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other) {
+      if (other == com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance()) return this;
       if (!other.getInputPath().isEmpty()) {
         inputPath_ = other.inputPath_;
         onChanged();
@@ -2156,10 +1888,9 @@ public Builder mergeFrom(
             filePathsBuilder_ = null;
             filePaths_ = other.filePaths_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            filePathsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFilePathsFieldBuilder()
-                    : null;
+            filePathsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFilePathsFieldBuilder() : null;
           } else {
             filePathsBuilder_.addAllMessages(other.filePaths_);
           }
@@ -2175,7 +1906,8 @@ public Builder mergeFrom(
       if (other.hasIdentifierSettings()) {
         mergeIdentifierSettings(other.getIdentifierSettings());
       }
-      internalGetMutableSpecialTokenMap().mergeFrom(other.internalGetSpecialTokenMap());
+      internalGetMutableSpecialTokenMap().mergeFrom(
+          other.internalGetSpecialTokenMap());
       if (other.hasFilter()) {
         mergeFilter(other.getFilter());
       }
@@ -2184,20 +1916,17 @@ public Builder mergeFrom(
         onChanged();
       }
       switch (other.getLanguageOptionsCase()) {
-        case TERADATA_OPTIONS:
-          {
-            mergeTeradataOptions(other.getTeradataOptions());
-            break;
-          }
-        case BTEQ_OPTIONS:
-          {
-            mergeBteqOptions(other.getBteqOptions());
-            break;
-          }
-        case LANGUAGEOPTIONS_NOT_SET:
-          {
-            break;
-          }
+        case TERADATA_OPTIONS: {
+          mergeTeradataOptions(other.getTeradataOptions());
+          break;
+        }
+        case BTEQ_OPTIONS: {
+          mergeBteqOptions(other.getBteqOptions());
+          break;
+        }
+        case LANGUAGEOPTIONS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2218,9 +1947,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2229,12 +1956,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int languageOptionsCase_ = 0;
     private java.lang.Object languageOptions_;
-
-    public LanguageOptionsCase getLanguageOptionsCase() {
-      return LanguageOptionsCase.forNumber(languageOptionsCase_);
+    public LanguageOptionsCase
+        getLanguageOptionsCase() {
+      return LanguageOptionsCase.forNumber(
+          languageOptionsCase_);
     }
 
     public Builder clearLanguageOptions() {
@@ -2247,19 +1974,13 @@ public Builder clearLanguageOptions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.TeradataOptions,
-            com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder,
-            com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder>
-        teradataOptionsBuilder_;
+        com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder> teradataOptionsBuilder_;
     /**
-     *
-     *
      * 
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; - * * @return Whether the teradataOptions field is set. */ @java.lang.Override @@ -2267,14 +1988,11 @@ public boolean hasTeradataOptions() { return languageOptionsCase_ == 10; } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; - * * @return The teradataOptions. */ @java.lang.Override @@ -2292,16 +2010,13 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOp } } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - public Builder setTeradataOptions( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { + public Builder setTeradataOptions(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { if (teradataOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2315,8 +2030,6 @@ public Builder setTeradataOptions( return this; } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2335,27 +2048,18 @@ public Builder setTeradataOptions( return this; } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - public Builder mergeTeradataOptions( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { + public Builder mergeTeradataOptions(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { if (teradataOptionsBuilder_ == null) { - if (languageOptionsCase_ == 10 - && languageOptions_ - != com.google.cloud.bigquery.migration.v2alpha.TeradataOptions - .getDefaultInstance()) { - languageOptions_ = - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.newBuilder( - (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) - languageOptions_) - .mergeFrom(value) - .buildPartial(); + if (languageOptionsCase_ == 10 && + languageOptions_ != com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance()) { + languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.newBuilder((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_) + .mergeFrom(value).buildPartial(); } else { languageOptions_ = value; } @@ -2371,8 +2075,6 @@ public Builder mergeTeradataOptions( return this; } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2396,21 +2098,16 @@ public Builder clearTeradataOptions() { return this; } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder - getTeradataOptionsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder getTeradataOptionsBuilder() { return getTeradataOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2418,8 +2115,7 @@ public Builder clearTeradataOptions() { * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder - getTeradataOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getTeradataOptionsOrBuilder() { if ((languageOptionsCase_ == 10) && (teradataOptionsBuilder_ != null)) { return teradataOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2430,8 +2126,6 @@ public Builder clearTeradataOptions() { } } /** - * - * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2439,45 +2133,32 @@ public Builder clearTeradataOptions() { * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, - com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder> getTeradataOptionsFieldBuilder() { if (teradataOptionsBuilder_ == null) { if (!(languageOptionsCase_ == 10)) { - languageOptions_ = - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); + languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); } - teradataOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, - com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder>( + teradataOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_, getParentForChildren(), isClean()); languageOptions_ = null; } languageOptionsCase_ = 10; - onChanged(); - ; + onChanged();; return teradataOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.BteqOptions, - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, - com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> - bteqOptionsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.BteqOptions, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> bteqOptionsBuilder_; /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; - * * @return Whether the bteqOptions field is set. */ @java.lang.Override @@ -2485,14 +2166,11 @@ public boolean hasBteqOptions() { return languageOptionsCase_ == 11; } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; - * * @return The bteqOptions. */ @java.lang.Override @@ -2510,8 +2188,6 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() } } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2532,8 +2208,6 @@ public Builder setBteqOptions(com.google.cloud.bigquery.migration.v2alpha.BteqOp return this; } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2552,8 +2226,6 @@ public Builder setBteqOptions( return this; } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2562,14 +2234,10 @@ public Builder setBteqOptions( */ public Builder mergeBteqOptions(com.google.cloud.bigquery.migration.v2alpha.BteqOptions value) { if (bteqOptionsBuilder_ == null) { - if (languageOptionsCase_ == 11 - && languageOptions_ - != com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) { - languageOptions_ = - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.newBuilder( - (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_) - .mergeFrom(value) - .buildPartial(); + if (languageOptionsCase_ == 11 && + languageOptions_ != com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) { + languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.BteqOptions.newBuilder((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_) + .mergeFrom(value).buildPartial(); } else { languageOptions_ = value; } @@ -2585,8 +2253,6 @@ public Builder mergeBteqOptions(com.google.cloud.bigquery.migration.v2alpha.Bteq return this; } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2610,8 +2276,6 @@ public Builder clearBteqOptions() { return this; } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2622,8 +2286,6 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder getBteqOp return getBteqOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2631,8 +2293,7 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder getBteqOp * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder - getBteqOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqOptionsOrBuilder() { if ((languageOptionsCase_ == 11) && (bteqOptionsBuilder_ != null)) { return bteqOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2643,8 +2304,6 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder getBteqOp } } /** - * - * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2652,47 +2311,38 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder getBteqOp * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.BteqOptions, - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, - com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.BteqOptions, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> getBteqOptionsFieldBuilder() { if (bteqOptionsBuilder_ == null) { if (!(languageOptionsCase_ == 11)) { - languageOptions_ = - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); + languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); } - bteqOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.BteqOptions, - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, - com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder>( + bteqOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.BteqOptions, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_, getParentForChildren(), isClean()); languageOptions_ = null; } languageOptionsCase_ = 11; - onChanged(); - ; + onChanged();; return bteqOptionsBuilder_; } private java.lang.Object inputPath_ = ""; /** - * - * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; - * * @return The inputPath. */ public java.lang.String getInputPath() { java.lang.Object ref = inputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; @@ -2701,21 +2351,20 @@ public java.lang.String getInputPath() { } } /** - * - * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; - * * @return The bytes for inputPath. */ - public com.google.protobuf.ByteString getInputPathBytes() { + public com.google.protobuf.ByteString + getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputPath_ = b; return b; } else { @@ -2723,61 +2372,54 @@ public com.google.protobuf.ByteString getInputPathBytes() { } } /** - * - * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; - * * @param value The inputPath to set. * @return This builder for chaining. */ - public Builder setInputPath(java.lang.String value) { + public Builder setInputPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputPath_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; - * * @return This builder for chaining. */ public Builder clearInputPath() { - + inputPath_ = getDefaultInstance().getInputPath(); onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; - * * @param value The bytes for inputPath to set. * @return This builder for chaining. */ - public Builder setInputPathBytes(com.google.protobuf.ByteString value) { + public Builder setInputPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputPath_ = value; onChanged(); return this; @@ -2785,20 +2427,18 @@ public Builder setInputPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputPath_ = ""; /** - * - * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; - * * @return The outputPath. */ public java.lang.String getOutputPath() { java.lang.Object ref = outputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; @@ -2807,21 +2447,20 @@ public java.lang.String getOutputPath() { } } /** - * - * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; - * * @return The bytes for outputPath. */ - public com.google.protobuf.ByteString getOutputPathBytes() { + public com.google.protobuf.ByteString + getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputPath_ = b; return b; } else { @@ -2829,97 +2468,79 @@ public com.google.protobuf.ByteString getOutputPathBytes() { } } /** - * - * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; - * * @param value The outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPath(java.lang.String value) { + public Builder setOutputPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputPath_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; - * * @return This builder for chaining. */ public Builder clearOutputPath() { - + outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /** - * - * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; - * * @param value The bytes for outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPathBytes(com.google.protobuf.ByteString value) { + public Builder setOutputPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputPath_ = value; onChanged(); return this; } - private java.util.List - filePaths_ = java.util.Collections.emptyList(); - + private java.util.List filePaths_ = + java.util.Collections.emptyList(); private void ensureFilePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filePaths_ = - new java.util.ArrayList< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping>(filePaths_); + filePaths_ = new java.util.ArrayList(filePaths_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> - filePathsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> filePathsBuilder_; /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public java.util.List - getFilePathsList() { + public java.util.List getFilePathsList() { if (filePathsBuilder_ == null) { return java.util.Collections.unmodifiableList(filePaths_); } else { @@ -2927,15 +2548,11 @@ private void ensureFilePathsIsMutable() { } } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public int getFilePathsCount() { if (filePathsBuilder_ == null) { @@ -2945,18 +2562,13 @@ public int getFilePathsCount() { } } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths(int index) { if (filePathsBuilder_ == null) { return filePaths_.get(index); } else { @@ -2964,15 +2576,11 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFil } } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder setFilePaths( int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { @@ -2989,20 +2597,14 @@ public Builder setFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder setFilePaths( - int index, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder - builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder builderForValue) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); filePaths_.set(index, builderForValue.build()); @@ -3013,18 +2615,13 @@ public Builder setFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public Builder addFilePaths( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { + public Builder addFilePaths(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { if (filePathsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3038,15 +2635,11 @@ public Builder addFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder addFilePaths( int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { @@ -3063,19 +2656,14 @@ public Builder addFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder addFilePaths( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder - builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder builderForValue) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); filePaths_.add(builderForValue.build()); @@ -3086,20 +2674,14 @@ public Builder addFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder addFilePaths( - int index, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder - builderForValue) { + int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder builderForValue) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); filePaths_.add(index, builderForValue.build()); @@ -3110,23 +2692,18 @@ public Builder addFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder addAllFilePaths( - java.lang.Iterable< - ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping> - values) { + java.lang.Iterable values) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filePaths_); onChanged(); } else { filePathsBuilder_.addAllMessages(values); @@ -3134,15 +2711,11 @@ public Builder addAllFilePaths( return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder clearFilePaths() { if (filePathsBuilder_ == null) { @@ -3155,15 +2728,11 @@ public Builder clearFilePaths() { return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ public Builder removeFilePaths(int index) { if (filePathsBuilder_ == null) { @@ -3176,53 +2745,39 @@ public Builder removeFilePaths(int index) { return this; } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder - getFilePathsBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder getFilePathsBuilder( + int index) { return getFilePathsFieldBuilder().getBuilder(index); } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder - getFilePathsOrBuilder(int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getFilePathsOrBuilder( + int index) { if (filePathsBuilder_ == null) { - return filePaths_.get(index); - } else { + return filePaths_.get(index); } else { return filePathsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> - getFilePathsOrBuilderList() { + public java.util.List + getFilePathsOrBuilderList() { if (filePathsBuilder_ != null) { return filePathsBuilder_.getMessageOrBuilderList(); } else { @@ -3230,71 +2785,49 @@ public Builder removeFilePaths(int index) { } } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder - addFilePathsBuilder() { - return getFilePathsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - .getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder addFilePathsBuilder() { + return getFilePathsFieldBuilder().addBuilder( + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance()); } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder - addFilePathsBuilder(int index) { - return getFilePathsFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping - .getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder addFilePathsBuilder( + int index) { + return getFilePathsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance()); } /** - * - * *
      * Cloud Storage files to be processed for translation.
      * 
* - * - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - public java.util.List< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder> - getFilePathsBuilderList() { + public java.util.List + getFilePathsBuilderList() { return getFilePathsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> getFilePathsFieldBuilder() { if (filePathsBuilder_ == null) { - filePathsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder>( - filePaths_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filePathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder>( + filePaths_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); filePaths_ = null; } return filePathsBuilder_; @@ -3302,21 +2835,19 @@ public Builder removeFilePaths(int index) { private java.lang.Object schemaPath_ = ""; /** - * - * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; - * * @return The schemaPath. */ public java.lang.String getSchemaPath() { java.lang.Object ref = schemaPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaPath_ = s; return s; @@ -3325,22 +2856,21 @@ public java.lang.String getSchemaPath() { } } /** - * - * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; - * * @return The bytes for schemaPath. */ - public com.google.protobuf.ByteString getSchemaPathBytes() { + public com.google.protobuf.ByteString + getSchemaPathBytes() { java.lang.Object ref = schemaPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schemaPath_ = b; return b; } else { @@ -3348,64 +2878,57 @@ public com.google.protobuf.ByteString getSchemaPathBytes() { } } /** - * - * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; - * * @param value The schemaPath to set. * @return This builder for chaining. */ - public Builder setSchemaPath(java.lang.String value) { + public Builder setSchemaPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schemaPath_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; - * * @return This builder for chaining. */ public Builder clearSchemaPath() { - + schemaPath_ = getDefaultInstance().getSchemaPath(); onChanged(); return this; } /** - * - * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; - * * @param value The bytes for schemaPath to set. * @return This builder for chaining. */ - public Builder setSchemaPathBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schemaPath_ = value; onChanged(); return this; @@ -3413,106 +2936,73 @@ public Builder setSchemaPathBytes(com.google.protobuf.ByteString value) { private int fileEncoding_ = 0; /** - * - * *
      * The file encoding type.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return The enum numeric value on the wire for fileEncoding. */ - @java.lang.Override - public int getFileEncodingValue() { + @java.lang.Override public int getFileEncodingValue() { return fileEncoding_; } /** - * - * *
      * The file encoding type.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @param value The enum numeric value on the wire for fileEncoding to set. * @return This builder for chaining. */ public Builder setFileEncodingValue(int value) { - + fileEncoding_ = value; onChanged(); return this; } /** - * - * *
      * The file encoding type.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return The fileEncoding. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding - getFileEncoding() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding getFileEncoding() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf( - fileEncoding_); - return result == null - ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf(fileEncoding_); + return result == null ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.UNRECOGNIZED : result; } /** - * - * *
      * The file encoding type.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @param value The fileEncoding to set. * @return This builder for chaining. */ - public Builder setFileEncoding( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding value) { + public Builder setFileEncoding(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding value) { if (value == null) { throw new NullPointerException(); } - + fileEncoding_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The file encoding type.
      * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return This builder for chaining. */ public Builder clearFileEncoding() { - + fileEncoding_ = 0; onChanged(); return this; @@ -3520,58 +3010,41 @@ public Builder clearFileEncoding() { private com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifierSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> - identifierSettingsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> identifierSettingsBuilder_; /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; * @return Whether the identifierSettings field is set. */ public boolean hasIdentifierSettings() { return identifierSettingsBuilder_ != null || identifierSettings_ != null; } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; * @return The identifierSettings. */ public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getIdentifierSettings() { if (identifierSettingsBuilder_ == null) { - return identifierSettings_ == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() - : identifierSettings_; + return identifierSettings_ == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() : identifierSettings_; } else { return identifierSettingsBuilder_.getMessage(); } } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ - public Builder setIdentifierSettings( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { + public Builder setIdentifierSettings(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { if (identifierSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3585,14 +3058,11 @@ public Builder setIdentifierSettings( return this; } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ public Builder setIdentifierSettings( com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder builderForValue) { @@ -3606,24 +3076,17 @@ public Builder setIdentifierSettings( return this; } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ - public Builder mergeIdentifierSettings( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { + public Builder mergeIdentifierSettings(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { if (identifierSettingsBuilder_ == null) { if (identifierSettings_ != null) { identifierSettings_ = - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.newBuilder( - identifierSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.newBuilder(identifierSettings_).mergeFrom(value).buildPartial(); } else { identifierSettings_ = value; } @@ -3635,14 +3098,11 @@ public Builder mergeIdentifierSettings( return this; } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ public Builder clearIdentifierSettings() { if (identifierSettingsBuilder_ == null) { @@ -3656,87 +3116,69 @@ public Builder clearIdentifierSettings() { return this; } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder - getIdentifierSettingsBuilder() { - + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder getIdentifierSettingsBuilder() { + onChanged(); return getIdentifierSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder - getIdentifierSettingsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder() { if (identifierSettingsBuilder_ != null) { return identifierSettingsBuilder_.getMessageOrBuilder(); } else { - return identifierSettings_ == null - ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() - : identifierSettings_; + return identifierSettings_ == null ? + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() : identifierSettings_; } } /** - * - * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> getIdentifierSettingsFieldBuilder() { if (identifierSettingsBuilder_ == null) { - identifierSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder>( - getIdentifierSettings(), getParentForChildren(), isClean()); + identifierSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder>( + getIdentifierSettings(), + getParentForChildren(), + isClean()); identifierSettings_ = null; } return identifierSettingsBuilder_; } - private com.google.protobuf.MapField specialTokenMap_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> specialTokenMap_; private com.google.protobuf.MapField - internalGetSpecialTokenMap() { + internalGetSpecialTokenMap() { if (specialTokenMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SpecialTokenMapDefaultEntryHolder.defaultEntry); } return specialTokenMap_; } - private com.google.protobuf.MapField - internalGetMutableSpecialTokenMap() { - onChanged(); - ; + internalGetMutableSpecialTokenMap() { + onChanged();; if (specialTokenMap_ == null) { - specialTokenMap_ = - com.google.protobuf.MapField.newMapField( - SpecialTokenMapDefaultEntryHolder.defaultEntry); + specialTokenMap_ = com.google.protobuf.MapField.newMapField( + SpecialTokenMapDefaultEntryHolder.defaultEntry); } if (!specialTokenMap_.isMutable()) { specialTokenMap_ = specialTokenMap_.copy(); @@ -3748,8 +3190,6 @@ public int getSpecialTokenMapCount() { return internalGetSpecialTokenMap().getMap().size(); } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3759,29 +3199,25 @@ public int getSpecialTokenMapCount() {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ + @java.lang.Override - public boolean containsSpecialTokenMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsSpecialTokenMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetSpecialTokenMap().getMap().containsKey(key); } - /** Use {@link #getSpecialTokenMapMap()} instead. */ + /** + * Use {@link #getSpecialTokenMapMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getSpecialTokenMap() { + public java.util.Map + getSpecialTokenMap() { return getSpecialTokenMapMap(); } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3791,20 +3227,15 @@ public boolean containsSpecialTokenMap(java.lang.String key) {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getSpecialTokenMapMap() { - return internalGetAdaptedSpecialTokenMapMap(internalGetSpecialTokenMap().getMap()); - } + + public java.util.Map + getSpecialTokenMapMap() { + return internalGetAdaptedSpecialTokenMapMap( + internalGetSpecialTokenMap().getMap());} /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3814,30 +3245,23 @@ public boolean containsSpecialTokenMap(java.lang.String key) {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public /* nullable */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - .TokenType - getSpecialTokenMapOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public /* nullable */ +com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSpecialTokenMap().getMap(); return map.containsKey(key) - ? specialTokenMapValueConverter.doForward(map.get(key)) - : defaultValue; + ? specialTokenMapValueConverter.doForward(map.get(key)) + : defaultValue; } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3847,16 +3271,13 @@ public boolean containsSpecialTokenMap(java.lang.String key) {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - getSpecialTokenMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { @@ -3864,15 +3285,16 @@ public boolean containsSpecialTokenMap(java.lang.String key) { } return specialTokenMapValueConverter.doForward(map.get(key)); } - /** Use {@link #getSpecialTokenMapValueMap()} instead. */ + /** + * Use {@link #getSpecialTokenMapValueMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getSpecialTokenMapValue() { + public java.util.Map + getSpecialTokenMapValue() { return getSpecialTokenMapValueMap(); } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3882,17 +3304,15 @@ public java.util.Map getSpecialTokenMapValu
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public java.util.Map getSpecialTokenMapValueMap() { + + public java.util.Map + getSpecialTokenMapValueMap() { return internalGetSpecialTokenMap().getMap(); } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3902,22 +3322,19 @@ public java.util.Map getSpecialTokenMapValu
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public int getSpecialTokenMapValueOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSpecialTokenMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3927,15 +3344,13 @@ public int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultVal
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ @java.lang.Override - public int getSpecialTokenMapValueOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public int getSpecialTokenMapValueOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { @@ -3945,12 +3360,11 @@ public int getSpecialTokenMapValueOrThrow(java.lang.String key) { } public Builder clearSpecialTokenMap() { - internalGetMutableSpecialTokenMap().getMutableMap().clear(); + internalGetMutableSpecialTokenMap().getMutableMap() + .clear(); return this; } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3960,29 +3374,26 @@ public Builder clearSpecialTokenMap() {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ - public Builder removeSpecialTokenMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSpecialTokenMap().getMutableMap().remove(key); + + public Builder removeSpecialTokenMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSpecialTokenMap().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getMutableSpecialTokenMap() { + public java.util.Map + getMutableSpecialTokenMap() { return internalGetAdaptedSpecialTokenMapMap( - internalGetMutableSpecialTokenMap().getMutableMap()); + internalGetMutableSpecialTokenMap().getMutableMap()); } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3992,25 +3403,18 @@ public Builder removeSpecialTokenMap(java.lang.String key) {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ public Builder putSpecialTokenMap( java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType value) { - if (key == null) { - throw new NullPointerException("map key"); - } - - internalGetMutableSpecialTokenMap() - .getMutableMap() + if (key == null) { throw new NullPointerException("map key"); } + + internalGetMutableSpecialTokenMap().getMutableMap() .put(key, specialTokenMapValueConverter.doBackward(value)); return this; } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -4020,27 +3424,24 @@ public Builder putSpecialTokenMap(
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ public Builder putAllSpecialTokenMap( - java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - values) { - internalGetAdaptedSpecialTokenMapMap(internalGetMutableSpecialTokenMap().getMutableMap()) - .putAll(values); + java.util.Map values) { + internalGetAdaptedSpecialTokenMapMap( + internalGetMutableSpecialTokenMap().getMutableMap()) + .putAll(values); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableSpecialTokenMapValue() { + public java.util.Map + getMutableSpecialTokenMapValue() { return internalGetMutableSpecialTokenMap().getMutableMap(); } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -4050,21 +3451,18 @@ public java.util.Map getMutableSpecialToken
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ - public Builder putSpecialTokenMapValue(java.lang.String key, int value) { - if (key == null) { - throw new NullPointerException("map key"); - } - - internalGetMutableSpecialTokenMap().getMutableMap().put(key, value); + public Builder putSpecialTokenMapValue( + java.lang.String key, + int value) { + if (key == null) { throw new NullPointerException("map key"); } + + internalGetMutableSpecialTokenMap().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -4074,59 +3472,45 @@ public Builder putSpecialTokenMapValue(java.lang.String key, int value) {
      * how to parse them into proper structure with type information.
      * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ public Builder putAllSpecialTokenMapValue( java.util.Map values) { - internalGetMutableSpecialTokenMap().getMutableMap().putAll(values); + internalGetMutableSpecialTokenMap().getMutableMap() + .putAll(values); return this; } private com.google.cloud.bigquery.migration.v2alpha.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Filter, - com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, - com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> - filterBuilder_; + com.google.cloud.bigquery.migration.v2alpha.Filter, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> filterBuilder_; /** - * - * *
      * The filter applied to translation details.
      * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** - * - * *
      * The filter applied to translation details.
      * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; - * * @return The filter. */ public com.google.cloud.bigquery.migration.v2alpha.Filter getFilter() { if (filterBuilder_ == null) { - return filter_ == null - ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4147,8 +3531,6 @@ public Builder setFilter(com.google.cloud.bigquery.migration.v2alpha.Filter valu return this; } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4167,8 +3549,6 @@ public Builder setFilter( return this; } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4179,9 +3559,7 @@ public Builder mergeFilter(com.google.cloud.bigquery.migration.v2alpha.Filter va if (filterBuilder_ == null) { if (filter_ != null) { filter_ = - com.google.cloud.bigquery.migration.v2alpha.Filter.newBuilder(filter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -4193,8 +3571,6 @@ public Builder mergeFilter(com.google.cloud.bigquery.migration.v2alpha.Filter va return this; } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4213,8 +3589,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4222,13 +3596,11 @@ public Builder clearFilter() { * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; */ public com.google.cloud.bigquery.migration.v2alpha.Filter.Builder getFilterBuilder() { - + onChanged(); return getFilterFieldBuilder().getBuilder(); } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4239,14 +3611,11 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { - return filter_ == null - ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? + com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() : filter_; } } /** - * - * *
      * The filter applied to translation details.
      * 
@@ -4254,17 +3623,14 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Filter, - com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, - com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.Filter, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { - filterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Filter, - com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, - com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder>( - getFilter(), getParentForChildren(), isClean()); + filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.Filter, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder>( + getFilter(), + getParentForChildren(), + isClean()); filter_ = null; } return filterBuilder_; @@ -4272,8 +3638,6 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu private java.lang.Object translationExceptionTable_ = ""; /** - * - * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -4282,13 +3646,13 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu
      * 
* * string translation_exception_table = 13; - * * @return The translationExceptionTable. */ public java.lang.String getTranslationExceptionTable() { java.lang.Object ref = translationExceptionTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationExceptionTable_ = s; return s; @@ -4297,8 +3661,6 @@ public java.lang.String getTranslationExceptionTable() { } } /** - * - * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -4307,14 +3669,15 @@ public java.lang.String getTranslationExceptionTable() {
      * 
* * string translation_exception_table = 13; - * * @return The bytes for translationExceptionTable. */ - public com.google.protobuf.ByteString getTranslationExceptionTableBytes() { + public com.google.protobuf.ByteString + getTranslationExceptionTableBytes() { java.lang.Object ref = translationExceptionTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); translationExceptionTable_ = b; return b; } else { @@ -4322,8 +3685,6 @@ public com.google.protobuf.ByteString getTranslationExceptionTableBytes() { } } /** - * - * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -4332,22 +3693,20 @@ public com.google.protobuf.ByteString getTranslationExceptionTableBytes() {
      * 
* * string translation_exception_table = 13; - * * @param value The translationExceptionTable to set. * @return This builder for chaining. */ - public Builder setTranslationExceptionTable(java.lang.String value) { + public Builder setTranslationExceptionTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + translationExceptionTable_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -4356,18 +3715,15 @@ public Builder setTranslationExceptionTable(java.lang.String value) {
      * 
* * string translation_exception_table = 13; - * * @return This builder for chaining. */ public Builder clearTranslationExceptionTable() { - + translationExceptionTable_ = getDefaultInstance().getTranslationExceptionTable(); onChanged(); return this; } /** - * - * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -4376,23 +3732,23 @@ public Builder clearTranslationExceptionTable() {
      * 
* * string translation_exception_table = 13; - * * @param value The bytes for translationExceptionTable to set. * @return This builder for chaining. */ - public Builder setTranslationExceptionTableBytes(com.google.protobuf.ByteString value) { + public Builder setTranslationExceptionTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + translationExceptionTable_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4402,32 +3758,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) - private static final com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails(); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranslationTaskDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TranslationTaskDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranslationTaskDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TranslationTaskDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4439,8 +3793,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails - getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java index 9dba084..4d5154c 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TranslationTaskDetailsOrBuilder - extends +public interface TranslationTaskDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; - * * @return Whether the teradataOptions field is set. */ boolean hasTeradataOptions(); /** - * - * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; - * * @return The teradataOptions. */ com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOptions(); /** - * - * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder - getTeradataOptionsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getTeradataOptionsOrBuilder(); /** - * - * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; - * * @return Whether the bteqOptions field is set. */ boolean hasBteqOptions(); /** - * - * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; - * * @return The bteqOptions. */ com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions(); /** - * - * *
    * The BTEQ specific settings for the translation task.
    * 
@@ -95,213 +62,158 @@ public interface TranslationTaskDetailsOrBuilder com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqOptionsOrBuilder(); /** - * - * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; - * * @return The inputPath. */ java.lang.String getInputPath(); /** - * - * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; - * * @return The bytes for inputPath. */ - com.google.protobuf.ByteString getInputPathBytes(); + com.google.protobuf.ByteString + getInputPathBytes(); /** - * - * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; - * * @return The outputPath. */ java.lang.String getOutputPath(); /** - * - * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; - * * @return The bytes for outputPath. */ - com.google.protobuf.ByteString getOutputPathBytes(); + com.google.protobuf.ByteString + getOutputPathBytes(); /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - java.util.List + java.util.List getFilePathsList(); /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths(int index); /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ int getFilePathsCount(); /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ - java.util.List< - ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> + java.util.List getFilePathsOrBuilderList(); /** - * - * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; - * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; */ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getFilePathsOrBuilder( int index); /** - * - * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; - * * @return The schemaPath. */ java.lang.String getSchemaPath(); /** - * - * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; - * * @return The bytes for schemaPath. */ - com.google.protobuf.ByteString getSchemaPathBytes(); + com.google.protobuf.ByteString + getSchemaPathBytes(); /** - * - * *
    * The file encoding type.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return The enum numeric value on the wire for fileEncoding. */ int getFileEncodingValue(); /** - * - * *
    * The file encoding type.
    * 
* - * - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; - * - * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; * @return The fileEncoding. */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding getFileEncoding(); /** - * - * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; * @return Whether the identifierSettings field is set. */ boolean hasIdentifierSettings(); /** - * - * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; * @return The identifierSettings. */ com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getIdentifierSettings(); /** - * - * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; - * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; */ - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder - getIdentifierSettingsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder(); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -311,14 +223,10 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ int getSpecialTokenMapCount(); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -328,20 +236,17 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + */ + boolean containsSpecialTokenMap( + java.lang.String key); + /** + * Use {@link #getSpecialTokenMapMap()} instead. */ - boolean containsSpecialTokenMap(java.lang.String key); - /** Use {@link #getSpecialTokenMapMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getSpecialTokenMap(); + java.util.Map + getSpecialTokenMap(); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -351,17 +256,11 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ - java.util.Map< - java.lang.String, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> - getSpecialTokenMapMap(); + java.util.Map + getSpecialTokenMapMap(); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -371,20 +270,14 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ /* nullable */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - getSpecialTokenMapOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - defaultValue); +com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType defaultValue); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -394,18 +287,17 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + */ + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow( + java.lang.String key); + /** + * Use {@link #getSpecialTokenMapValueMap()} instead. */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType - getSpecialTokenMapOrThrow(java.lang.String key); - /** Use {@link #getSpecialTokenMapValueMap()} instead. */ @java.lang.Deprecated - java.util.Map getSpecialTokenMapValue(); + java.util.Map + getSpecialTokenMapValue(); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -415,14 +307,11 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ - java.util.Map getSpecialTokenMapValueMap(); + java.util.Map + getSpecialTokenMapValueMap(); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -432,14 +321,13 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ - int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultValue); + + int getSpecialTokenMapValueOrDefault( + java.lang.String key, + int defaultValue); /** - * - * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -449,39 +337,31 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; */ - int getSpecialTokenMapValueOrThrow(java.lang.String key); + + int getSpecialTokenMapValueOrThrow( + java.lang.String key); /** - * - * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; - * * @return The filter. */ com.google.cloud.bigquery.migration.v2alpha.Filter getFilter(); /** - * - * *
    * The filter applied to translation details.
    * 
@@ -491,8 +371,6 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBuilder(); /** - * - * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -501,13 +379,10 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * 
* * string translation_exception_table = 13; - * * @return The translationExceptionTable. */ java.lang.String getTranslationExceptionTable(); /** - * - * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -516,11 +391,10 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * 
* * string translation_exception_table = 13; - * * @return The bytes for translationExceptionTable. */ - com.google.protobuf.ByteString getTranslationExceptionTableBytes(); + com.google.protobuf.ByteString + getTranslationExceptionTableBytes(); - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.LanguageOptionsCase - getLanguageOptionsCase(); + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java new file mode 100644 index 0000000..2f13682 --- /dev/null +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java @@ -0,0 +1,194 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class TranslationTaskProto { + private TranslationTaskProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n>google/cloud/bigquery/migration/v2alph" + + "a/translation_task.proto\022\'google.cloud.b" + + "igquery.migration.v2alpha\"A\n\026Translation" + + "FileMapping\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013outpu" + + "t_path\030\002 \001(\t\"\372\010\n\026TranslationTaskDetails\022" + + "T\n\020teradata_options\030\n \001(\01328.google.cloud" + + ".bigquery.migration.v2alpha.TeradataOpti" + + "onsH\000\022L\n\014bteq_options\030\013 \001(\01324.google.clo" + + "ud.bigquery.migration.v2alpha.BteqOption" + + "sH\000\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013output_path\030\002" + + " \001(\t\022S\n\nfile_paths\030\014 \003(\0132?.google.cloud." + + "bigquery.migration.v2alpha.TranslationFi" + + "leMapping\022\023\n\013schema_path\030\003 \001(\t\022c\n\rfile_e" + + "ncoding\030\004 \001(\0162L.google.cloud.bigquery.mi" + + "gration.v2alpha.TranslationTaskDetails.F" + + "ileEncoding\022X\n\023identifier_settings\030\005 \001(\013" + + "2;.google.cloud.bigquery.migration.v2alp" + + "ha.IdentifierSettings\022o\n\021special_token_m" + + "ap\030\006 \003(\0132T.google.cloud.bigquery.migrati" + + "on.v2alpha.TranslationTaskDetails.Specia" + + "lTokenMapEntry\022?\n\006filter\030\007 \001(\0132/.google." + + "cloud.bigquery.migration.v2alpha.Filter\022" + + "#\n\033translation_exception_table\030\r \001(\t\032\201\001\n" + + "\024SpecialTokenMapEntry\022\013\n\003key\030\001 \001(\t\022X\n\005va" + + "lue\030\002 \001(\0162I.google.cloud.bigquery.migrat" + + "ion.v2alpha.TranslationTaskDetails.Token" + + "Type:\0028\001\"~\n\014FileEncoding\022\035\n\031FILE_ENCODIN" + + "G_UNSPECIFIED\020\000\022\t\n\005UTF_8\020\001\022\016\n\nISO_8859_1" + + "\020\002\022\014\n\010US_ASCII\020\003\022\n\n\006UTF_16\020\004\022\014\n\010UTF_16LE" + + "\020\005\022\014\n\010UTF_16BE\020\006\"{\n\tTokenType\022\032\n\026TOKEN_T" + + "YPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001\022\t\n\005INT64\020\002" + + "\022\013\n\007NUMERIC\020\003\022\010\n\004BOOL\020\004\022\013\n\007FLOAT64\020\005\022\010\n\004" + + "DATE\020\006\022\r\n\tTIMESTAMP\020\007B\022\n\020language_option" + + "s\"/\n\006Filter\022%\n\035input_file_exclusion_pref" + + "ixes\030\001 \003(\t\"\250\003\n\022IdentifierSettings\022j\n\026out" + + "put_identifier_case\030\001 \001(\0162J.google.cloud" + + ".bigquery.migration.v2alpha.IdentifierSe" + + "ttings.IdentifierCase\022r\n\027identifier_rewr" + + "ite_mode\030\002 \001(\0162Q.google.cloud.bigquery.m" + + "igration.v2alpha.IdentifierSettings.Iden" + + "tifierRewriteMode\"U\n\016IdentifierCase\022\037\n\033I" + + "DENTIFIER_CASE_UNSPECIFIED\020\000\022\014\n\010ORIGINAL" + + "\020\001\022\t\n\005UPPER\020\002\022\t\n\005LOWER\020\003\"[\n\025IdentifierRe" + + "writeMode\022\'\n#IDENTIFIER_REWRITE_MODE_UNS" + + "PECIFIED\020\000\022\010\n\004NONE\020\001\022\017\n\013REWRITE_ALL\020\002\"\021\n" + + "\017TeradataOptions\"\242\002\n\013BteqOptions\022R\n\017proj" + + "ect_dataset\030\001 \001(\01329.google.cloud.bigquer" + + "y.migration.v2alpha.DatasetReference\022\030\n\020" + + "default_path_uri\030\002 \001(\t\022j\n\024file_replaceme" + + "nt_map\030\003 \003(\0132L.google.cloud.bigquery.mig" + + "ration.v2alpha.BteqOptions.FileReplaceme" + + "ntMapEntry\0329\n\027FileReplacementMapEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\":\n\020Dataset" + + "Reference\022\022\n\ndataset_id\030\001 \001(\t\022\022\n\nproject" + + "_id\030\002 \001(\tB\353\001\n+com.google.cloud.bigquery." + + "migration.v2alphaB\024TranslationTaskProtoP" + + "\001ZPgoogle.golang.org/genproto/googleapis" + + "/cloud/bigquery/migration/v2alpha;migrat" + + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" + + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" + + "V2alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor, + new java.lang.String[] { "InputPath", "OutputPath", }); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor, + new java.lang.String[] { "TeradataOptions", "BteqOptions", "InputPath", "OutputPath", "FilePaths", "SchemaPath", "FileEncoding", "IdentifierSettings", "SpecialTokenMap", "Filter", "TranslationExceptionTable", "LanguageOptions", }); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor = + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor, + new java.lang.String[] { "InputFileExclusionPrefixes", }); + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor, + new java.lang.String[] { "OutputIdentifierCase", "IdentifierRewriteMode", }); + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor, + new java.lang.String[] { "ProjectDataset", "DefaultPathUri", "FileReplacementMap", }); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor = + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor, + new java.lang.String[] { "DatasetId", "ProjectId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java similarity index 72% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java index a54298f..7991be9 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** - * - * *
  * A single strongly-typed value.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TypedValue} */ -public final class TypedValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TypedValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TypedValue) TypedValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TypedValue.newBuilder() to construct. private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TypedValue() {} + private TypedValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TypedValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TypedValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,52 +52,48 @@ private TypedValue( case 0: done = true; break; - case 8: - { - value_ = input.readBool(); - valueCase_ = 1; - break; - } - case 16: - { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } - case 25: - { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; + case 8: { + value_ = input.readBool(); + valueCase_ = 1; + break; + } + case 16: { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } + case 25: { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + break; + } + case 42: { + com.google.api.Distribution.Builder subBuilder = null; + if (valueCase_ == 5) { + subBuilder = ((com.google.api.Distribution) value_).toBuilder(); } - case 42: - { - com.google.api.Distribution.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.api.Distribution) value_).toBuilder(); - } - value_ = input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.api.Distribution) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 5; - break; + value_ = + input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.api.Distribution) value_); + value_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + valueCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,34 +101,30 @@ private TypedValue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, - com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), @@ -157,7 +133,6 @@ public enum ValueCase DISTRIBUTION_VALUE(5), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -173,42 +148,33 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: - return BOOL_VALUE; - case 2: - return INT64_VALUE; - case 3: - return DOUBLE_VALUE; - case 4: - return STRING_VALUE; - case 5: - return DISTRIBUTION_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 1: return BOOL_VALUE; + case 2: return INT64_VALUE; + case 3: return DOUBLE_VALUE; + case 4: return STRING_VALUE; + case 5: return DISTRIBUTION_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -216,14 +182,11 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ @java.lang.Override @@ -236,14 +199,11 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -251,14 +211,11 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ @java.lang.Override @@ -271,8 +228,6 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -280,7 +235,6 @@ public long getInt64Value() {
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -288,8 +242,6 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -297,7 +249,6 @@ public boolean hasDoubleValue() {
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -310,28 +261,22 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -342,7 +287,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -351,24 +297,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -380,14 +325,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int DISTRIBUTION_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -395,26 +337,21 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ @java.lang.Override public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /** - * - * *
    * A distribution value.
    * 
@@ -424,13 +361,12 @@ public com.google.api.Distribution getDistributionValue() { @java.lang.Override public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -442,15 +378,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) value_)); + output.writeInt64( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) value_)); + output.writeDouble( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -468,27 +408,26 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) value_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) value_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) value_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); } if (valueCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.api.Distribution) value_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.api.Distribution) value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -498,31 +437,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TypedValue)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TypedValue other = - (com.google.cloud.bigquery.migration.v2alpha.TypedValue) obj; + com.google.cloud.bigquery.migration.v2alpha.TypedValue other = (com.google.cloud.bigquery.migration.v2alpha.TypedValue) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 4: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 5: - if (!getDistributionValue().equals(other.getDistributionValue())) return false; + if (!getDistributionValue() + .equals(other.getDistributionValue())) return false; break; case 0: default: @@ -541,18 +484,18 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -571,127 +514,117 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.migration.v2alpha.TypedValue prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TypedValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single strongly-typed value.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TypedValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TypedValue) com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, - com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.TypedValue.newBuilder() @@ -699,15 +632,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -717,9 +651,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto - .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; } @java.lang.Override @@ -738,8 +672,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValue build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TypedValue buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TypedValue result = - new com.google.cloud.bigquery.migration.v2alpha.TypedValue(this); + com.google.cloud.bigquery.migration.v2alpha.TypedValue result = new com.google.cloud.bigquery.migration.v2alpha.TypedValue(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -768,39 +701,38 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TypedValue) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TypedValue) other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TypedValue)other); } else { super.mergeFrom(other); return this; @@ -808,40 +740,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TypedValue other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case BOOL_VALUE: - { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: - { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case DISTRIBUTION_VALUE: - { - mergeDistributionValue(other.getDistributionValue()); - break; - } - case VALUE_NOT_SET: - { - break; - } + case BOOL_VALUE: { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case DISTRIBUTION_VALUE: { + mergeDistributionValue(other.getDistributionValue()); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -862,8 +787,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.migration.v2alpha.TypedValue) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TypedValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -872,12 +796,12 @@ public Builder mergeFrom( } return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -887,29 +811,24 @@ public Builder clearValue() { return this; } + /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -919,14 +838,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -937,14 +853,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -957,28 +870,22 @@ public Builder clearBoolValue() { } /** - * - * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; - * * @return The int64Value. */ public long getInt64Value() { @@ -988,14 +895,11 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; - * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -1006,14 +910,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -1026,8 +927,6 @@ public Builder clearInt64Value() { } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -1035,15 +934,12 @@ public Builder clearInt64Value() {
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -1051,7 +947,6 @@ public boolean hasDoubleValue() {
      * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1061,8 +956,6 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -1070,7 +963,6 @@ public double getDoubleValue() {
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1081,8 +973,6 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -1090,7 +980,6 @@ public Builder setDoubleValue(double value) {
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1103,14 +992,11 @@ public Builder clearDoubleValue() { } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1118,14 +1004,11 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return The stringValue. */ @java.lang.Override @@ -1135,7 +1018,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1146,25 +1030,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1174,35 +1057,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1214,22 +1092,20 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); @@ -1237,19 +1113,13 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder> - distributionValueBuilder_; + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> distributionValueBuilder_; /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -1257,14 +1127,11 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ @java.lang.Override @@ -1282,8 +1149,6 @@ public com.google.api.Distribution getDistributionValue() { } } /** - * - * *
      * A distribution value.
      * 
@@ -1304,15 +1169,14 @@ public Builder setDistributionValue(com.google.api.Distribution value) { return this; } /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; */ - public Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue) { + public Builder setDistributionValue( + com.google.api.Distribution.Builder builderForValue) { if (distributionValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1323,8 +1187,6 @@ public Builder setDistributionValue(com.google.api.Distribution.Builder builderF return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1333,11 +1195,10 @@ public Builder setDistributionValue(com.google.api.Distribution.Builder builderF */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { - if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { - value_ = - com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) - .mergeFrom(value) - .buildPartial(); + if (valueCase_ == 5 && + value_ != com.google.api.Distribution.getDefaultInstance()) { + value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) + .mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -1353,8 +1214,6 @@ public Builder mergeDistributionValue(com.google.api.Distribution value) { return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1378,8 +1237,6 @@ public Builder clearDistributionValue() { return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1390,8 +1247,6 @@ public com.google.api.Distribution.Builder getDistributionValueBuilder() { return getDistributionValueFieldBuilder().getBuilder(); } /** - * - * *
      * A distribution value.
      * 
@@ -1410,8 +1265,6 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { } } /** - * - * *
      * A distribution value.
      * 
@@ -1419,30 +1272,26 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { * .google.api.Distribution distribution_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder> + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } - distributionValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder>( - (com.google.api.Distribution) value_, getParentForChildren(), isClean()); + distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( + (com.google.api.Distribution) value_, + getParentForChildren(), + isClean()); value_ = null; } valueCase_ = 5; - onChanged(); - ; + onChanged();; return distributionValueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1452,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TypedValue) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TypedValue) private static final com.google.cloud.bigquery.migration.v2alpha.TypedValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TypedValue(); } @@ -1466,16 +1315,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TypedValue getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TypedValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TypedValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1490,4 +1339,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TypedValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java similarity index 77% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java index 656d1f7..faf74ab 100644 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java +++ b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TypedValueOrBuilder - extends +public interface TypedValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TypedValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -83,13 +53,10 @@ public interface TypedValueOrBuilder
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -97,75 +64,58 @@ public interface TypedValueOrBuilder
    * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ boolean hasDistributionValue(); /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ com.google.api.Distribution getDistributionValue(); /** - * - * *
    * A distribution value.
    * 
diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto similarity index 100% rename from proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto rename to owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java deleted file mode 100644 index 4214416..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface AzureSynapseDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.AzureSynapseDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java deleted file mode 100644 index 27bd80e..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface BigQueryDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.BigQueryDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 9118572..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface CreateMigrationWorkflowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The migration workflow to create.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the migrationWorkflow field is set. - */ - boolean hasMigrationWorkflow(); - /** - * - * - *
-   * Required. The migration workflow to create.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The migrationWorkflow. - */ - com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(); - /** - * - * - *
-   * Required. The migration workflow to create.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder(); -} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 8704cb9..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface DeleteMigrationWorkflowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java deleted file mode 100644 index bd5451f..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface HiveQLDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.HiveQLDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java deleted file mode 100644 index 4e6c50d..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_entities.proto - -package com.google.cloud.bigquery.migration.v2; - -public final class MigrationEntitiesProto { - private MigrationEntitiesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/bigquery/migration/v2/mig" - + "ration_entities.proto\022\"google.cloud.bigq" - + "uery.migration.v2\032\037google/api/field_beha" - + "vior.proto\032\031google/api/resource.proto\032@g" - + "oogle/cloud/bigquery/migration/v2/migrat" - + "ion_error_details.proto\032:google/cloud/bi" - + "gquery/migration/v2/migration_metrics.pr" - + "oto\032;google/cloud/bigquery/migration/v2/" - + "translation_config.proto\032\037google/protobu" - + "f/timestamp.proto\032\036google/rpc/error_deta" - + "ils.proto\"\363\004\n\021MigrationWorkflow\022\024\n\004name\030" - + "\001 \001(\tB\006\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022O\n\005t" - + "asks\030\002 \003(\0132@.google.cloud.bigquery.migra" - + "tion.v2.MigrationWorkflow.TasksEntry\022O\n\005" - + "state\030\003 \001(\0162;.google.cloud.bigquery.migr" - + "ation.v2.MigrationWorkflow.StateB\003\340A\003\022/\n" - + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" - + "estamp\0224\n\020last_update_time\030\005 \001(\0132\032.googl" - + "e.protobuf.Timestamp\032_\n\nTasksEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.google.cloud.bi" - + "gquery.migration.v2.MigrationTask:\0028\001\"Q\n" - + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005DRAFT\020\001" - + "\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOMPLETED\020\004" - + ":u\352Ar\n2bigquerymigration.googleapis.com/" - + "MigrationWorkflow\022\n\006points\030\004 \003" - + "(\0132).google.cloud.bigquery.migration.v2." - + "PointB\003\340A\002\"\212\001\n\005Point\022B\n\010interval\030\001 \001(\01320" - + ".google.cloud.bigquery.migration.v2.Time" - + "Interval\022=\n\005value\030\002 \001(\0132..google.cloud.b" - + "igquery.migration.v2.TypedValue\"v\n\014TimeI" - + "nterval\0223\n\nstart_time\030\001 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\002\"\252\001\n\nType" - + "dValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_va" - + "lue\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014s" - + "tring_value\030\004 \001(\tH\000\0226\n\022distribution_valu" - + "e\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n\005v" - + "alueB\330\001\n&com.google.cloud.bigquery.migra" - + "tion.v2B\025MigrationMetricsProtoP\001ZKgoogle" - + ".golang.org/genproto/googleapis/cloud/bi" - + "gquery/migration/v2;migration\252\002\"Google.C" - + "loud.BigQuery.Migration.V2\312\002\"Google\\Clou" - + "d\\BigQuery\\Migration\\V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor, - new java.lang.String[] { - "Metric", "ValueType", "MetricKind", "Points", - }); - internal_static_google_cloud_bigquery_migration_v2_Point_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_Point_descriptor, - new java.lang.String[] { - "Interval", "Value", - }); - internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor, - new java.lang.String[] { - "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java deleted file mode 100644 index b47413c..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public final class MigrationServiceProto { - private MigrationServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/bigquery/migration/v2/mig" - + "ration_service.proto\022\"google.cloud.bigqu" - + "ery.migration.v2\032\034google/api/annotations" - + ".proto\032\027google/api/client.proto\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\032;google/cloud/bigquery/migra" - + "tion/v2/migration_entities.proto\032\033google" - + "/protobuf/empty.proto\032 google/protobuf/f" - + "ield_mask.proto\"\263\001\n\036CreateMigrationWorkf" - + "lowRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" - + "tions.googleapis.com/Location\022V\n\022migrati" - + "on_workflow\030\002 \001(\01325.google.cloud.bigquer" - + "y.migration.v2.MigrationWorkflowB\003\340A\002\"\226\001" - + "\n\033GetMigrationWorkflowRequest\022H\n\004name\030\001 " - + "\001(\tB:\340A\002\372A4\n2bigquerymigration.googleapi" - + "s.com/MigrationWorkflow\022-\n\tread_mask\030\002 \001" - + "(\0132\032.google.protobuf.FieldMask\"\260\001\n\035ListM" - + "igrationWorkflowsRequest\0229\n\006parent\030\001 \001(\t" - + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" - + "ion\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMask\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" - + "ken\030\004 \001(\t\"\215\001\n\036ListMigrationWorkflowsResp" - + "onse\022R\n\023migration_workflows\030\001 \003(\01325.goog" - + "le.cloud.bigquery.migration.v2.Migration" - + "Workflow\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036Del" - + "eteMigrationWorkflowRequest\022H\n\004name\030\001 \001(" - + "\tB:\340A\002\372A4\n2bigquerymigration.googleapis." - + "com/MigrationWorkflow\"i\n\035StartMigrationW" - + "orkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bi" - + "gquerymigration.googleapis.com/Migration" - + "Workflow\"\231\001\n\032GetMigrationSubtaskRequest\022" - + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration" - + ".googleapis.com/MigrationSubtask\0222\n\tread" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" - + "\003\340A\001\"\344\001\n\034ListMigrationSubtasksRequest\022J\n" - + "\006parent\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration" - + ".googleapis.com/MigrationWorkflow\0222\n\trea" - + "d_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" - + "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_to" - + "ken\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\212\001\n\035" - + "ListMigrationSubtasksResponse\022P\n\022migrati" - + "on_subtasks\030\001 \003(\01324.google.cloud.bigquer" - + "y.migration.v2.MigrationSubtask\022\027\n\017next_" - + "page_token\030\002 \001(\t2\313\014\n\020MigrationService\022\373\001" - + "\n\027CreateMigrationWorkflow\022B.google.cloud" - + ".bigquery.migration.v2.CreateMigrationWo" - + "rkflowRequest\0325.google.cloud.bigquery.mi" - + "gration.v2.MigrationWorkflow\"e\202\323\344\223\002C\"-/v" - + "2/{parent=projects/*/locations/*}/workfl" - + "ows:\022migration_workflow\332A\031parent,migrati" - + "on_workflow\022\314\001\n\024GetMigrationWorkflow\022?.g" - + "oogle.cloud.bigquery.migration.v2.GetMig" - + "rationWorkflowRequest\0325.google.cloud.big" - + "query.migration.v2.MigrationWorkflow\"<\202\323" - + "\344\223\002/\022-/v2/{name=projects/*/locations/*/w" - + "orkflows/*}\332A\004name\022\337\001\n\026ListMigrationWork" - + "flows\022A.google.cloud.bigquery.migration." - + "v2.ListMigrationWorkflowsRequest\032B.googl" - + "e.cloud.bigquery.migration.v2.ListMigrat" - + "ionWorkflowsResponse\">\202\323\344\223\002/\022-/v2/{paren" - + "t=projects/*/locations/*}/workflows\332A\006pa" - + "rent\022\263\001\n\027DeleteMigrationWorkflow\022B.googl" - + "e.cloud.bigquery.migration.v2.DeleteMigr" - + "ationWorkflowRequest\032\026.google.protobuf.E" - + "mpty\"<\202\323\344\223\002/*-/v2/{name=projects/*/locat" - + "ions/*/workflows/*}\332A\004name\022\272\001\n\026StartMigr" - + "ationWorkflow\022A.google.cloud.bigquery.mi" - + "gration.v2.StartMigrationWorkflowRequest" - + "\032\026.google.protobuf.Empty\"E\202\323\344\223\0028\"3/v2/{n" - + "ame=projects/*/locations/*/workflows/*}:" - + "start:\001*\332A\004name\022\324\001\n\023GetMigrationSubtask\022" - + ">.google.cloud.bigquery.migration.v2.Get" - + "MigrationSubtaskRequest\0324.google.cloud.b" - + "igquery.migration.v2.MigrationSubtask\"G\202" - + "\323\344\223\002:\0228/v2/{name=projects/*/locations/*/" - + "workflows/*/subtasks/*}\332A\004name\022\347\001\n\025ListM" - + "igrationSubtasks\022@.google.cloud.bigquery" - + ".migration.v2.ListMigrationSubtasksReque" - + "st\032A.google.cloud.bigquery.migration.v2." - + "ListMigrationSubtasksResponse\"I\202\323\344\223\002:\0228/" - + "v2/{parent=projects/*/locations/*/workfl" - + "ows/*}/subtasks\332A\006parent\032T\312A bigquerymig" - + "ration.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\330\001\n&com.g" - + "oogle.cloud.bigquery.migration.v2B\025Migra" - + "tionServiceProtoP\001ZKgoogle.golang.org/ge" - + "nproto/googleapis/cloud/bigquery/migrati" - + "on/v2;migration\252\002\"Google.Cloud.BigQuery." - + "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" - + "ration\\V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Parent", "MigrationWorkflow", - }); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor, - new java.lang.String[] { - "Parent", "ReadMask", "PageSize", "PageToken", - }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor, - new java.lang.String[] { - "MigrationWorkflows", "NextPageToken", - }); - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ReadMask", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor, - new java.lang.String[] { - "MigrationSubtasks", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java deleted file mode 100644 index 62278fd..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface NetezzaDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NetezzaDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java deleted file mode 100644 index e0a4cac..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface OracleDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.OracleDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java deleted file mode 100644 index 25b6013..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface RedshiftDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.RedshiftDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java deleted file mode 100644 index 3e4147e..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface SQLServerDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SQLServerDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java deleted file mode 100644 index 33e90dd..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface SnowflakeDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SnowflakeDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java deleted file mode 100644 index c514a14..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface SparkSQLDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SparkSQLDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index c308258..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface StartMigrationWorkflowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java deleted file mode 100644 index 2d11111..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java +++ /dev/null @@ -1,330 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public final class TranslationConfigProto { - private TranslationConfigProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/bigquery/migration/v2/tra" - + "nslation_config.proto\022\"google.cloud.bigq" - + "uery.migration.v2\"\262\003\n\030TranslationConfigD" - + "etails\022\031\n\017gcs_source_path\030\001 \001(\tH\000\022\031\n\017gcs" - + "_target_path\030\002 \001(\tH\001\022C\n\016source_dialect\030\003" - + " \001(\0132+.google.cloud.bigquery.migration.v" - + "2.Dialect\022C\n\016target_dialect\030\004 \001(\0132+.goog" - + "le.cloud.bigquery.migration.v2.Dialect\022V" - + "\n\021name_mapping_list\030\005 \001(\01329.google.cloud" - + ".bigquery.migration.v2.ObjectNameMapping" - + "ListH\002\022A\n\nsource_env\030\006 \001(\0132-.google.clou" - + "d.bigquery.migration.v2.SourceEnvB\021\n\017sou" - + "rce_locationB\021\n\017target_locationB\025\n\023outpu" - + "t_name_mapping\"\227\007\n\007Dialect\022O\n\020bigquery_d" - + "ialect\030\001 \001(\01323.google.cloud.bigquery.mig" - + "ration.v2.BigQueryDialectH\000\022K\n\016hiveql_di" - + "alect\030\002 \001(\01321.google.cloud.bigquery.migr" - + "ation.v2.HiveQLDialectH\000\022O\n\020redshift_dia" - + "lect\030\003 \001(\01323.google.cloud.bigquery.migra" - + "tion.v2.RedshiftDialectH\000\022O\n\020teradata_di" - + "alect\030\004 \001(\01323.google.cloud.bigquery.migr" - + "ation.v2.TeradataDialectH\000\022K\n\016oracle_dia" - + "lect\030\005 \001(\01321.google.cloud.bigquery.migra" - + "tion.v2.OracleDialectH\000\022O\n\020sparksql_dial" - + "ect\030\006 \001(\01323.google.cloud.bigquery.migrat" - + "ion.v2.SparkSQLDialectH\000\022Q\n\021snowflake_di" - + "alect\030\007 \001(\01324.google.cloud.bigquery.migr" - + "ation.v2.SnowflakeDialectH\000\022M\n\017netezza_d" - + "ialect\030\010 \001(\01322.google.cloud.bigquery.mig" - + "ration.v2.NetezzaDialectH\000\022X\n\025azure_syna" - + "pse_dialect\030\t \001(\01327.google.cloud.bigquer" - + "y.migration.v2.AzureSynapseDialectH\000\022M\n\017" - + "vertica_dialect\030\n \001(\01322.google.cloud.big" - + "query.migration.v2.VerticaDialectH\000\022R\n\022s" - + "ql_server_dialect\030\013 \001(\01324.google.cloud.b" - + "igquery.migration.v2.SQLServerDialectH\000B" - + "\017\n\rdialect_value\"\021\n\017BigQueryDialect\"\017\n\rH" - + "iveQLDialect\"\021\n\017RedshiftDialect\"\212\001\n\017Tera" - + "dataDialect\022F\n\004mode\030\001 \001(\01628.google.cloud" - + ".bigquery.migration.v2.TeradataDialect.M" - + "ode\"/\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\007\n\003SQL" - + "\020\001\022\010\n\004BTEQ\020\002\"\017\n\rOracleDialect\"\021\n\017SparkSQ" - + "LDialect\"\022\n\020SnowflakeDialect\"\020\n\016NetezzaD" - + "ialect\"\025\n\023AzureSynapseDialect\"\020\n\016Vertica" - + "Dialect\"\022\n\020SQLServerDialect\"`\n\025ObjectNam" - + "eMappingList\022G\n\010name_map\030\001 \003(\01325.google." - + "cloud.bigquery.migration.v2.ObjectNameMa" - + "pping\"\235\001\n\021ObjectNameMapping\022B\n\006source\030\001 " - + "\001(\01322.google.cloud.bigquery.migration.v2" - + ".NameMappingKey\022D\n\006target\030\002 \001(\01324.google" - + ".cloud.bigquery.migration.v2.NameMapping" - + "Value\"\253\002\n\016NameMappingKey\022E\n\004type\030\001 \001(\01627" - + ".google.cloud.bigquery.migration.v2.Name" - + "MappingKey.Type\022\020\n\010database\030\002 \001(\t\022\016\n\006sch" - + "ema\030\003 \001(\t\022\020\n\010relation\030\004 \001(\t\022\021\n\tattribute" - + "\030\005 \001(\t\"\212\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\014\n" - + "\010DATABASE\020\001\022\n\n\006SCHEMA\020\002\022\014\n\010RELATION\020\003\022\r\n" - + "\tATTRIBUTE\020\004\022\022\n\016RELATION_ALIAS\020\005\022\023\n\017ATTR" - + "IBUTE_ALIAS\020\006\022\014\n\010FUNCTION\020\007\"Y\n\020NameMappi" - + "ngValue\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(" - + "\t\022\020\n\010relation\030\003 \001(\t\022\021\n\tattribute\030\004 \001(\t\"A" - + "\n\tSourceEnv\022\030\n\020default_database\030\001 \001(\t\022\032\n" - + "\022schema_search_path\030\002 \003(\tB\331\001\n&com.google" - + ".cloud.bigquery.migration.v2B\026Translatio" - + "nConfigProtoP\001ZKgoogle.golang.org/genpro" - + "to/googleapis/cloud/bigquery/migration/v" - + "2;migration\252\002\"Google.Cloud.BigQuery.Migr" - + "ation.V2\312\002\"Google\\Cloud\\BigQuery\\Migrati" - + "on\\V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor, - new java.lang.String[] { - "GcsSourcePath", - "GcsTargetPath", - "SourceDialect", - "TargetDialect", - "NameMappingList", - "SourceEnv", - "SourceLocation", - "TargetLocation", - "OutputNameMapping", - }); - internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor, - new java.lang.String[] { - "BigqueryDialect", - "HiveqlDialect", - "RedshiftDialect", - "TeradataDialect", - "OracleDialect", - "SparksqlDialect", - "SnowflakeDialect", - "NetezzaDialect", - "AzureSynapseDialect", - "VerticaDialect", - "SqlServerDialect", - "DialectValue", - }); - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor, - new java.lang.String[] { - "Mode", - }); - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor, - new java.lang.String[] { - "NameMap", - }); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor, - new java.lang.String[] { - "Source", "Target", - }); - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor, - new java.lang.String[] { - "Type", "Database", "Schema", "Relation", "Attribute", - }); - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor, - new java.lang.String[] { - "Database", "Schema", "Relation", "Attribute", - }); - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor, - new java.lang.String[] { - "DefaultDatabase", "SchemaSearchPath", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java deleted file mode 100644 index 803bc0f..0000000 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface VerticaDialectOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.VerticaDialect) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java deleted file mode 100644 index 144d5bd..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class AssessmentTaskProto { - private AssessmentTaskProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n=google/cloud/bigquery/migration/v2alph" - + "a/assessment_task.proto\022\'google.cloud.bi" - + "gquery.migration.v2alpha\032\037google/api/fie" - + "ld_behavior.proto\"\204\001\n\025AssessmentTaskDeta" - + "ils\022\027\n\ninput_path\030\001 \001(\tB\003\340A\002\022\033\n\016output_d" - + "ataset\030\002 \001(\tB\003\340A\002\022\033\n\016querylogs_path\030\003 \001(" - + "\tB\003\340A\001\022\030\n\013data_source\030\004 \001(\tB\003\340A\002\"Q\n$Asse" - + "ssmentOrchestrationResultDetails\022)\n\034outp" - + "ut_tables_schema_version\030\001 \001(\tB\003\340A\001B\352\001\n+" - + "com.google.cloud.bigquery.migration.v2al" - + "phaB\023AssessmentTaskProtoP\001ZPgoogle.golan" - + "g.org/genproto/googleapis/cloud/bigquery" - + "/migration/v2alpha;migration\252\002\'Google.Cl" - + "oud.BigQuery.Migration.V2Alpha\312\002\'Google\\" - + "Cloud\\BigQuery\\Migration\\V2alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor, - new java.lang.String[] { - "InputPath", "OutputDataset", "QuerylogsPath", "DataSource", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor, - new java.lang.String[] { - "OutputTablesSchemaVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index fff1ec9..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface CreateMigrationWorkflowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The migration workflow to create.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the migrationWorkflow field is set. - */ - boolean hasMigrationWorkflow(); - /** - * - * - *
-   * Required. The migration workflow to create.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The migrationWorkflow. - */ - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(); - /** - * - * - *
-   * Required. The migration workflow to create.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder - getMigrationWorkflowOrBuilder(); -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 2e7153d..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface DeleteMigrationWorkflowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java deleted file mode 100644 index b80922b..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface IdentifierSettingsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The setting to control output queries' identifier case.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * - * @return The enum numeric value on the wire for outputIdentifierCase. - */ - int getOutputIdentifierCaseValue(); - /** - * - * - *
-   * The setting to control output queries' identifier case.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * - * - * @return The outputIdentifierCase. - */ - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase - getOutputIdentifierCase(); - - /** - * - * - *
-   * Specifies the rewrite mode for SQL identifiers.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * - * @return The enum numeric value on the wire for identifierRewriteMode. - */ - int getIdentifierRewriteModeValue(); - /** - * - * - *
-   * Specifies the rewrite mode for SQL identifiers.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * - * - * @return The identifierRewriteMode. - */ - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode - getIdentifierRewriteMode(); -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java deleted file mode 100644 index 6434081..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationEntitiesProto { - private MigrationEntitiesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/bigquery/migration/v2alph" - + "a/migration_entities.proto\022\'google.cloud" - + ".bigquery.migration.v2alpha\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\032=google/cloud/bigquery/migration" - + "/v2alpha/assessment_task.proto\032Egoogle/c" - + "loud/bigquery/migration/v2alpha/migratio" - + "n_error_details.proto\032?google/cloud/bigq" - + "uery/migration/v2alpha/migration_metrics" - + ".proto\032>google/cloud/bigquery/migration/" - + "v2alpha/translation_task.proto\032\031google/p" - + "rotobuf/any.proto\032\037google/protobuf/times" - + "tamp.proto\032\036google/rpc/error_details.pro" - + "to\"\202\005\n\021MigrationWorkflow\022\024\n\004name\030\001 \001(\tB\006" - + "\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022T\n\005tasks\030\002 " - + "\003(\0132E.google.cloud.bigquery.migration.v2" - + "alpha.MigrationWorkflow.TasksEntry\022T\n\005st" - + "ate\030\003 \001(\0162@.google.cloud.bigquery.migrat" - + "ion.v2alpha.MigrationWorkflow.StateB\003\340A\003" - + "\022/\n\013create_time\030\004 \001(\0132\032.google.protobuf." - + "Timestamp\0224\n\020last_update_time\030\005 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\032d\n\nTasksEntry\022\013\n" - + "\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud" - + ".bigquery.migration.v2alpha.MigrationTas" - + "k:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n" - + "\005DRAFT\020\001\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOM" - + "PLETED\020\004:u\352Ar\n2bigquerymigration.googlea" - + "pis.com/MigrationWorkflow\022.google.cloud.bigque" - + "ry.migration.v2alpha.AssessmentTaskDetai" - + "lsH\000\022c\n\030translation_task_details\030\r \001(\0132?" - + ".google.cloud.bigquery.migration.v2alpha" - + ".TranslationTaskDetailsH\000\022\022\n\002id\030\001 \001(\tB\006\340" - + "A\003\340A\005\022\014\n\004type\030\002 \001(\t\022%\n\007details\030\003 \001(\0132\024.g" - + "oogle.protobuf.Any\022P\n\005state\030\004 \001(\0162<.goog" - + "le.cloud.bigquery.migration.v2alpha.Migr" - + "ationTask.StateB\003\340A\003\0224\n\020processing_error" - + "\030\005 \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022/\n\013cr" - + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "amp\0224\n\020last_update_time\030\007 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022l\n\024orchestration_resul" - + "t\030\n \001(\0132I.google.cloud.bigquery.migratio" - + "n.v2alpha.MigrationTaskOrchestrationResu" - + "ltB\003\340A\003\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - + "\013\n\007PENDING\020\001\022\021\n\rORCHESTRATING\020\002\022\013\n\007RUNNI" - + "NG\020\003\022\n\n\006PAUSED\020\004\022\r\n\tSUCCEEDED\020\005\022\n\n\006FAILE" - + "D\020\006B\016\n\014task_details\"\353\005\n\020MigrationSubtask" - + "\022\024\n\004name\030\001 \001(\tB\006\340A\003\340A\005\022\017\n\007task_id\030\002 \001(\t\022" - + "\014\n\004type\030\003 \001(\t\022S\n\005state\030\005 \001(\0162?.google.cl" - + "oud.bigquery.migration.v2alpha.Migration" - + "Subtask.StateB\003\340A\003\0224\n\020processing_error\030\006" - + " \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022a\n\026reso" - + "urce_error_details\030\014 \003(\0132<.google.cloud." - + "bigquery.migration.v2alpha.ResourceError" - + "DetailB\003\340A\003\022\034\n\024resource_error_count\030\r \001(" - + "\005\022/\n\013create_time\030\007 \001(\0132\032.google.protobuf" - + ".Timestamp\0224\n\020last_update_time\030\010 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022D\n\007metrics\030\013 \003(" - + "\01323.google.cloud.bigquery.migration.v2al" - + "pha.TimeSeries\"^\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\020\000\022\n\n\006ACTIVE\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCE" - + "EDED\020\003\022\n\n\006FAILED\020\004\022\n\n\006PAUSED\020\005:\210\001\352A\204\001\n1b" - + "igquerymigration.googleapis.com/Migratio" - + "nSubtask\022Oprojects/{project}/locations/{" - + "location}/workflows/{workflow}/subtasks/" - + "{subtask}\"\232\001\n MigrationTaskOrchestration" - + "Result\022k\n\022assessment_details\030\001 \001(\0132M.goo" - + "gle.cloud.bigquery.migration.v2alpha.Ass" - + "essmentOrchestrationResultDetailsH\000B\t\n\007d" - + "etailsB\355\001\n+com.google.cloud.bigquery.mig" - + "ration.v2alphaB\026MigrationEntitiesProtoP\001" - + "ZPgoogle.golang.org/genproto/googleapis/" - + "cloud/bigquery/migration/v2alpha;migrati" - + "on\252\002\'Google.Cloud.BigQuery.Migration.V2A" - + "lpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\V" - + "2alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.ErrorDetailsProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Tasks", "State", "CreateTime", "LastUpdateTime", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor = - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor, - new java.lang.String[] { - "AssessmentTaskDetails", - "TranslationTaskDetails", - "Id", - "Type", - "Details", - "State", - "ProcessingError", - "CreateTime", - "LastUpdateTime", - "OrchestrationResult", - "TaskDetails", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor, - new java.lang.String[] { - "Name", - "TaskId", - "Type", - "State", - "ProcessingError", - "ResourceErrorDetails", - "ResourceErrorCount", - "CreateTime", - "LastUpdateTime", - "Metrics", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor, - new java.lang.String[] { - "AssessmentDetails", "Details", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.ErrorDetailsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java deleted file mode 100644 index 759c4d3..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationErrorDetailsProto { - private MigrationErrorDetailsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nEgoogle/cloud/bigquery/migration/v2alph" - + "a/migration_error_details.proto\022\'google." - + "cloud.bigquery.migration.v2alpha\032\037google" - + "/api/field_behavior.proto\032\036google/rpc/er" - + "ror_details.proto\"\267\001\n\023ResourceErrorDetai" - + "l\0224\n\rresource_info\030\001 \001(\0132\030.google.rpc.Re" - + "sourceInfoB\003\340A\002\022P\n\rerror_details\030\002 \003(\01324" - + ".google.cloud.bigquery.migration.v2alpha" - + ".ErrorDetailB\003\340A\002\022\030\n\013error_count\030\003 \001(\005B\003" - + "\340A\002\"\214\001\n\013ErrorDetail\022M\n\010location\030\001 \001(\01326." - + "google.cloud.bigquery.migration.v2alpha." - + "ErrorLocationB\003\340A\001\022.\n\nerror_info\030\002 \001(\0132\025" - + ".google.rpc.ErrorInfoB\003\340A\002\"7\n\rErrorLocat" - + "ion\022\021\n\004line\030\001 \001(\005B\003\340A\001\022\023\n\006column\030\002 \001(\005B\003" - + "\340A\001B\361\001\n+com.google.cloud.bigquery.migrat" - + "ion.v2alphaB\032MigrationErrorDetailsProtoP" - + "\001ZPgoogle.golang.org/genproto/googleapis" - + "/cloud/bigquery/migration/v2alpha;migrat" - + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" - + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" - + "V2alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.rpc.ErrorDetailsProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor, - new java.lang.String[] { - "ResourceInfo", "ErrorDetails", "ErrorCount", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor, - new java.lang.String[] { - "Location", "ErrorInfo", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor, - new java.lang.String[] { - "Line", "Column", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.rpc.ErrorDetailsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java deleted file mode 100644 index 7ccc490..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationMetricsProto { - private MigrationMetricsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/bigquery/migration/v2alph" - + "a/migration_metrics.proto\022\'google.cloud." - + "bigquery.migration.v2alpha\032\035google/api/d" - + "istribution.proto\032\037google/api/field_beha" - + "vior.proto\032\027google/api/metric.proto\032\037goo" - + "gle/protobuf/timestamp.proto\"\352\001\n\nTimeSer" - + "ies\022\023\n\006metric\030\001 \001(\tB\003\340A\002\022?\n\nvalue_type\030\002" - + " \001(\0162&.google.api.MetricDescriptor.Value" - + "TypeB\003\340A\002\022A\n\013metric_kind\030\003 \001(\0162\'.google." - + "api.MetricDescriptor.MetricKindB\003\340A\001\022C\n\006" - + "points\030\004 \003(\0132..google.cloud.bigquery.mig" - + "ration.v2alpha.PointB\003\340A\002\"\224\001\n\005Point\022G\n\010i" - + "nterval\030\001 \001(\01325.google.cloud.bigquery.mi" - + "gration.v2alpha.TimeInterval\022B\n\005value\030\002 " - + "\001(\01323.google.cloud.bigquery.migration.v2" - + "alpha.TypedValue\"v\n\014TimeInterval\0223\n\nstar" - + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\002\"\252\001\n\nTypedValue\022\024\n\nbool_" - + "value\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014" - + "double_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001" - + "(\tH\000\0226\n\022distribution_value\030\005 \001(\0132\030.googl" - + "e.api.DistributionH\000B\007\n\005valueB\354\001\n+com.go" - + "ogle.cloud.bigquery.migration.v2alphaB\025M" - + "igrationMetricsProtoP\001ZPgoogle.golang.or" - + "g/genproto/googleapis/cloud/bigquery/mig" - + "ration/v2alpha;migration\252\002\'Google.Cloud." - + "BigQuery.Migration.V2Alpha\312\002\'Google\\Clou" - + "d\\BigQuery\\Migration\\V2alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor, - new java.lang.String[] { - "Metric", "ValueType", "MetricKind", "Points", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor, - new java.lang.String[] { - "Interval", "Value", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor, - new java.lang.String[] { - "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java deleted file mode 100644 index 41b8fcc..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java +++ /dev/null @@ -1,285 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationServiceProto { - private MigrationServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/bigquery/migration/v2alph" - + "a/migration_service.proto\022\'google.cloud." - + "bigquery.migration.v2alpha\032\034google/api/a" - + "nnotations.proto\032\027google/api/client.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032@google/cloud/bigq" - + "uery/migration/v2alpha/migration_entitie" - + "s.proto\032Egoogle/cloud/bigquery/migration" - + "/v2alpha/migration_error_details.proto\032?" - + "google/cloud/bigquery/migration/v2alpha/" - + "migration_metrics.proto\032\033google/protobuf" - + "/empty.proto\032 google/protobuf/field_mask" - + ".proto\032\036google/rpc/error_details.proto\"\270" - + "\001\n\036CreateMigrationWorkflowRequest\0229\n\006par" - + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." - + "com/Location\022[\n\022migration_workflow\030\002 \001(\013" - + "2:.google.cloud.bigquery.migration.v2alp" - + "ha.MigrationWorkflowB\003\340A\002\"\226\001\n\033GetMigrati" - + "onWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n" - + "2bigquerymigration.googleapis.com/Migrat" - + "ionWorkflow\022-\n\tread_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\"\260\001\n\035ListMigrationWork" - + "flowsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" - + "cations.googleapis.com/Location\022-\n\tread_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022\021" - + "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\222\001" - + "\n\036ListMigrationWorkflowsResponse\022W\n\023migr" - + "ation_workflows\030\001 \003(\0132:.google.cloud.big" - + "query.migration.v2alpha.MigrationWorkflo" - + "w\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036DeleteMigr" - + "ationWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372" - + "A4\n2bigquerymigration.googleapis.com/Mig" - + "rationWorkflow\"i\n\035StartMigrationWorkflow" - + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigquerym" - + "igration.googleapis.com/MigrationWorkflo" - + "w\"\231\001\n\032GetMigrationSubtaskRequest\022G\n\004name" - + "\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration.google" - + "apis.com/MigrationSubtask\0222\n\tread_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\344\001" - + "\n\034ListMigrationSubtasksRequest\022J\n\006parent" - + "\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration.google" - + "apis.com/MigrationWorkflow\0222\n\tread_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022\026" - + "\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001" - + "(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\217\001\n\035ListMig" - + "rationSubtasksResponse\022U\n\022migration_subt" - + "asks\030\001 \003(\01329.google.cloud.bigquery.migra" - + "tion.v2alpha.MigrationSubtask\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t2\252\r\n\020MigrationService\022\212\002\n\027" - + "CreateMigrationWorkflow\022G.google.cloud.b" - + "igquery.migration.v2alpha.CreateMigratio" - + "nWorkflowRequest\032:.google.cloud.bigquery" - + ".migration.v2alpha.MigrationWorkflow\"j\202\323" - + "\344\223\002H\"2/v2alpha/{parent=projects/*/locati" - + "ons/*}/workflows:\022migration_workflow\332A\031p" - + "arent,migration_workflow\022\333\001\n\024GetMigratio" - + "nWorkflow\022D.google.cloud.bigquery.migrat" - + "ion.v2alpha.GetMigrationWorkflowRequest\032" - + ":.google.cloud.bigquery.migration.v2alph" - + "a.MigrationWorkflow\"A\202\323\344\223\0024\0222/v2alpha/{n" - + "ame=projects/*/locations/*/workflows/*}\332" - + "A\004name\022\356\001\n\026ListMigrationWorkflows\022F.goog" - + "le.cloud.bigquery.migration.v2alpha.List" - + "MigrationWorkflowsRequest\032G.google.cloud" - + ".bigquery.migration.v2alpha.ListMigratio" - + "nWorkflowsResponse\"C\202\323\344\223\0024\0222/v2alpha/{pa" - + "rent=projects/*/locations/*}/workflows\332A" - + "\006parent\022\275\001\n\027DeleteMigrationWorkflow\022G.go" - + "ogle.cloud.bigquery.migration.v2alpha.De" - + "leteMigrationWorkflowRequest\032\026.google.pr" - + "otobuf.Empty\"A\202\323\344\223\0024*2/v2alpha/{name=pro" - + "jects/*/locations/*/workflows/*}\332A\004name\022" - + "\304\001\n\026StartMigrationWorkflow\022F.google.clou" - + "d.bigquery.migration.v2alpha.StartMigrat" - + "ionWorkflowRequest\032\026.google.protobuf.Emp" - + "ty\"J\202\323\344\223\002=\"8/v2alpha/{name=projects/*/lo" - + "cations/*/workflows/*}:start:\001*\332A\004name\022\343" - + "\001\n\023GetMigrationSubtask\022C.google.cloud.bi" - + "gquery.migration.v2alpha.GetMigrationSub" - + "taskRequest\0329.google.cloud.bigquery.migr" - + "ation.v2alpha.MigrationSubtask\"L\202\323\344\223\002?\022=" - + "/v2alpha/{name=projects/*/locations/*/wo" - + "rkflows/*/subtasks/*}\332A\004name\022\366\001\n\025ListMig" - + "rationSubtasks\022E.google.cloud.bigquery.m" - + "igration.v2alpha.ListMigrationSubtasksRe" - + "quest\032F.google.cloud.bigquery.migration." - + "v2alpha.ListMigrationSubtasksResponse\"N\202" - + "\323\344\223\002?\022=/v2alpha/{parent=projects/*/locat" - + "ions/*/workflows/*}/subtasks\332A\006parent\032T\312" - + "A bigquerymigration.googleapis.com\322A.htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\354\001\n+com.google.cloud.bigquery.migrat" - + "ion.v2alphaB\025MigrationServiceProtoP\001ZPgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/bigquery/migration/v2alpha;migration\252\002" - + "\'Google.Cloud.BigQuery.Migration.V2Alpha" - + "\312\002\'Google\\Cloud\\BigQuery\\Migration\\V2alp" - + "hab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto - .getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.ErrorDetailsProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Parent", "MigrationWorkflow", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor, - new java.lang.String[] { - "Parent", "ReadMask", "PageSize", "PageToken", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor, - new java.lang.String[] { - "MigrationWorkflows", "NextPageToken", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ReadMask", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor, - new java.lang.String[] { - "MigrationSubtasks", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.ErrorDetailsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java deleted file mode 100644 index 92b6d4b..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface MigrationTaskOrchestrationResultOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Details specific to assessment task types.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - * - * @return Whether the assessmentDetails field is set. - */ - boolean hasAssessmentDetails(); - /** - * - * - *
-   * Details specific to assessment task types.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - * - * @return The assessmentDetails. - */ - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails - getAssessmentDetails(); - /** - * - * - *
-   * Details specific to assessment task types.
-   * 
- * - * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * - */ - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder - getAssessmentDetailsOrBuilder(); - - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.DetailsCase - getDetailsCase(); -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index ed49772..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface StartMigrationWorkflowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java deleted file mode 100644 index 11ca0ad..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface TeradataOptionsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TeradataOptions) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java deleted file mode 100644 index 17ebdd7..0000000 --- a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class TranslationTaskProto { - private TranslationTaskProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n>google/cloud/bigquery/migration/v2alph" - + "a/translation_task.proto\022\'google.cloud.b" - + "igquery.migration.v2alpha\"A\n\026Translation" - + "FileMapping\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013outpu" - + "t_path\030\002 \001(\t\"\372\010\n\026TranslationTaskDetails\022" - + "T\n\020teradata_options\030\n \001(\01328.google.cloud" - + ".bigquery.migration.v2alpha.TeradataOpti" - + "onsH\000\022L\n\014bteq_options\030\013 \001(\01324.google.clo" - + "ud.bigquery.migration.v2alpha.BteqOption" - + "sH\000\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013output_path\030\002" - + " \001(\t\022S\n\nfile_paths\030\014 \003(\0132?.google.cloud." - + "bigquery.migration.v2alpha.TranslationFi" - + "leMapping\022\023\n\013schema_path\030\003 \001(\t\022c\n\rfile_e" - + "ncoding\030\004 \001(\0162L.google.cloud.bigquery.mi" - + "gration.v2alpha.TranslationTaskDetails.F" - + "ileEncoding\022X\n\023identifier_settings\030\005 \001(\013" - + "2;.google.cloud.bigquery.migration.v2alp" - + "ha.IdentifierSettings\022o\n\021special_token_m" - + "ap\030\006 \003(\0132T.google.cloud.bigquery.migrati" - + "on.v2alpha.TranslationTaskDetails.Specia" - + "lTokenMapEntry\022?\n\006filter\030\007 \001(\0132/.google." - + "cloud.bigquery.migration.v2alpha.Filter\022" - + "#\n\033translation_exception_table\030\r \001(\t\032\201\001\n" - + "\024SpecialTokenMapEntry\022\013\n\003key\030\001 \001(\t\022X\n\005va" - + "lue\030\002 \001(\0162I.google.cloud.bigquery.migrat" - + "ion.v2alpha.TranslationTaskDetails.Token" - + "Type:\0028\001\"~\n\014FileEncoding\022\035\n\031FILE_ENCODIN" - + "G_UNSPECIFIED\020\000\022\t\n\005UTF_8\020\001\022\016\n\nISO_8859_1" - + "\020\002\022\014\n\010US_ASCII\020\003\022\n\n\006UTF_16\020\004\022\014\n\010UTF_16LE" - + "\020\005\022\014\n\010UTF_16BE\020\006\"{\n\tTokenType\022\032\n\026TOKEN_T" - + "YPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001\022\t\n\005INT64\020\002" - + "\022\013\n\007NUMERIC\020\003\022\010\n\004BOOL\020\004\022\013\n\007FLOAT64\020\005\022\010\n\004" - + "DATE\020\006\022\r\n\tTIMESTAMP\020\007B\022\n\020language_option" - + "s\"/\n\006Filter\022%\n\035input_file_exclusion_pref" - + "ixes\030\001 \003(\t\"\250\003\n\022IdentifierSettings\022j\n\026out" - + "put_identifier_case\030\001 \001(\0162J.google.cloud" - + ".bigquery.migration.v2alpha.IdentifierSe" - + "ttings.IdentifierCase\022r\n\027identifier_rewr" - + "ite_mode\030\002 \001(\0162Q.google.cloud.bigquery.m" - + "igration.v2alpha.IdentifierSettings.Iden" - + "tifierRewriteMode\"U\n\016IdentifierCase\022\037\n\033I" - + "DENTIFIER_CASE_UNSPECIFIED\020\000\022\014\n\010ORIGINAL" - + "\020\001\022\t\n\005UPPER\020\002\022\t\n\005LOWER\020\003\"[\n\025IdentifierRe" - + "writeMode\022\'\n#IDENTIFIER_REWRITE_MODE_UNS" - + "PECIFIED\020\000\022\010\n\004NONE\020\001\022\017\n\013REWRITE_ALL\020\002\"\021\n" - + "\017TeradataOptions\"\242\002\n\013BteqOptions\022R\n\017proj" - + "ect_dataset\030\001 \001(\01329.google.cloud.bigquer" - + "y.migration.v2alpha.DatasetReference\022\030\n\020" - + "default_path_uri\030\002 \001(\t\022j\n\024file_replaceme" - + "nt_map\030\003 \003(\0132L.google.cloud.bigquery.mig" - + "ration.v2alpha.BteqOptions.FileReplaceme" - + "ntMapEntry\0329\n\027FileReplacementMapEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\":\n\020Dataset" - + "Reference\022\022\n\ndataset_id\030\001 \001(\t\022\022\n\nproject" - + "_id\030\002 \001(\tB\353\001\n+com.google.cloud.bigquery." - + "migration.v2alphaB\024TranslationTaskProtoP" - + "\001ZPgoogle.golang.org/genproto/googleapis" - + "/cloud/bigquery/migration/v2alpha;migrat" - + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" - + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" - + "V2alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor, - new java.lang.String[] { - "InputPath", "OutputPath", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor, - new java.lang.String[] { - "TeradataOptions", - "BteqOptions", - "InputPath", - "OutputPath", - "FilePaths", - "SchemaPath", - "FileEncoding", - "IdentifierSettings", - "SpecialTokenMap", - "Filter", - "TranslationExceptionTable", - "LanguageOptions", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor = - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor, - new java.lang.String[] { - "InputFileExclusionPrefixes", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor, - new java.lang.String[] { - "OutputIdentifierCase", "IdentifierRewriteMode", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor, - new java.lang.String[] { - "ProjectDataset", "DefaultPathUri", "FileReplacementMap", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor = - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor, - new java.lang.String[] { - "DatasetId", "ProjectId", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} From e7a3f8972d5f119efd0e7f10c7a8c9006646bd3f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 13 Jul 2022 22:50:59 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../migration/v2/MigrationServiceClient.java | 42 +- .../v2/MigrationServiceSettings.java | 19 +- .../bigquery/migration/v2/gapic_metadata.json | 0 .../bigquery/migration/v2/package-info.java | 0 .../GrpcMigrationServiceCallableFactory.java | 0 .../v2/stub/GrpcMigrationServiceStub.java | 1 - ...tpJsonMigrationServiceCallableFactory.java | 0 .../v2/stub/HttpJsonMigrationServiceStub.java | 0 .../v2/stub/MigrationServiceStub.java | 0 .../v2/stub/MigrationServiceStubSettings.java | 45 +- .../v2alpha/MigrationServiceClient.java | 42 +- .../v2alpha/MigrationServiceSettings.java | 19 +- .../migration/v2alpha/gapic_metadata.json | 0 .../migration/v2alpha/package-info.java | 0 .../GrpcMigrationServiceCallableFactory.java | 0 .../stub/GrpcMigrationServiceStub.java | 1 - ...tpJsonMigrationServiceCallableFactory.java | 0 .../stub/HttpJsonMigrationServiceStub.java | 0 .../v2alpha/stub/MigrationServiceStub.java | 0 .../stub/MigrationServiceStubSettings.java | 45 +- .../MigrationServiceClientHttpJsonTest.java | 0 .../v2/MigrationServiceClientTest.java | 0 .../migration/v2/MockMigrationService.java | 0 .../v2/MockMigrationServiceImpl.java | 0 .../MigrationServiceClientHttpJsonTest.java | 0 .../v2alpha/MigrationServiceClientTest.java | 0 .../v2alpha/MockMigrationService.java | 0 .../v2alpha/MockMigrationServiceImpl.java | 0 .../migration/v2/MigrationServiceGrpc.java | 1129 +++++++++ .../v2alpha/MigrationServiceGrpc.java | 1136 +++++++++ .../migration/v2/MigrationServiceGrpc.java | 831 ------ .../v2/AzureSynapseDialectOrBuilder.java | 9 - .../v2/BigQueryDialectOrBuilder.java | 9 - ...eateMigrationWorkflowRequestOrBuilder.java | 58 - ...leteMigrationWorkflowRequestOrBuilder.java | 31 - .../migration/v2/HiveQLDialectOrBuilder.java | 9 - .../migration/v2/MigrationEntitiesProto.java | 161 -- .../v2/MigrationErrorDetailsProto.java | 96 - .../migration/v2/MigrationMetricsProto.java | 119 - .../migration/v2/MigrationServiceProto.java | 247 -- .../migration/v2/NetezzaDialectOrBuilder.java | 9 - .../migration/v2/OracleDialectOrBuilder.java | 9 - .../v2/PostgresqlDialectOrBuilder.java | 9 - .../migration/v2/PrestoDialectOrBuilder.java | 9 - .../v2/RedshiftDialectOrBuilder.java | 9 - .../v2/SQLServerDialectOrBuilder.java | 9 - .../v2/SnowflakeDialectOrBuilder.java | 9 - .../v2/SparkSQLDialectOrBuilder.java | 9 - ...tartMigrationWorkflowRequestOrBuilder.java | 31 - .../migration/v2/TranslationConfigProto.java | 328 --- .../migration/v2/VerticaDialectOrBuilder.java | 9 - .../v2alpha/MigrationServiceGrpc.java | 831 ------ .../v2alpha/AssessmentTaskProto.java | 78 - ...eateMigrationWorkflowRequestOrBuilder.java | 58 - ...leteMigrationWorkflowRequestOrBuilder.java | 31 - .../v2alpha/IdentifierSettingsOrBuilder.java | 47 - .../v2alpha/MigrationEntitiesProto.java | 191 -- .../v2alpha/MigrationErrorDetailsProto.java | 97 - .../v2alpha/MigrationMetricsProto.java | 120 - .../v2alpha/MigrationServiceProto.java | 261 -- ...ationTaskOrchestrationResultOrBuilder.java | 38 - ...tartMigrationWorkflowRequestOrBuilder.java | 31 - .../v2alpha/TeradataOptionsOrBuilder.java | 9 - .../v2alpha/TranslationTaskProto.java | 194 -- .../migration/v2/AzureSynapseDialect.java | 238 +- .../v2/AzureSynapseDialectOrBuilder.java | 24 + .../migration/v2/BigQueryDialect.java | 238 +- .../v2/BigQueryDialectOrBuilder.java | 24 + .../v2/CreateMigrationWorkflowRequest.java | 541 ++-- ...eateMigrationWorkflowRequestOrBuilder.java | 97 + .../v2/DeleteMigrationWorkflowRequest.java | 378 +-- ...leteMigrationWorkflowRequestOrBuilder.java | 56 + .../cloud/bigquery/migration/v2/Dialect.java | 2012 ++++++++++----- .../migration/v2/DialectOrBuilder.java | 125 +- .../bigquery/migration/v2/ErrorDetail.java | 471 ++-- .../migration/v2/ErrorDetailOrBuilder.java | 46 +- .../bigquery/migration/v2/ErrorLocation.java | 303 ++- .../migration/v2/ErrorLocationOrBuilder.java | 24 +- .../v2/GetMigrationSubtaskRequest.java | 495 ++-- .../GetMigrationSubtaskRequestOrBuilder.java | 52 +- .../v2/GetMigrationWorkflowRequest.java | 463 ++-- .../GetMigrationWorkflowRequestOrBuilder.java | 43 +- .../bigquery/migration/v2/HiveQLDialect.java | 235 +- .../migration/v2/HiveQLDialectOrBuilder.java | 24 + .../v2/ListMigrationSubtasksRequest.java | 693 +++-- ...ListMigrationSubtasksRequestOrBuilder.java | 73 +- .../v2/ListMigrationSubtasksResponse.java | 591 +++-- ...istMigrationSubtasksResponseOrBuilder.java | 56 +- .../v2/ListMigrationWorkflowsRequest.java | 576 +++-- ...istMigrationWorkflowsRequestOrBuilder.java | 55 +- .../v2/ListMigrationWorkflowsResponse.java | 598 +++-- ...stMigrationWorkflowsResponseOrBuilder.java | 56 +- .../bigquery/migration/v2/LocationName.java | 0 .../migration/v2/MigrationEntitiesProto.java | 197 ++ .../v2/MigrationErrorDetailsProto.java | 113 + .../migration/v2/MigrationMetricsProto.java | 137 + .../migration/v2/MigrationServiceProto.java | 270 ++ .../migration/v2/MigrationSubtask.java | 1494 +++++++---- .../migration/v2/MigrationSubtaskName.java | 0 .../v2/MigrationSubtaskOrBuilder.java | 159 +- .../bigquery/migration/v2/MigrationTask.java | 1181 ++++++--- .../migration/v2/MigrationTaskOrBuilder.java | 114 +- .../migration/v2/MigrationWorkflow.java | 1066 +++++--- .../migration/v2/MigrationWorkflowName.java | 0 .../v2/MigrationWorkflowOrBuilder.java | 104 +- .../bigquery/migration/v2/NameMappingKey.java | 726 +++--- .../migration/v2/NameMappingKeyOrBuilder.java | 60 +- .../migration/v2/NameMappingValue.java | 553 ++-- .../v2/NameMappingValueOrBuilder.java | 54 +- .../bigquery/migration/v2/NetezzaDialect.java | 238 +- .../migration/v2/NetezzaDialectOrBuilder.java | 24 + .../migration/v2/ObjectNameMapping.java | 440 ++-- .../migration/v2/ObjectNameMappingList.java | 392 +-- .../v2/ObjectNameMappingListOrBuilder.java | 36 +- .../v2/ObjectNameMappingOrBuilder.java | 34 +- .../bigquery/migration/v2/OracleDialect.java | 235 +- .../migration/v2/OracleDialectOrBuilder.java | 24 + .../cloud/bigquery/migration/v2/Point.java | 425 ++-- .../bigquery/migration/v2/PointOrBuilder.java | 34 +- .../migration/v2/PostgresqlDialect.java | 238 +- .../v2/PostgresqlDialectOrBuilder.java | 24 + .../bigquery/migration/v2/PrestoDialect.java | 235 +- .../migration/v2/PrestoDialectOrBuilder.java | 24 + .../migration/v2/RedshiftDialect.java | 238 +- .../v2/RedshiftDialectOrBuilder.java | 24 + .../migration/v2/ResourceErrorDetail.java | 629 +++-- .../v2/ResourceErrorDetailOrBuilder.java | 76 +- .../migration/v2/SQLServerDialect.java | 238 +- .../v2/SQLServerDialectOrBuilder.java | 24 + .../migration/v2/SnowflakeDialect.java | 238 +- .../v2/SnowflakeDialectOrBuilder.java | 24 + .../bigquery/migration/v2/SourceEnv.java | 419 +-- .../migration/v2/SourceEnvOrBuilder.java | 45 +- .../migration/v2/SparkSQLDialect.java | 238 +- .../v2/SparkSQLDialectOrBuilder.java | 24 + .../v2/StartMigrationWorkflowRequest.java | 375 +-- ...tartMigrationWorkflowRequestOrBuilder.java | 56 + .../migration/v2/TeradataDialect.java | 375 +-- .../v2/TeradataDialectOrBuilder.java | 24 +- .../bigquery/migration/v2/TimeInterval.java | 476 ++-- .../migration/v2/TimeIntervalOrBuilder.java | 43 +- .../bigquery/migration/v2/TimeSeries.java | 732 ++++-- .../migration/v2/TimeSeriesOrBuilder.java | 93 +- .../v2/TranslationConfigDetails.java | 992 +++++--- .../v2/TranslationConfigDetailsOrBuilder.java | 86 +- .../migration/v2/TranslationConfigProto.java | 357 +++ .../bigquery/migration/v2/TypedValue.java | 650 +++-- .../migration/v2/TypedValueOrBuilder.java | 56 +- .../bigquery/migration/v2/VerticaDialect.java | 238 +- .../migration/v2/VerticaDialectOrBuilder.java | 24 + .../migration/v2/migration_entities.proto | 0 .../v2/migration_error_details.proto | 0 .../migration/v2/migration_metrics.proto | 0 .../migration/v2/migration_service.proto | 0 .../migration/v2/translation_config.proto | 0 .../AssessmentOrchestrationResultDetails.java | 447 ++-- ...ntOrchestrationResultDetailsOrBuilder.java | 27 +- .../v2alpha/AssessmentTaskDetails.java | 582 +++-- .../AssessmentTaskDetailsOrBuilder.java | 54 +- .../v2alpha/AssessmentTaskProto.java | 94 + .../migration/v2alpha/BteqOptions.java | 673 ++--- .../v2alpha/BteqOptionsOrBuilder.java | 69 +- .../CreateMigrationWorkflowRequest.java | 605 +++-- ...eateMigrationWorkflowRequestOrBuilder.java | 98 + .../migration/v2alpha/DatasetReference.java | 400 +-- .../v2alpha/DatasetReferenceOrBuilder.java | 36 +- .../DeleteMigrationWorkflowRequest.java | 441 ++-- ...leteMigrationWorkflowRequestOrBuilder.java | 56 + .../migration/v2alpha/ErrorDetail.java | 477 ++-- .../v2alpha/ErrorDetailOrBuilder.java | 46 +- .../migration/v2alpha/ErrorLocation.java | 306 ++- .../v2alpha/ErrorLocationOrBuilder.java | 24 +- .../bigquery/migration/v2alpha/Filter.java | 350 +-- .../migration/v2alpha/FilterOrBuilder.java | 36 +- .../v2alpha/GetMigrationSubtaskRequest.java | 502 ++-- .../GetMigrationSubtaskRequestOrBuilder.java | 52 +- .../v2alpha/GetMigrationWorkflowRequest.java | 473 ++-- .../GetMigrationWorkflowRequestOrBuilder.java | 43 +- .../migration/v2alpha/IdentifierSettings.java | 620 +++-- .../v2alpha/IdentifierSettingsOrBuilder.java | 85 + .../v2alpha/ListMigrationSubtasksRequest.java | 706 ++++-- ...ListMigrationSubtasksRequestOrBuilder.java | 73 +- .../ListMigrationSubtasksResponse.java | 643 +++-- ...istMigrationSubtasksResponseOrBuilder.java | 65 +- .../ListMigrationWorkflowsRequest.java | 596 +++-- ...istMigrationWorkflowsRequestOrBuilder.java | 55 +- .../ListMigrationWorkflowsResponse.java | 689 +++-- ...stMigrationWorkflowsResponseOrBuilder.java | 65 +- .../migration/v2alpha/LocationName.java | 0 .../v2alpha/MigrationEntitiesProto.java | 232 ++ .../v2alpha/MigrationErrorDetailsProto.java | 114 + .../v2alpha/MigrationMetricsProto.java | 138 + .../v2alpha/MigrationServiceProto.java | 285 +++ .../migration/v2alpha/MigrationSubtask.java | 1496 +++++++---- .../v2alpha/MigrationSubtaskName.java | 0 .../v2alpha/MigrationSubtaskOrBuilder.java | 162 +- .../migration/v2alpha/MigrationTask.java | 1685 ++++++++---- .../v2alpha/MigrationTaskOrBuilder.java | 174 +- .../MigrationTaskOrchestrationResult.java | 612 +++-- ...ationTaskOrchestrationResultOrBuilder.java | 71 + .../migration/v2alpha/MigrationWorkflow.java | 1119 ++++---- .../v2alpha/MigrationWorkflowName.java | 0 .../v2alpha/MigrationWorkflowOrBuilder.java | 118 +- .../bigquery/migration/v2alpha/Point.java | 438 ++-- .../migration/v2alpha/PointOrBuilder.java | 34 +- .../v2alpha/ResourceErrorDetail.java | 671 +++-- .../v2alpha/ResourceErrorDetailOrBuilder.java | 73 +- .../StartMigrationWorkflowRequest.java | 395 +-- ...tartMigrationWorkflowRequestOrBuilder.java | 56 + .../migration/v2alpha/TeradataOptions.java | 238 +- .../v2alpha/TeradataOptionsOrBuilder.java | 24 + .../migration/v2alpha/TimeInterval.java | 479 ++-- .../v2alpha/TimeIntervalOrBuilder.java | 43 +- .../migration/v2alpha/TimeSeries.java | 735 ++++-- .../v2alpha/TimeSeriesOrBuilder.java | 93 +- .../v2alpha/TranslationFileMapping.java | 426 ++-- .../TranslationFileMappingOrBuilder.java | 36 +- .../v2alpha/TranslationTaskDetails.java | 2257 +++++++++++------ .../TranslationTaskDetailsOrBuilder.java | 248 +- .../v2alpha/TranslationTaskProto.java | 228 ++ .../migration/v2alpha/TypedValue.java | 653 +++-- .../v2alpha/TypedValueOrBuilder.java | 56 +- .../migration/v2alpha/assessment_task.proto | 0 .../v2alpha/migration_entities.proto | 0 .../v2alpha/migration_error_details.proto | 0 .../migration/v2alpha/migration_metrics.proto | 0 .../migration/v2alpha/migration_service.proto | 0 .../migration/v2alpha/translation_task.proto | 0 228 files changed, 33610 insertions(+), 19754 deletions(-) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java (97%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java (94%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java (99%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java (95%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java (97%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java (94%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java (99%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java (95%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java (100%) rename {owl-bot-staging/v2/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java (100%) rename {owl-bot-staging/v2alpha/google-cloud-bigquerymigration => google-cloud-bigquerymigration}/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java (100%) create mode 100644 grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java create mode 100644 grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java delete mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java delete mode 100644 owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java (60%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java (62%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java (89%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java (60%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java (57%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java (55%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java (57%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java (100%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java (62%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java (80%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java (68%) create mode 100644 proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2 => proto-google-cloud-bigquerymigration-v2}/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java (57%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java (54%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java (71%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java (68%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java (72%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java (55%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java (70%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java (62%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java (55%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java (67%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java (60%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java (58%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java (64%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java (64%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java (55%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java (64%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java (57%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java (62%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java (69%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java (63%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java (54%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java (67%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java (67%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java (60%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java (54%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java (100%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java (69%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java (63%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java (65%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java (52%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java (65%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java (69%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java (75%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java (83%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java (65%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java (57%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java (60%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java (67%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java (70%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java (71%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java (67%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java (58%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java (65%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java (71%) create mode 100644 proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java (72%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java (77%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto (100%) rename {owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha => proto-google-cloud-bigquerymigration-v2alpha}/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto (100%) diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java similarity index 97% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java index 864af60..5ee019f 100644 --- a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java @@ -59,13 +59,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1077,8 +1077,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListMigrationWorkflowsPagedResponse extends AbstractPagedListResponse< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, - ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, + MigrationWorkflow, + ListMigrationWorkflowsPage, + ListMigrationWorkflowsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1100,7 +1103,9 @@ private ListMigrationWorkflowsPagedResponse(ListMigrationWorkflowsPage page) { public static class ListMigrationWorkflowsPage extends AbstractPage< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, + MigrationWorkflow, ListMigrationWorkflowsPage> { private ListMigrationWorkflowsPage( @@ -1136,8 +1141,11 @@ public ApiFuture createPageAsync( public static class ListMigrationWorkflowsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, - ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, + MigrationWorkflow, + ListMigrationWorkflowsPage, + ListMigrationWorkflowsFixedSizeCollection> { private ListMigrationWorkflowsFixedSizeCollection( List pages, int collectionSize) { @@ -1157,8 +1165,11 @@ protected ListMigrationWorkflowsFixedSizeCollection createCollection( public static class ListMigrationSubtasksPagedResponse extends AbstractPagedListResponse< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, - ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, + MigrationSubtask, + ListMigrationSubtasksPage, + ListMigrationSubtasksFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -1179,7 +1190,9 @@ private ListMigrationSubtasksPagedResponse(ListMigrationSubtasksPage page) { public static class ListMigrationSubtasksPage extends AbstractPage< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, + MigrationSubtask, ListMigrationSubtasksPage> { private ListMigrationSubtasksPage( @@ -1212,8 +1225,11 @@ public ApiFuture createPageAsync( public static class ListMigrationSubtasksFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, - ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, + MigrationSubtask, + ListMigrationSubtasksPage, + ListMigrationSubtasksFixedSizeCollection> { private ListMigrationSubtasksFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java similarity index 94% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java index d10756f..d47dede 100644 --- a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.migration.v2.stub.MigrationServiceStubSettings; @@ -45,10 +44,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -90,7 +89,8 @@ public class MigrationServiceSettings extends ClientSettings listMigrationWorkflowsSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationWorkflowsSettings(); @@ -115,7 +115,8 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationSubtasksSettings(); @@ -250,7 +251,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return getStubSettingsBuilder().listMigrationWorkflowsSettings(); @@ -276,7 +278,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return getStubSettingsBuilder().listMigrationSubtasksSettings(); diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java index fdf2f7a..375474d 100644 --- a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java @@ -42,7 +42,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java similarity index 95% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java index 163bf18..f297382 100644 --- a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java @@ -72,10 +72,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -111,7 +111,8 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationWorkflowSettings; private final PagedCallSettings< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings @@ -121,7 +122,8 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationSubtaskSettings; private final PagedCallSettings< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; @@ -210,11 +212,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> LIST_MIGRATION_WORKFLOWS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -224,7 +228,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, MigrationWorkflow> pageContext = PageContext.create( @@ -234,11 +239,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> LIST_MIGRATION_SUBTASKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -269,7 +276,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -294,7 +302,8 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; @@ -423,7 +432,8 @@ public static class Builder extends StubSettings.Builder getMigrationWorkflowSettings; private final PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings.Builder @@ -433,7 +443,8 @@ public static class Builder extends StubSettings.Builder getMigrationSubtaskSettings; private final PagedCallSettings.Builder< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; private static final ImmutableMap> @@ -625,7 +636,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -651,7 +663,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java similarity index 97% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java index e7de31f..cb49f5c 100644 --- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java @@ -60,13 +60,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1079,8 +1079,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListMigrationWorkflowsPagedResponse extends AbstractPagedListResponse< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, - ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, + MigrationWorkflow, + ListMigrationWorkflowsPage, + ListMigrationWorkflowsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1102,7 +1105,9 @@ private ListMigrationWorkflowsPagedResponse(ListMigrationWorkflowsPage page) { public static class ListMigrationWorkflowsPage extends AbstractPage< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, + MigrationWorkflow, ListMigrationWorkflowsPage> { private ListMigrationWorkflowsPage( @@ -1138,8 +1143,11 @@ public ApiFuture createPageAsync( public static class ListMigrationWorkflowsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, MigrationWorkflow, - ListMigrationWorkflowsPage, ListMigrationWorkflowsFixedSizeCollection> { + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, + MigrationWorkflow, + ListMigrationWorkflowsPage, + ListMigrationWorkflowsFixedSizeCollection> { private ListMigrationWorkflowsFixedSizeCollection( List pages, int collectionSize) { @@ -1159,8 +1167,11 @@ protected ListMigrationWorkflowsFixedSizeCollection createCollection( public static class ListMigrationSubtasksPagedResponse extends AbstractPagedListResponse< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, - ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, + MigrationSubtask, + ListMigrationSubtasksPage, + ListMigrationSubtasksFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -1181,7 +1192,9 @@ private ListMigrationSubtasksPagedResponse(ListMigrationSubtasksPage page) { public static class ListMigrationSubtasksPage extends AbstractPage< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, + MigrationSubtask, ListMigrationSubtasksPage> { private ListMigrationSubtasksPage( @@ -1214,8 +1227,11 @@ public ApiFuture createPageAsync( public static class ListMigrationSubtasksFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, MigrationSubtask, - ListMigrationSubtasksPage, ListMigrationSubtasksFixedSizeCollection> { + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, + MigrationSubtask, + ListMigrationSubtasksPage, + ListMigrationSubtasksFixedSizeCollection> { private ListMigrationSubtasksFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java similarity index 94% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java index 9a2033f..f89c40a 100644 --- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.migration.v2alpha.stub.MigrationServiceStubSettings; @@ -45,10 +44,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -91,7 +90,8 @@ public class MigrationServiceSettings extends ClientSettings listMigrationWorkflowsSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationWorkflowsSettings(); @@ -116,7 +116,8 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return ((MigrationServiceStubSettings) getStubSettings()).listMigrationSubtasksSettings(); @@ -251,7 +252,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return getStubSettingsBuilder().listMigrationWorkflowsSettings(); @@ -277,7 +279,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return getStubSettingsBuilder().listMigrationSubtasksSettings(); diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java similarity index 99% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java index c7c8386..df1d9db 100644 --- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java @@ -43,7 +43,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java similarity index 95% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java index 7727ae5..37c6cb9 100644 --- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java @@ -72,10 +72,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -112,7 +112,8 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationWorkflowSettings; private final PagedCallSettings< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings @@ -122,7 +123,8 @@ public class MigrationServiceStubSettings extends StubSettings getMigrationSubtaskSettings; private final PagedCallSettings< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; @@ -211,11 +213,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> LIST_MIGRATION_WORKFLOWS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -225,7 +229,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, MigrationWorkflow> pageContext = PageContext.create( @@ -235,11 +240,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> LIST_MIGRATION_SUBTASKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -270,7 +277,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -295,7 +303,8 @@ public UnaryCallSettings startMigrationWor /** Returns the object with the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; @@ -424,7 +433,8 @@ public static class Builder extends StubSettings.Builder getMigrationWorkflowSettings; private final PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings; private final UnaryCallSettings.Builder @@ -434,7 +444,8 @@ public static class Builder extends StubSettings.Builder getMigrationSubtaskSettings; private final PagedCallSettings.Builder< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings; private static final ImmutableMap> @@ -623,7 +634,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationWorkflows. */ public PagedCallSettings.Builder< - ListMigrationWorkflowsRequest, ListMigrationWorkflowsResponse, + ListMigrationWorkflowsRequest, + ListMigrationWorkflowsResponse, ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings() { return listMigrationWorkflowsSettings; @@ -649,7 +661,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMigrationSubtasks. */ public PagedCallSettings.Builder< - ListMigrationSubtasksRequest, ListMigrationSubtasksResponse, + ListMigrationSubtasksRequest, + ListMigrationSubtasksResponse, ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings() { return listMigrationSubtasksSettings; diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java similarity index 100% rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java diff --git a/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java new file mode 100644 index 0000000..fab01f0 --- /dev/null +++ b/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java @@ -0,0 +1,1129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.bigquery.migration.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Service to handle EDW migrations.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/migration/v2/migration_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MigrationServiceGrpc { + + private MigrationServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2.MigrationService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getCreateMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getCreateMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getCreateMigrationWorkflowMethod; + if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getCreateMigrationWorkflowMethod = + MigrationServiceGrpc.getCreateMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getCreateMigrationWorkflowMethod = + getCreateMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) + .build(); + } + } + } + return getCreateMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getGetMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getGetMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getGetMigrationWorkflowMethod; + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getGetMigrationWorkflowMethod = + getGetMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) + .build(); + } + } + } + return getGetMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> + getListMigrationWorkflowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", + requestType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> + getListMigrationWorkflowsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> + getListMigrationWorkflowsMethod; + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) + == null) { + MigrationServiceGrpc.getListMigrationWorkflowsMethod = + getListMigrationWorkflowsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) + .build(); + } + } + } + return getListMigrationWorkflowsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty> + getDeleteMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty> + getDeleteMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty> + getDeleteMigrationWorkflowMethod; + if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getDeleteMigrationWorkflowMethod = + MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = + getDeleteMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) + .build(); + } + } + } + return getDeleteMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, + com.google.protobuf.Empty> + getStartMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, + com.google.protobuf.Empty> + getStartMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, + com.google.protobuf.Empty> + getStartMigrationWorkflowMethod; + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getStartMigrationWorkflowMethod = + getStartMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) + .build(); + } + } + } + return getStartMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2.MigrationSubtask> + getGetMigrationSubtaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", + requestType = com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2.MigrationSubtask> + getGetMigrationSubtaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2.MigrationSubtask> + getGetMigrationSubtaskMethod; + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) + == null) { + MigrationServiceGrpc.getGetMigrationSubtaskMethod = + getGetMigrationSubtaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.MigrationSubtask + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) + .build(); + } + } + } + return getGetMigrationSubtaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> + getListMigrationSubtasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", + requestType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, + responseType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> + getListMigrationSubtasksMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> + getListMigrationSubtasksMethod; + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) + == null) { + MigrationServiceGrpc.getListMigrationSubtasksMethod = + getListMigrationSubtasksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) + .build(); + } + } + } + return getListMigrationSubtasksMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static MigrationServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + }; + return MigrationServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MigrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + }; + return MigrationServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static MigrationServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + }; + return MigrationServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public abstract static class MigrationServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMigrationWorkflowsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMigrationSubtaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMigrationSubtasksMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( + this, METHODID_CREATE_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( + this, METHODID_GET_MIGRATION_WORKFLOW))) + .addMethod( + getListMigrationWorkflowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>( + this, METHODID_LIST_MIGRATION_WORKFLOWS))) + .addMethod( + getDeleteMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_MIGRATION_WORKFLOW))) + .addMethod( + getStartMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, + com.google.protobuf.Empty>(this, METHODID_START_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationSubtaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2.MigrationSubtask>( + this, METHODID_GET_MIGRATION_SUBTASK))) + .addMethod( + getListMigrationSubtasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>( + this, METHODID_LIST_MIGRATION_SUBTASKS))) + .build(); + } + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private MigrationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private MigrationServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.protobuf.Empty deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.protobuf.Empty startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtask( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private MigrationServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow> + getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse> + listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2.MigrationSubtask> + getMigrationSubtask( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse> + listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; + private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; + private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; + private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; + private static final int METHODID_START_MIGRATION_WORKFLOW = 4; + private static final int METHODID_GET_MIGRATION_SUBTASK = 5; + private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final MigrationServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_MIGRATION_WORKFLOW: + serviceImpl.createMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>) + responseObserver); + break; + case METHODID_GET_MIGRATION_WORKFLOW: + serviceImpl.getMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>) + responseObserver); + break; + case METHODID_LIST_MIGRATION_WORKFLOWS: + serviceImpl.listMigrationWorkflows( + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>) + responseObserver); + break; + case METHODID_DELETE_MIGRATION_WORKFLOW: + serviceImpl.deleteMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MIGRATION_WORKFLOW: + serviceImpl.startMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATION_SUBTASK: + serviceImpl.getMigrationSubtask( + (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_MIGRATION_SUBTASKS: + serviceImpl.listMigrationSubtasks( + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MigrationServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MigrationService"); + } + } + + private static final class MigrationServiceFileDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier { + MigrationServiceFileDescriptorSupplier() {} + } + + private static final class MigrationServiceMethodDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + MigrationServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MigrationServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) + .addMethod(getCreateMigrationWorkflowMethod()) + .addMethod(getGetMigrationWorkflowMethod()) + .addMethod(getListMigrationWorkflowsMethod()) + .addMethod(getDeleteMigrationWorkflowMethod()) + .addMethod(getStartMigrationWorkflowMethod()) + .addMethod(getGetMigrationSubtaskMethod()) + .addMethod(getListMigrationSubtasksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java new file mode 100644 index 0000000..0091e32 --- /dev/null +++ b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java @@ -0,0 +1,1136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.bigquery.migration.v2alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service to handle EDW migrations.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/migration/v2alpha/migration_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MigrationServiceGrpc { + + private MigrationServiceGrpc() {} + + public static final String SERVICE_NAME = + "google.cloud.bigquery.migration.v2alpha.MigrationService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getCreateMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", + requestType = + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getCreateMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getCreateMigrationWorkflowMethod; + if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getCreateMigrationWorkflowMethod = + MigrationServiceGrpc.getCreateMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getCreateMigrationWorkflowMethod = + getCreateMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .CreateMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) + .build(); + } + } + } + return getCreateMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getGetMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getGetMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getGetMigrationWorkflowMethod; + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getGetMigrationWorkflowMethod = + getGetMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .GetMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) + .build(); + } + } + } + return getGetMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> + getListMigrationWorkflowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", + requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, + responseType = + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> + getListMigrationWorkflowsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> + getListMigrationWorkflowsMethod; + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) + == null) { + MigrationServiceGrpc.getListMigrationWorkflowsMethod = + getListMigrationWorkflowsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .ListMigrationWorkflowsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .ListMigrationWorkflowsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) + .build(); + } + } + } + return getListMigrationWorkflowsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty> + getDeleteMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", + requestType = + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty> + getDeleteMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty> + getDeleteMigrationWorkflowMethod; + if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getDeleteMigrationWorkflowMethod = + MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = + getDeleteMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .DeleteMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) + .build(); + } + } + } + return getDeleteMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, + com.google.protobuf.Empty> + getStartMigrationWorkflowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", + requestType = com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, + com.google.protobuf.Empty> + getStartMigrationWorkflowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, + com.google.protobuf.Empty> + getStartMigrationWorkflowMethod; + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) + == null) { + MigrationServiceGrpc.getStartMigrationWorkflowMethod = + getStartMigrationWorkflowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .StartMigrationWorkflowRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) + .build(); + } + } + } + return getStartMigrationWorkflowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> + getGetMigrationSubtaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", + requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, + responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> + getGetMigrationSubtaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> + getGetMigrationSubtaskMethod; + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) + == null) { + MigrationServiceGrpc.getGetMigrationSubtaskMethod = + getGetMigrationSubtaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask + .getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) + .build(); + } + } + } + return getGetMigrationSubtaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> + getListMigrationSubtasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", + requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, + responseType = + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> + getListMigrationSubtasksMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> + getListMigrationSubtasksMethod; + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) + == null) { + synchronized (MigrationServiceGrpc.class) { + if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) + == null) { + MigrationServiceGrpc.getListMigrationSubtasksMethod = + getListMigrationSubtasksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .ListMigrationSubtasksRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.migration.v2alpha + .ListMigrationSubtasksResponse.getDefaultInstance())) + .setSchemaDescriptor( + new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) + .build(); + } + } + } + return getListMigrationSubtasksMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static MigrationServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + }; + return MigrationServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MigrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + }; + return MigrationServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static MigrationServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MigrationServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + }; + return MigrationServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public abstract static class MigrationServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMigrationWorkflowsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartMigrationWorkflowMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMigrationSubtaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMigrationSubtasksMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( + this, METHODID_CREATE_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( + this, METHODID_GET_MIGRATION_WORKFLOW))) + .addMethod( + getListMigrationWorkflowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>( + this, METHODID_LIST_MIGRATION_WORKFLOWS))) + .addMethod( + getDeleteMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_MIGRATION_WORKFLOW))) + .addMethod( + getStartMigrationWorkflowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, + com.google.protobuf.Empty>(this, METHODID_START_MIGRATION_WORKFLOW))) + .addMethod( + getGetMigrationSubtaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>( + this, METHODID_GET_MIGRATION_SUBTASK))) + .addMethod( + getListMigrationSubtasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>( + this, METHODID_LIST_MIGRATION_SUBTASKS))) + .build(); + } + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private MigrationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public void createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public void getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public void listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public void deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public void startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public void getMigrationSubtask( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public void listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private MigrationServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.protobuf.Empty deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.protobuf.Empty startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtask( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Service to handle EDW migrations.
+   * 
+ */ + public static final class MigrationServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private MigrationServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MigrationServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MigrationServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + createMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> + getMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists previously created migration workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> + listMigrationWorkflows( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a migration workflow by name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts a previously created migration workflow. I.e., the state transitions
+     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+     * An error will be signaled if the state is anything other than DRAFT or
+     * RUNNING.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + startMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a previously created migration subtask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask> + getMigrationSubtask( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists previously created migration subtasks.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> + listMigrationSubtasks( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; + private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; + private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; + private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; + private static final int METHODID_START_MIGRATION_WORKFLOW = 4; + private static final int METHODID_GET_MIGRATION_SUBTASK = 5; + private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final MigrationServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_MIGRATION_WORKFLOW: + serviceImpl.createMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>) + responseObserver); + break; + case METHODID_GET_MIGRATION_WORKFLOW: + serviceImpl.getMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>) + responseObserver); + break; + case METHODID_LIST_MIGRATION_WORKFLOWS: + serviceImpl.listMigrationWorkflows( + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>) + responseObserver); + break; + case METHODID_DELETE_MIGRATION_WORKFLOW: + serviceImpl.deleteMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MIGRATION_WORKFLOW: + serviceImpl.startMigrationWorkflow( + (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATION_SUBTASK: + serviceImpl.getMigrationSubtask( + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>) + responseObserver); + break; + case METHODID_LIST_MIGRATION_SUBTASKS: + serviceImpl.listMigrationSubtasks( + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MigrationServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MigrationService"); + } + } + + private static final class MigrationServiceFileDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier { + MigrationServiceFileDescriptorSupplier() {} + } + + private static final class MigrationServiceMethodDescriptorSupplier + extends MigrationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + MigrationServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MigrationServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) + .addMethod(getCreateMigrationWorkflowMethod()) + .addMethod(getGetMigrationWorkflowMethod()) + .addMethod(getListMigrationWorkflowsMethod()) + .addMethod(getDeleteMigrationWorkflowMethod()) + .addMethod(getStartMigrationWorkflowMethod()) + .addMethod(getGetMigrationSubtaskMethod()) + .addMethod(getListMigrationSubtasksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java deleted file mode 100644 index ab32596..0000000 --- a/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java +++ /dev/null @@ -1,831 +0,0 @@ -package com.google.cloud.bigquery.migration.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service to handle EDW migrations.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/migration/v2/migration_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MigrationServiceGrpc { - - private MigrationServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2.MigrationService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; - if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getCreateMigrationWorkflowMethod = getCreateMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) - .build(); - } - } - } - return getCreateMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getGetMigrationWorkflowMethod = getGetMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) - .build(); - } - } - } - return getGetMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", - requestType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMigrationWorkflowsMethod() { - io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { - MigrationServiceGrpc.getListMigrationWorkflowsMethod = getListMigrationWorkflowsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) - .build(); - } - } - } - return getListMigrationWorkflowsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; - if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = getDeleteMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) - .build(); - } - } - } - return getDeleteMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getStartMigrationWorkflowMethod = getStartMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) - .build(); - } - } - } - return getStartMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", - requestType = com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMigrationSubtaskMethod() { - io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { - MigrationServiceGrpc.getGetMigrationSubtaskMethod = getGetMigrationSubtaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) - .build(); - } - } - } - return getGetMigrationSubtaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMigrationSubtasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", - requestType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, - responseType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMigrationSubtasksMethod() { - io.grpc.MethodDescriptor getListMigrationSubtasksMethod; - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { - MigrationServiceGrpc.getListMigrationSubtasksMethod = getListMigrationSubtasksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) - .build(); - } - } - } - return getListMigrationSubtasksMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static MigrationServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - }; - return MigrationServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MigrationServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - }; - return MigrationServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static MigrationServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - }; - return MigrationServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static abstract class MigrationServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationWorkflowsMethod(), responseObserver); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationSubtaskMethod(), responseObserver); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationSubtasksMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( - this, METHODID_CREATE_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2.MigrationWorkflow>( - this, METHODID_GET_MIGRATION_WORKFLOW))) - .addMethod( - getListMigrationWorkflowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>( - this, METHODID_LIST_MIGRATION_WORKFLOWS))) - .addMethod( - getDeleteMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MIGRATION_WORKFLOW))) - .addMethod( - getStartMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest, - com.google.protobuf.Empty>( - this, METHODID_START_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationSubtaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2.MigrationSubtask>( - this, METHODID_GET_MIGRATION_SUBTASK))) - .addMethod( - getListMigrationSubtasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>( - this, METHODID_LIST_MIGRATION_SUBTASKS))) - .build(); - } - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub { - private MigrationServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private MigrationServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.protobuf.Empty deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.protobuf.Empty startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private MigrationServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMigrationSubtask( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; - private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; - private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; - private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; - private static final int METHODID_START_MIGRATION_WORKFLOW = 4; - private static final int METHODID_GET_MIGRATION_SUBTASK = 5; - private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final MigrationServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_MIGRATION_WORKFLOW: - serviceImpl.createMigrationWorkflow((com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATION_WORKFLOW: - serviceImpl.getMigrationWorkflow((com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MIGRATION_WORKFLOWS: - serviceImpl.listMigrationWorkflows((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MIGRATION_WORKFLOW: - serviceImpl.deleteMigrationWorkflow((com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MIGRATION_WORKFLOW: - serviceImpl.startMigrationWorkflow((com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATION_SUBTASK: - serviceImpl.getMigrationSubtask((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MIGRATION_SUBTASKS: - serviceImpl.listMigrationSubtasks((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MigrationServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MigrationService"); - } - } - - private static final class MigrationServiceFileDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier { - MigrationServiceFileDescriptorSupplier() {} - } - - private static final class MigrationServiceMethodDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - MigrationServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MigrationServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) - .addMethod(getCreateMigrationWorkflowMethod()) - .addMethod(getGetMigrationWorkflowMethod()) - .addMethod(getListMigrationWorkflowsMethod()) - .addMethod(getDeleteMigrationWorkflowMethod()) - .addMethod(getStartMigrationWorkflowMethod()) - .addMethod(getGetMigrationSubtaskMethod()) - .addMethod(getListMigrationSubtasksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java deleted file mode 100644 index 6006ad2..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface AzureSynapseDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.AzureSynapseDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java deleted file mode 100644 index 3314e59..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface BigQueryDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.BigQueryDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 0dc642c..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface CreateMigrationWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The migration workflow to create.
-   * 
- * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the migrationWorkflow field is set. - */ - boolean hasMigrationWorkflow(); - /** - *
-   * Required. The migration workflow to create.
-   * 
- * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The migrationWorkflow. - */ - com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(); - /** - *
-   * Required. The migration workflow to create.
-   * 
- * - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 891154d..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface DeleteMigrationWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java deleted file mode 100644 index 0a23fbc..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface HiveQLDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.HiveQLDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java deleted file mode 100644 index 29eba6a..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java +++ /dev/null @@ -1,161 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_entities.proto - -package com.google.cloud.bigquery.migration.v2; - -public final class MigrationEntitiesProto { - private MigrationEntitiesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/bigquery/migration/v2/mig" + - "ration_entities.proto\022\"google.cloud.bigq" + - "uery.migration.v2\032\037google/api/field_beha" + - "vior.proto\032\031google/api/resource.proto\032@g" + - "oogle/cloud/bigquery/migration/v2/migrat" + - "ion_error_details.proto\032:google/cloud/bi" + - "gquery/migration/v2/migration_metrics.pr" + - "oto\032;google/cloud/bigquery/migration/v2/" + - "translation_config.proto\032\037google/protobu" + - "f/timestamp.proto\032\036google/rpc/error_deta" + - "ils.proto\"\363\004\n\021MigrationWorkflow\022\024\n\004name\030" + - "\001 \001(\tB\006\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022O\n\005t" + - "asks\030\002 \003(\0132@.google.cloud.bigquery.migra" + - "tion.v2.MigrationWorkflow.TasksEntry\022O\n\005" + - "state\030\003 \001(\0162;.google.cloud.bigquery.migr" + - "ation.v2.MigrationWorkflow.StateB\003\340A\003\022/\n" + - "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + - "estamp\0224\n\020last_update_time\030\005 \001(\0132\032.googl" + - "e.protobuf.Timestamp\032_\n\nTasksEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.google.cloud.bi" + - "gquery.migration.v2.MigrationTask:\0028\001\"Q\n" + - "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005DRAFT\020\001" + - "\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOMPLETED\020\004" + - ":u\352Ar\n2bigquerymigration.googleapis.com/" + - "MigrationWorkflow\022\n\006points\030\004 \003" + - "(\0132).google.cloud.bigquery.migration.v2." + - "PointB\003\340A\002\"\212\001\n\005Point\022B\n\010interval\030\001 \001(\01320" + - ".google.cloud.bigquery.migration.v2.Time" + - "Interval\022=\n\005value\030\002 \001(\0132..google.cloud.b" + - "igquery.migration.v2.TypedValue\"v\n\014TimeI" + - "nterval\0223\n\nstart_time\030\001 \001(\0132\032.google.pro" + - "tobuf.TimestampB\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032" + - ".google.protobuf.TimestampB\003\340A\002\"\252\001\n\nType" + - "dValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_va" + - "lue\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014s" + - "tring_value\030\004 \001(\tH\000\0226\n\022distribution_valu" + - "e\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n\005v" + - "alueB\330\001\n&com.google.cloud.bigquery.migra" + - "tion.v2B\025MigrationMetricsProtoP\001ZKgoogle" + - ".golang.org/genproto/googleapis/cloud/bi" + - "gquery/migration/v2;migration\252\002\"Google.C" + - "loud.BigQuery.Migration.V2\312\002\"Google\\Clou" + - "d\\BigQuery\\Migration\\V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor, - new java.lang.String[] { "Metric", "ValueType", "MetricKind", "Points", }); - internal_static_google_cloud_bigquery_migration_v2_Point_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_Point_descriptor, - new java.lang.String[] { "Interval", "Value", }); - internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor, - new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java deleted file mode 100644 index 44f574f..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java +++ /dev/null @@ -1,247 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public final class MigrationServiceProto { - private MigrationServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/bigquery/migration/v2/mig" + - "ration_service.proto\022\"google.cloud.bigqu" + - "ery.migration.v2\032\034google/api/annotations" + - ".proto\032\027google/api/client.proto\032\037google/" + - "api/field_behavior.proto\032\031google/api/res" + - "ource.proto\032;google/cloud/bigquery/migra" + - "tion/v2/migration_entities.proto\032\033google" + - "/protobuf/empty.proto\032 google/protobuf/f" + - "ield_mask.proto\"\263\001\n\036CreateMigrationWorkf" + - "lowRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" + - "tions.googleapis.com/Location\022V\n\022migrati" + - "on_workflow\030\002 \001(\01325.google.cloud.bigquer" + - "y.migration.v2.MigrationWorkflowB\003\340A\002\"\226\001" + - "\n\033GetMigrationWorkflowRequest\022H\n\004name\030\001 " + - "\001(\tB:\340A\002\372A4\n2bigquerymigration.googleapi" + - "s.com/MigrationWorkflow\022-\n\tread_mask\030\002 \001" + - "(\0132\032.google.protobuf.FieldMask\"\260\001\n\035ListM" + - "igrationWorkflowsRequest\0229\n\006parent\030\001 \001(\t" + - "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + - "ion\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf" + - ".FieldMask\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" + - "ken\030\004 \001(\t\"\215\001\n\036ListMigrationWorkflowsResp" + - "onse\022R\n\023migration_workflows\030\001 \003(\01325.goog" + - "le.cloud.bigquery.migration.v2.Migration" + - "Workflow\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036Del" + - "eteMigrationWorkflowRequest\022H\n\004name\030\001 \001(" + - "\tB:\340A\002\372A4\n2bigquerymigration.googleapis." + - "com/MigrationWorkflow\"i\n\035StartMigrationW" + - "orkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bi" + - "gquerymigration.googleapis.com/Migration" + - "Workflow\"\231\001\n\032GetMigrationSubtaskRequest\022" + - "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration" + - ".googleapis.com/MigrationSubtask\0222\n\tread" + - "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" + - "\003\340A\001\"\344\001\n\034ListMigrationSubtasksRequest\022J\n" + - "\006parent\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration" + - ".googleapis.com/MigrationWorkflow\0222\n\trea" + - "d_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + - "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_to" + - "ken\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\212\001\n\035" + - "ListMigrationSubtasksResponse\022P\n\022migrati" + - "on_subtasks\030\001 \003(\01324.google.cloud.bigquer" + - "y.migration.v2.MigrationSubtask\022\027\n\017next_" + - "page_token\030\002 \001(\t2\313\014\n\020MigrationService\022\373\001" + - "\n\027CreateMigrationWorkflow\022B.google.cloud" + - ".bigquery.migration.v2.CreateMigrationWo" + - "rkflowRequest\0325.google.cloud.bigquery.mi" + - "gration.v2.MigrationWorkflow\"e\202\323\344\223\002C\"-/v" + - "2/{parent=projects/*/locations/*}/workfl" + - "ows:\022migration_workflow\332A\031parent,migrati" + - "on_workflow\022\314\001\n\024GetMigrationWorkflow\022?.g" + - "oogle.cloud.bigquery.migration.v2.GetMig" + - "rationWorkflowRequest\0325.google.cloud.big" + - "query.migration.v2.MigrationWorkflow\"<\202\323" + - "\344\223\002/\022-/v2/{name=projects/*/locations/*/w" + - "orkflows/*}\332A\004name\022\337\001\n\026ListMigrationWork" + - "flows\022A.google.cloud.bigquery.migration." + - "v2.ListMigrationWorkflowsRequest\032B.googl" + - "e.cloud.bigquery.migration.v2.ListMigrat" + - "ionWorkflowsResponse\">\202\323\344\223\002/\022-/v2/{paren" + - "t=projects/*/locations/*}/workflows\332A\006pa" + - "rent\022\263\001\n\027DeleteMigrationWorkflow\022B.googl" + - "e.cloud.bigquery.migration.v2.DeleteMigr" + - "ationWorkflowRequest\032\026.google.protobuf.E" + - "mpty\"<\202\323\344\223\002/*-/v2/{name=projects/*/locat" + - "ions/*/workflows/*}\332A\004name\022\272\001\n\026StartMigr" + - "ationWorkflow\022A.google.cloud.bigquery.mi" + - "gration.v2.StartMigrationWorkflowRequest" + - "\032\026.google.protobuf.Empty\"E\202\323\344\223\0028\"3/v2/{n" + - "ame=projects/*/locations/*/workflows/*}:" + - "start:\001*\332A\004name\022\324\001\n\023GetMigrationSubtask\022" + - ">.google.cloud.bigquery.migration.v2.Get" + - "MigrationSubtaskRequest\0324.google.cloud.b" + - "igquery.migration.v2.MigrationSubtask\"G\202" + - "\323\344\223\002:\0228/v2/{name=projects/*/locations/*/" + - "workflows/*/subtasks/*}\332A\004name\022\347\001\n\025ListM" + - "igrationSubtasks\022@.google.cloud.bigquery" + - ".migration.v2.ListMigrationSubtasksReque" + - "st\032A.google.cloud.bigquery.migration.v2." + - "ListMigrationSubtasksResponse\"I\202\323\344\223\002:\0228/" + - "v2/{parent=projects/*/locations/*/workfl" + - "ows/*}/subtasks\332A\006parent\032T\312A bigquerymig" + - "ration.googleapis.com\322A.https://www.goog" + - "leapis.com/auth/cloud-platformB\330\001\n&com.g" + - "oogle.cloud.bigquery.migration.v2B\025Migra" + - "tionServiceProtoP\001ZKgoogle.golang.org/ge" + - "nproto/googleapis/cloud/bigquery/migrati" + - "on/v2;migration\252\002\"Google.Cloud.BigQuery." + - "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" + - "ration\\V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Parent", "MigrationWorkflow", }); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor, - new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor, - new java.lang.String[] { "MigrationWorkflows", "NextPageToken", }); - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor, - new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor, - new java.lang.String[] { "MigrationSubtasks", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java deleted file mode 100644 index 459dd4b..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface NetezzaDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NetezzaDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java deleted file mode 100644 index 3e40ac3..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface OracleDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.OracleDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java deleted file mode 100644 index a78ea9b..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface PostgresqlDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PostgresqlDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java deleted file mode 100644 index f13daf0..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface PrestoDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PrestoDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java deleted file mode 100644 index e9153fb..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface RedshiftDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.RedshiftDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java deleted file mode 100644 index b8e2cfd..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface SQLServerDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SQLServerDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java deleted file mode 100644 index 31b4c4a..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface SnowflakeDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SnowflakeDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java deleted file mode 100644 index 2e4186c..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface SparkSQLDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SparkSQLDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 5ce635a..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/migration_service.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface StartMigrationWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java deleted file mode 100644 index 1b7303b..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java +++ /dev/null @@ -1,328 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public final class TranslationConfigProto { - private TranslationConfigProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/bigquery/migration/v2/tra" + - "nslation_config.proto\022\"google.cloud.bigq" + - "uery.migration.v2\"\262\003\n\030TranslationConfigD" + - "etails\022\031\n\017gcs_source_path\030\001 \001(\tH\000\022\031\n\017gcs" + - "_target_path\030\002 \001(\tH\001\022C\n\016source_dialect\030\003" + - " \001(\0132+.google.cloud.bigquery.migration.v" + - "2.Dialect\022C\n\016target_dialect\030\004 \001(\0132+.goog" + - "le.cloud.bigquery.migration.v2.Dialect\022V" + - "\n\021name_mapping_list\030\005 \001(\01329.google.cloud" + - ".bigquery.migration.v2.ObjectNameMapping" + - "ListH\002\022A\n\nsource_env\030\006 \001(\0132-.google.clou" + - "d.bigquery.migration.v2.SourceEnvB\021\n\017sou" + - "rce_locationB\021\n\017target_locationB\025\n\023outpu" + - "t_name_mapping\"\271\010\n\007Dialect\022O\n\020bigquery_d" + - "ialect\030\001 \001(\01323.google.cloud.bigquery.mig" + - "ration.v2.BigQueryDialectH\000\022K\n\016hiveql_di" + - "alect\030\002 \001(\01321.google.cloud.bigquery.migr" + - "ation.v2.HiveQLDialectH\000\022O\n\020redshift_dia" + - "lect\030\003 \001(\01323.google.cloud.bigquery.migra" + - "tion.v2.RedshiftDialectH\000\022O\n\020teradata_di" + - "alect\030\004 \001(\01323.google.cloud.bigquery.migr" + - "ation.v2.TeradataDialectH\000\022K\n\016oracle_dia" + - "lect\030\005 \001(\01321.google.cloud.bigquery.migra" + - "tion.v2.OracleDialectH\000\022O\n\020sparksql_dial" + - "ect\030\006 \001(\01323.google.cloud.bigquery.migrat" + - "ion.v2.SparkSQLDialectH\000\022Q\n\021snowflake_di" + - "alect\030\007 \001(\01324.google.cloud.bigquery.migr" + - "ation.v2.SnowflakeDialectH\000\022M\n\017netezza_d" + - "ialect\030\010 \001(\01322.google.cloud.bigquery.mig" + - "ration.v2.NetezzaDialectH\000\022X\n\025azure_syna" + - "pse_dialect\030\t \001(\01327.google.cloud.bigquer" + - "y.migration.v2.AzureSynapseDialectH\000\022M\n\017" + - "vertica_dialect\030\n \001(\01322.google.cloud.big" + - "query.migration.v2.VerticaDialectH\000\022R\n\022s" + - "ql_server_dialect\030\013 \001(\01324.google.cloud.b" + - "igquery.migration.v2.SQLServerDialectH\000\022" + - "S\n\022postgresql_dialect\030\014 \001(\01325.google.clo" + - "ud.bigquery.migration.v2.PostgresqlDiale" + - "ctH\000\022K\n\016presto_dialect\030\r \001(\01321.google.cl" + - "oud.bigquery.migration.v2.PrestoDialectH" + - "\000B\017\n\rdialect_value\"\021\n\017BigQueryDialect\"\017\n" + - "\rHiveQLDialect\"\021\n\017RedshiftDialect\"\212\001\n\017Te" + - "radataDialect\022F\n\004mode\030\001 \001(\01628.google.clo" + - "ud.bigquery.migration.v2.TeradataDialect" + - ".Mode\"/\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\007\n\003S" + - "QL\020\001\022\010\n\004BTEQ\020\002\"\017\n\rOracleDialect\"\021\n\017Spark" + - "SQLDialect\"\022\n\020SnowflakeDialect\"\020\n\016Netezz" + - "aDialect\"\025\n\023AzureSynapseDialect\"\020\n\016Verti" + - "caDialect\"\022\n\020SQLServerDialect\"\023\n\021Postgre" + - "sqlDialect\"\017\n\rPrestoDialect\"`\n\025ObjectNam" + - "eMappingList\022G\n\010name_map\030\001 \003(\01325.google." + - "cloud.bigquery.migration.v2.ObjectNameMa" + - "pping\"\235\001\n\021ObjectNameMapping\022B\n\006source\030\001 " + - "\001(\01322.google.cloud.bigquery.migration.v2" + - ".NameMappingKey\022D\n\006target\030\002 \001(\01324.google" + - ".cloud.bigquery.migration.v2.NameMapping" + - "Value\"\253\002\n\016NameMappingKey\022E\n\004type\030\001 \001(\01627" + - ".google.cloud.bigquery.migration.v2.Name" + - "MappingKey.Type\022\020\n\010database\030\002 \001(\t\022\016\n\006sch" + - "ema\030\003 \001(\t\022\020\n\010relation\030\004 \001(\t\022\021\n\tattribute" + - "\030\005 \001(\t\"\212\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\014\n" + - "\010DATABASE\020\001\022\n\n\006SCHEMA\020\002\022\014\n\010RELATION\020\003\022\r\n" + - "\tATTRIBUTE\020\004\022\022\n\016RELATION_ALIAS\020\005\022\023\n\017ATTR" + - "IBUTE_ALIAS\020\006\022\014\n\010FUNCTION\020\007\"Y\n\020NameMappi" + - "ngValue\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(" + - "\t\022\020\n\010relation\030\003 \001(\t\022\021\n\tattribute\030\004 \001(\t\"A" + - "\n\tSourceEnv\022\030\n\020default_database\030\001 \001(\t\022\032\n" + - "\022schema_search_path\030\002 \003(\tB\331\001\n&com.google" + - ".cloud.bigquery.migration.v2B\026Translatio" + - "nConfigProtoP\001ZKgoogle.golang.org/genpro" + - "to/googleapis/cloud/bigquery/migration/v" + - "2;migration\252\002\"Google.Cloud.BigQuery.Migr" + - "ation.V2\312\002\"Google\\Cloud\\BigQuery\\Migrati" + - "on\\V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor, - new java.lang.String[] { "GcsSourcePath", "GcsTargetPath", "SourceDialect", "TargetDialect", "NameMappingList", "SourceEnv", "SourceLocation", "TargetLocation", "OutputNameMapping", }); - internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor, - new java.lang.String[] { "BigqueryDialect", "HiveqlDialect", "RedshiftDialect", "TeradataDialect", "OracleDialect", "SparksqlDialect", "SnowflakeDialect", "NetezzaDialect", "AzureSynapseDialect", "VerticaDialect", "SqlServerDialect", "PostgresqlDialect", "PrestoDialect", "DialectValue", }); - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor, - new java.lang.String[] { "Mode", }); - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor, - new java.lang.String[] { "NameMap", }); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor, - new java.lang.String[] { "Source", "Target", }); - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor, - new java.lang.String[] { "Type", "Database", "Schema", "Relation", "Attribute", }); - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor, - new java.lang.String[] { "Database", "Schema", "Relation", "Attribute", }); - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor, - new java.lang.String[] { "DefaultDatabase", "SchemaSearchPath", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java deleted file mode 100644 index 2260e58..0000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2/translation_config.proto - -package com.google.cloud.bigquery.migration.v2; - -public interface VerticaDialectOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.VerticaDialect) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java b/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java deleted file mode 100644 index bea6c3b..0000000 --- a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java +++ /dev/null @@ -1,831 +0,0 @@ -package com.google.cloud.bigquery.migration.v2alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service to handle EDW migrations.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/migration/v2alpha/migration_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MigrationServiceGrpc { - - private MigrationServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2alpha.MigrationService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod; - if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getCreateMigrationWorkflowMethod = getCreateMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow")) - .build(); - } - } - } - return getCreateMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getGetMigrationWorkflowMethod; - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getGetMigrationWorkflowMethod = getGetMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow")) - .build(); - } - } - } - return getGetMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows", - requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMigrationWorkflowsMethod() { - io.grpc.MethodDescriptor getListMigrationWorkflowsMethod; - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) { - MigrationServiceGrpc.getListMigrationWorkflowsMethod = getListMigrationWorkflowsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows")) - .build(); - } - } - } - return getListMigrationWorkflowsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod; - if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = getDeleteMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow")) - .build(); - } - } - } - return getDeleteMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow", - requestType = com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartMigrationWorkflowMethod() { - io.grpc.MethodDescriptor getStartMigrationWorkflowMethod; - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) { - MigrationServiceGrpc.getStartMigrationWorkflowMethod = getStartMigrationWorkflowMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow")) - .build(); - } - } - } - return getStartMigrationWorkflowMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask", - requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMigrationSubtaskMethod() { - io.grpc.MethodDescriptor getGetMigrationSubtaskMethod; - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) { - MigrationServiceGrpc.getGetMigrationSubtaskMethod = getGetMigrationSubtaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask")) - .build(); - } - } - } - return getGetMigrationSubtaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMigrationSubtasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks", - requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, - responseType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMigrationSubtasksMethod() { - io.grpc.MethodDescriptor getListMigrationSubtasksMethod; - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { - synchronized (MigrationServiceGrpc.class) { - if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) { - MigrationServiceGrpc.getListMigrationSubtasksMethod = getListMigrationSubtasksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance())) - .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks")) - .build(); - } - } - } - return getListMigrationSubtasksMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static MigrationServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - }; - return MigrationServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MigrationServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - }; - return MigrationServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static MigrationServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MigrationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - }; - return MigrationServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static abstract class MigrationServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationWorkflowsMethod(), responseObserver); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationWorkflowMethod(), responseObserver); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationSubtaskMethod(), responseObserver); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationSubtasksMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( - this, METHODID_CREATE_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>( - this, METHODID_GET_MIGRATION_WORKFLOW))) - .addMethod( - getListMigrationWorkflowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>( - this, METHODID_LIST_MIGRATION_WORKFLOWS))) - .addMethod( - getDeleteMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MIGRATION_WORKFLOW))) - .addMethod( - getStartMigrationWorkflowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest, - com.google.protobuf.Empty>( - this, METHODID_START_MIGRATION_WORKFLOW))) - .addMethod( - getGetMigrationSubtaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest, - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>( - this, METHODID_GET_MIGRATION_SUBTASK))) - .addMethod( - getListMigrationSubtasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest, - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>( - this, METHODID_LIST_MIGRATION_SUBTASKS))) - .build(); - } - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub { - private MigrationServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private MigrationServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.protobuf.Empty deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.protobuf.Empty startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Service to handle EDW migrations.
-   * 
- */ - public static final class MigrationServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private MigrationServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MigrationServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MigrationServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists previously created migration workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMigrationWorkflows( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a migration workflow by name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts a previously created migration workflow. I.e., the state transitions
-     * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
-     * An error will be signaled if the state is anything other than DRAFT or
-     * RUNNING.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startMigrationWorkflow( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a previously created migration subtask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMigrationSubtask( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists previously created migration subtasks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMigrationSubtasks( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0; - private static final int METHODID_GET_MIGRATION_WORKFLOW = 1; - private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2; - private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3; - private static final int METHODID_START_MIGRATION_WORKFLOW = 4; - private static final int METHODID_GET_MIGRATION_SUBTASK = 5; - private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final MigrationServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_MIGRATION_WORKFLOW: - serviceImpl.createMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATION_WORKFLOW: - serviceImpl.getMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MIGRATION_WORKFLOWS: - serviceImpl.listMigrationWorkflows((com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MIGRATION_WORKFLOW: - serviceImpl.deleteMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MIGRATION_WORKFLOW: - serviceImpl.startMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATION_SUBTASK: - serviceImpl.getMigrationSubtask((com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MIGRATION_SUBTASKS: - serviceImpl.listMigrationSubtasks((com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MigrationServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MigrationService"); - } - } - - private static final class MigrationServiceFileDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier { - MigrationServiceFileDescriptorSupplier() {} - } - - private static final class MigrationServiceMethodDescriptorSupplier - extends MigrationServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - MigrationServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MigrationServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier()) - .addMethod(getCreateMigrationWorkflowMethod()) - .addMethod(getGetMigrationWorkflowMethod()) - .addMethod(getListMigrationWorkflowsMethod()) - .addMethod(getDeleteMigrationWorkflowMethod()) - .addMethod(getStartMigrationWorkflowMethod()) - .addMethod(getGetMigrationSubtaskMethod()) - .addMethod(getListMigrationSubtasksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java deleted file mode 100644 index 00fa30f..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class AssessmentTaskProto { - private AssessmentTaskProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n=google/cloud/bigquery/migration/v2alph" + - "a/assessment_task.proto\022\'google.cloud.bi" + - "gquery.migration.v2alpha\032\037google/api/fie" + - "ld_behavior.proto\"\204\001\n\025AssessmentTaskDeta" + - "ils\022\027\n\ninput_path\030\001 \001(\tB\003\340A\002\022\033\n\016output_d" + - "ataset\030\002 \001(\tB\003\340A\002\022\033\n\016querylogs_path\030\003 \001(" + - "\tB\003\340A\001\022\030\n\013data_source\030\004 \001(\tB\003\340A\002\"Q\n$Asse" + - "ssmentOrchestrationResultDetails\022)\n\034outp" + - "ut_tables_schema_version\030\001 \001(\tB\003\340A\001B\352\001\n+" + - "com.google.cloud.bigquery.migration.v2al" + - "phaB\023AssessmentTaskProtoP\001ZPgoogle.golan" + - "g.org/genproto/googleapis/cloud/bigquery" + - "/migration/v2alpha;migration\252\002\'Google.Cl" + - "oud.BigQuery.Migration.V2Alpha\312\002\'Google\\" + - "Cloud\\BigQuery\\Migration\\V2alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor, - new java.lang.String[] { "InputPath", "OutputDataset", "QuerylogsPath", "DataSource", }); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor, - new java.lang.String[] { "OutputTablesSchemaVersion", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 2fe965b..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface CreateMigrationWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The name of the project to which this migration workflow belongs.
-   * Example: `projects/foo/locations/bar`
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The migration workflow to create.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the migrationWorkflow field is set. - */ - boolean hasMigrationWorkflow(); - /** - *
-   * Required. The migration workflow to create.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The migrationWorkflow. - */ - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(); - /** - *
-   * Required. The migration workflow to create.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder(); -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 2efafe0..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface DeleteMigrationWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java deleted file mode 100644 index 3651d52..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface IdentifierSettingsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The setting to control output queries' identifier case.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * @return The enum numeric value on the wire for outputIdentifierCase. - */ - int getOutputIdentifierCaseValue(); - /** - *
-   * The setting to control output queries' identifier case.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; - * @return The outputIdentifierCase. - */ - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase getOutputIdentifierCase(); - - /** - *
-   * Specifies the rewrite mode for SQL identifiers.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * @return The enum numeric value on the wire for identifierRewriteMode. - */ - int getIdentifierRewriteModeValue(); - /** - *
-   * Specifies the rewrite mode for SQL identifiers.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; - * @return The identifierRewriteMode. - */ - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode getIdentifierRewriteMode(); -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java deleted file mode 100644 index 7b10635..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java +++ /dev/null @@ -1,191 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationEntitiesProto { - private MigrationEntitiesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/bigquery/migration/v2alph" + - "a/migration_entities.proto\022\'google.cloud" + - ".bigquery.migration.v2alpha\032\037google/api/" + - "field_behavior.proto\032\031google/api/resourc" + - "e.proto\032=google/cloud/bigquery/migration" + - "/v2alpha/assessment_task.proto\032Egoogle/c" + - "loud/bigquery/migration/v2alpha/migratio" + - "n_error_details.proto\032?google/cloud/bigq" + - "uery/migration/v2alpha/migration_metrics" + - ".proto\032>google/cloud/bigquery/migration/" + - "v2alpha/translation_task.proto\032\031google/p" + - "rotobuf/any.proto\032\037google/protobuf/times" + - "tamp.proto\032\036google/rpc/error_details.pro" + - "to\"\202\005\n\021MigrationWorkflow\022\024\n\004name\030\001 \001(\tB\006" + - "\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022T\n\005tasks\030\002 " + - "\003(\0132E.google.cloud.bigquery.migration.v2" + - "alpha.MigrationWorkflow.TasksEntry\022T\n\005st" + - "ate\030\003 \001(\0162@.google.cloud.bigquery.migrat" + - "ion.v2alpha.MigrationWorkflow.StateB\003\340A\003" + - "\022/\n\013create_time\030\004 \001(\0132\032.google.protobuf." + - "Timestamp\0224\n\020last_update_time\030\005 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\032d\n\nTasksEntry\022\013\n" + - "\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud" + - ".bigquery.migration.v2alpha.MigrationTas" + - "k:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n" + - "\005DRAFT\020\001\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOM" + - "PLETED\020\004:u\352Ar\n2bigquerymigration.googlea" + - "pis.com/MigrationWorkflow\022.google.cloud.bigque" + - "ry.migration.v2alpha.AssessmentTaskDetai" + - "lsH\000\022c\n\030translation_task_details\030\r \001(\0132?" + - ".google.cloud.bigquery.migration.v2alpha" + - ".TranslationTaskDetailsH\000\022\022\n\002id\030\001 \001(\tB\006\340" + - "A\003\340A\005\022\014\n\004type\030\002 \001(\t\022%\n\007details\030\003 \001(\0132\024.g" + - "oogle.protobuf.Any\022P\n\005state\030\004 \001(\0162<.goog" + - "le.cloud.bigquery.migration.v2alpha.Migr" + - "ationTask.StateB\003\340A\003\0224\n\020processing_error" + - "\030\005 \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022/\n\013cr" + - "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "amp\0224\n\020last_update_time\030\007 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022l\n\024orchestration_resul" + - "t\030\n \001(\0132I.google.cloud.bigquery.migratio" + - "n.v2alpha.MigrationTaskOrchestrationResu" + - "ltB\003\340A\003\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + - "\013\n\007PENDING\020\001\022\021\n\rORCHESTRATING\020\002\022\013\n\007RUNNI" + - "NG\020\003\022\n\n\006PAUSED\020\004\022\r\n\tSUCCEEDED\020\005\022\n\n\006FAILE" + - "D\020\006B\016\n\014task_details\"\353\005\n\020MigrationSubtask" + - "\022\024\n\004name\030\001 \001(\tB\006\340A\003\340A\005\022\017\n\007task_id\030\002 \001(\t\022" + - "\014\n\004type\030\003 \001(\t\022S\n\005state\030\005 \001(\0162?.google.cl" + - "oud.bigquery.migration.v2alpha.Migration" + - "Subtask.StateB\003\340A\003\0224\n\020processing_error\030\006" + - " \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022a\n\026reso" + - "urce_error_details\030\014 \003(\0132<.google.cloud." + - "bigquery.migration.v2alpha.ResourceError" + - "DetailB\003\340A\003\022\034\n\024resource_error_count\030\r \001(" + - "\005\022/\n\013create_time\030\007 \001(\0132\032.google.protobuf" + - ".Timestamp\0224\n\020last_update_time\030\010 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022D\n\007metrics\030\013 \003(" + - "\01323.google.cloud.bigquery.migration.v2al" + - "pha.TimeSeries\"^\n\005State\022\025\n\021STATE_UNSPECI" + - "FIED\020\000\022\n\n\006ACTIVE\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCE" + - "EDED\020\003\022\n\n\006FAILED\020\004\022\n\n\006PAUSED\020\005:\210\001\352A\204\001\n1b" + - "igquerymigration.googleapis.com/Migratio" + - "nSubtask\022Oprojects/{project}/locations/{" + - "location}/workflows/{workflow}/subtasks/" + - "{subtask}\"\232\001\n MigrationTaskOrchestration" + - "Result\022k\n\022assessment_details\030\001 \001(\0132M.goo" + - "gle.cloud.bigquery.migration.v2alpha.Ass" + - "essmentOrchestrationResultDetailsH\000B\t\n\007d" + - "etailsB\355\001\n+com.google.cloud.bigquery.mig" + - "ration.v2alphaB\026MigrationEntitiesProtoP\001" + - "ZPgoogle.golang.org/genproto/googleapis/" + - "cloud/bigquery/migration/v2alpha;migrati" + - "on\252\002\'Google.Cloud.BigQuery.Migration.V2A" + - "lpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\V" + - "2alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.ErrorDetailsProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Tasks", "State", "CreateTime", "LastUpdateTime", }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor = - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor, - new java.lang.String[] { "AssessmentTaskDetails", "TranslationTaskDetails", "Id", "Type", "Details", "State", "ProcessingError", "CreateTime", "LastUpdateTime", "OrchestrationResult", "TaskDetails", }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor, - new java.lang.String[] { "Name", "TaskId", "Type", "State", "ProcessingError", "ResourceErrorDetails", "ResourceErrorCount", "CreateTime", "LastUpdateTime", "Metrics", }); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor, - new java.lang.String[] { "AssessmentDetails", "Details", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.ErrorDetailsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java deleted file mode 100644 index 52c1977..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java +++ /dev/null @@ -1,97 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationErrorDetailsProto { - private MigrationErrorDetailsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nEgoogle/cloud/bigquery/migration/v2alph" + - "a/migration_error_details.proto\022\'google." + - "cloud.bigquery.migration.v2alpha\032\037google" + - "/api/field_behavior.proto\032\036google/rpc/er" + - "ror_details.proto\"\267\001\n\023ResourceErrorDetai" + - "l\0224\n\rresource_info\030\001 \001(\0132\030.google.rpc.Re" + - "sourceInfoB\003\340A\002\022P\n\rerror_details\030\002 \003(\01324" + - ".google.cloud.bigquery.migration.v2alpha" + - ".ErrorDetailB\003\340A\002\022\030\n\013error_count\030\003 \001(\005B\003" + - "\340A\002\"\214\001\n\013ErrorDetail\022M\n\010location\030\001 \001(\01326." + - "google.cloud.bigquery.migration.v2alpha." + - "ErrorLocationB\003\340A\001\022.\n\nerror_info\030\002 \001(\0132\025" + - ".google.rpc.ErrorInfoB\003\340A\002\"7\n\rErrorLocat" + - "ion\022\021\n\004line\030\001 \001(\005B\003\340A\001\022\023\n\006column\030\002 \001(\005B\003" + - "\340A\001B\361\001\n+com.google.cloud.bigquery.migrat" + - "ion.v2alphaB\032MigrationErrorDetailsProtoP" + - "\001ZPgoogle.golang.org/genproto/googleapis" + - "/cloud/bigquery/migration/v2alpha;migrat" + - "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" + - "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" + - "V2alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.rpc.ErrorDetailsProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor, - new java.lang.String[] { "ResourceInfo", "ErrorDetails", "ErrorCount", }); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor, - new java.lang.String[] { "Location", "ErrorInfo", }); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor, - new java.lang.String[] { "Line", "Column", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.rpc.ErrorDetailsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java deleted file mode 100644 index 96354b6..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java +++ /dev/null @@ -1,120 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationMetricsProto { - private MigrationMetricsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/bigquery/migration/v2alph" + - "a/migration_metrics.proto\022\'google.cloud." + - "bigquery.migration.v2alpha\032\035google/api/d" + - "istribution.proto\032\037google/api/field_beha" + - "vior.proto\032\027google/api/metric.proto\032\037goo" + - "gle/protobuf/timestamp.proto\"\352\001\n\nTimeSer" + - "ies\022\023\n\006metric\030\001 \001(\tB\003\340A\002\022?\n\nvalue_type\030\002" + - " \001(\0162&.google.api.MetricDescriptor.Value" + - "TypeB\003\340A\002\022A\n\013metric_kind\030\003 \001(\0162\'.google." + - "api.MetricDescriptor.MetricKindB\003\340A\001\022C\n\006" + - "points\030\004 \003(\0132..google.cloud.bigquery.mig" + - "ration.v2alpha.PointB\003\340A\002\"\224\001\n\005Point\022G\n\010i" + - "nterval\030\001 \001(\01325.google.cloud.bigquery.mi" + - "gration.v2alpha.TimeInterval\022B\n\005value\030\002 " + - "\001(\01323.google.cloud.bigquery.migration.v2" + - "alpha.TypedValue\"v\n\014TimeInterval\0223\n\nstar" + - "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\002\"\252\001\n\nTypedValue\022\024\n\nbool_" + - "value\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014" + - "double_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001" + - "(\tH\000\0226\n\022distribution_value\030\005 \001(\0132\030.googl" + - "e.api.DistributionH\000B\007\n\005valueB\354\001\n+com.go" + - "ogle.cloud.bigquery.migration.v2alphaB\025M" + - "igrationMetricsProtoP\001ZPgoogle.golang.or" + - "g/genproto/googleapis/cloud/bigquery/mig" + - "ration/v2alpha;migration\252\002\'Google.Cloud." + - "BigQuery.Migration.V2Alpha\312\002\'Google\\Clou" + - "d\\BigQuery\\Migration\\V2alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor, - new java.lang.String[] { "Metric", "ValueType", "MetricKind", "Points", }); - internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor, - new java.lang.String[] { "Interval", "Value", }); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor, - new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java deleted file mode 100644 index d347506..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java +++ /dev/null @@ -1,261 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class MigrationServiceProto { - private MigrationServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/bigquery/migration/v2alph" + - "a/migration_service.proto\022\'google.cloud." + - "bigquery.migration.v2alpha\032\034google/api/a" + - "nnotations.proto\032\027google/api/client.prot" + - "o\032\037google/api/field_behavior.proto\032\031goog" + - "le/api/resource.proto\032@google/cloud/bigq" + - "uery/migration/v2alpha/migration_entitie" + - "s.proto\032Egoogle/cloud/bigquery/migration" + - "/v2alpha/migration_error_details.proto\032?" + - "google/cloud/bigquery/migration/v2alpha/" + - "migration_metrics.proto\032\033google/protobuf" + - "/empty.proto\032 google/protobuf/field_mask" + - ".proto\032\036google/rpc/error_details.proto\"\270" + - "\001\n\036CreateMigrationWorkflowRequest\0229\n\006par" + - "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + - "com/Location\022[\n\022migration_workflow\030\002 \001(\013" + - "2:.google.cloud.bigquery.migration.v2alp" + - "ha.MigrationWorkflowB\003\340A\002\"\226\001\n\033GetMigrati" + - "onWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n" + - "2bigquerymigration.googleapis.com/Migrat" + - "ionWorkflow\022-\n\tread_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\"\260\001\n\035ListMigrationWork" + - "flowsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" + - "cations.googleapis.com/Location\022-\n\tread_" + - "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022\021" + - "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\222\001" + - "\n\036ListMigrationWorkflowsResponse\022W\n\023migr" + - "ation_workflows\030\001 \003(\0132:.google.cloud.big" + - "query.migration.v2alpha.MigrationWorkflo" + - "w\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036DeleteMigr" + - "ationWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372" + - "A4\n2bigquerymigration.googleapis.com/Mig" + - "rationWorkflow\"i\n\035StartMigrationWorkflow" + - "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigquerym" + - "igration.googleapis.com/MigrationWorkflo" + - "w\"\231\001\n\032GetMigrationSubtaskRequest\022G\n\004name" + - "\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration.google" + - "apis.com/MigrationSubtask\0222\n\tread_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\344\001" + - "\n\034ListMigrationSubtasksRequest\022J\n\006parent" + - "\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration.google" + - "apis.com/MigrationWorkflow\0222\n\tread_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022\026" + - "\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001" + - "(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\217\001\n\035ListMig" + - "rationSubtasksResponse\022U\n\022migration_subt" + - "asks\030\001 \003(\01329.google.cloud.bigquery.migra" + - "tion.v2alpha.MigrationSubtask\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t2\252\r\n\020MigrationService\022\212\002\n\027" + - "CreateMigrationWorkflow\022G.google.cloud.b" + - "igquery.migration.v2alpha.CreateMigratio" + - "nWorkflowRequest\032:.google.cloud.bigquery" + - ".migration.v2alpha.MigrationWorkflow\"j\202\323" + - "\344\223\002H\"2/v2alpha/{parent=projects/*/locati" + - "ons/*}/workflows:\022migration_workflow\332A\031p" + - "arent,migration_workflow\022\333\001\n\024GetMigratio" + - "nWorkflow\022D.google.cloud.bigquery.migrat" + - "ion.v2alpha.GetMigrationWorkflowRequest\032" + - ":.google.cloud.bigquery.migration.v2alph" + - "a.MigrationWorkflow\"A\202\323\344\223\0024\0222/v2alpha/{n" + - "ame=projects/*/locations/*/workflows/*}\332" + - "A\004name\022\356\001\n\026ListMigrationWorkflows\022F.goog" + - "le.cloud.bigquery.migration.v2alpha.List" + - "MigrationWorkflowsRequest\032G.google.cloud" + - ".bigquery.migration.v2alpha.ListMigratio" + - "nWorkflowsResponse\"C\202\323\344\223\0024\0222/v2alpha/{pa" + - "rent=projects/*/locations/*}/workflows\332A" + - "\006parent\022\275\001\n\027DeleteMigrationWorkflow\022G.go" + - "ogle.cloud.bigquery.migration.v2alpha.De" + - "leteMigrationWorkflowRequest\032\026.google.pr" + - "otobuf.Empty\"A\202\323\344\223\0024*2/v2alpha/{name=pro" + - "jects/*/locations/*/workflows/*}\332A\004name\022" + - "\304\001\n\026StartMigrationWorkflow\022F.google.clou" + - "d.bigquery.migration.v2alpha.StartMigrat" + - "ionWorkflowRequest\032\026.google.protobuf.Emp" + - "ty\"J\202\323\344\223\002=\"8/v2alpha/{name=projects/*/lo" + - "cations/*/workflows/*}:start:\001*\332A\004name\022\343" + - "\001\n\023GetMigrationSubtask\022C.google.cloud.bi" + - "gquery.migration.v2alpha.GetMigrationSub" + - "taskRequest\0329.google.cloud.bigquery.migr" + - "ation.v2alpha.MigrationSubtask\"L\202\323\344\223\002?\022=" + - "/v2alpha/{name=projects/*/locations/*/wo" + - "rkflows/*/subtasks/*}\332A\004name\022\366\001\n\025ListMig" + - "rationSubtasks\022E.google.cloud.bigquery.m" + - "igration.v2alpha.ListMigrationSubtasksRe" + - "quest\032F.google.cloud.bigquery.migration." + - "v2alpha.ListMigrationSubtasksResponse\"N\202" + - "\323\344\223\002?\022=/v2alpha/{parent=projects/*/locat" + - "ions/*/workflows/*}/subtasks\332A\006parent\032T\312" + - "A bigquerymigration.googleapis.com\322A.htt" + - "ps://www.googleapis.com/auth/cloud-platf" + - "ormB\354\001\n+com.google.cloud.bigquery.migrat" + - "ion.v2alphaB\025MigrationServiceProtoP\001ZPgo" + - "ogle.golang.org/genproto/googleapis/clou" + - "d/bigquery/migration/v2alpha;migration\252\002" + - "\'Google.Cloud.BigQuery.Migration.V2Alpha" + - "\312\002\'Google\\Cloud\\BigQuery\\Migration\\V2alp" + - "hab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(), - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.ErrorDetailsProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Parent", "MigrationWorkflow", }); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor, - new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor, - new java.lang.String[] { "MigrationWorkflows", "NextPageToken", }); - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor, - new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor, - new java.lang.String[] { "MigrationSubtasks", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); - com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.ErrorDetailsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java deleted file mode 100644 index 3ece0c9..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface MigrationTaskOrchestrationResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Details specific to assessment task types.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * @return Whether the assessmentDetails field is set. - */ - boolean hasAssessmentDetails(); - /** - *
-   * Details specific to assessment task types.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - * @return The assessmentDetails. - */ - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getAssessmentDetails(); - /** - *
-   * Details specific to assessment task types.
-   * 
- * - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; - */ - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder getAssessmentDetailsOrBuilder(); - - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.DetailsCase getDetailsCase(); -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java deleted file mode 100644 index 6853756..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface StartMigrationWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The unique identifier for the migration workflow.
-   * Example: `projects/123/locations/us/workflows/1234`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java deleted file mode 100644 index 519922a..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public interface TeradataOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TeradataOptions) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java b/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java deleted file mode 100644 index 2f13682..0000000 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java +++ /dev/null @@ -1,194 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto - -package com.google.cloud.bigquery.migration.v2alpha; - -public final class TranslationTaskProto { - private TranslationTaskProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n>google/cloud/bigquery/migration/v2alph" + - "a/translation_task.proto\022\'google.cloud.b" + - "igquery.migration.v2alpha\"A\n\026Translation" + - "FileMapping\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013outpu" + - "t_path\030\002 \001(\t\"\372\010\n\026TranslationTaskDetails\022" + - "T\n\020teradata_options\030\n \001(\01328.google.cloud" + - ".bigquery.migration.v2alpha.TeradataOpti" + - "onsH\000\022L\n\014bteq_options\030\013 \001(\01324.google.clo" + - "ud.bigquery.migration.v2alpha.BteqOption" + - "sH\000\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013output_path\030\002" + - " \001(\t\022S\n\nfile_paths\030\014 \003(\0132?.google.cloud." + - "bigquery.migration.v2alpha.TranslationFi" + - "leMapping\022\023\n\013schema_path\030\003 \001(\t\022c\n\rfile_e" + - "ncoding\030\004 \001(\0162L.google.cloud.bigquery.mi" + - "gration.v2alpha.TranslationTaskDetails.F" + - "ileEncoding\022X\n\023identifier_settings\030\005 \001(\013" + - "2;.google.cloud.bigquery.migration.v2alp" + - "ha.IdentifierSettings\022o\n\021special_token_m" + - "ap\030\006 \003(\0132T.google.cloud.bigquery.migrati" + - "on.v2alpha.TranslationTaskDetails.Specia" + - "lTokenMapEntry\022?\n\006filter\030\007 \001(\0132/.google." + - "cloud.bigquery.migration.v2alpha.Filter\022" + - "#\n\033translation_exception_table\030\r \001(\t\032\201\001\n" + - "\024SpecialTokenMapEntry\022\013\n\003key\030\001 \001(\t\022X\n\005va" + - "lue\030\002 \001(\0162I.google.cloud.bigquery.migrat" + - "ion.v2alpha.TranslationTaskDetails.Token" + - "Type:\0028\001\"~\n\014FileEncoding\022\035\n\031FILE_ENCODIN" + - "G_UNSPECIFIED\020\000\022\t\n\005UTF_8\020\001\022\016\n\nISO_8859_1" + - "\020\002\022\014\n\010US_ASCII\020\003\022\n\n\006UTF_16\020\004\022\014\n\010UTF_16LE" + - "\020\005\022\014\n\010UTF_16BE\020\006\"{\n\tTokenType\022\032\n\026TOKEN_T" + - "YPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001\022\t\n\005INT64\020\002" + - "\022\013\n\007NUMERIC\020\003\022\010\n\004BOOL\020\004\022\013\n\007FLOAT64\020\005\022\010\n\004" + - "DATE\020\006\022\r\n\tTIMESTAMP\020\007B\022\n\020language_option" + - "s\"/\n\006Filter\022%\n\035input_file_exclusion_pref" + - "ixes\030\001 \003(\t\"\250\003\n\022IdentifierSettings\022j\n\026out" + - "put_identifier_case\030\001 \001(\0162J.google.cloud" + - ".bigquery.migration.v2alpha.IdentifierSe" + - "ttings.IdentifierCase\022r\n\027identifier_rewr" + - "ite_mode\030\002 \001(\0162Q.google.cloud.bigquery.m" + - "igration.v2alpha.IdentifierSettings.Iden" + - "tifierRewriteMode\"U\n\016IdentifierCase\022\037\n\033I" + - "DENTIFIER_CASE_UNSPECIFIED\020\000\022\014\n\010ORIGINAL" + - "\020\001\022\t\n\005UPPER\020\002\022\t\n\005LOWER\020\003\"[\n\025IdentifierRe" + - "writeMode\022\'\n#IDENTIFIER_REWRITE_MODE_UNS" + - "PECIFIED\020\000\022\010\n\004NONE\020\001\022\017\n\013REWRITE_ALL\020\002\"\021\n" + - "\017TeradataOptions\"\242\002\n\013BteqOptions\022R\n\017proj" + - "ect_dataset\030\001 \001(\01329.google.cloud.bigquer" + - "y.migration.v2alpha.DatasetReference\022\030\n\020" + - "default_path_uri\030\002 \001(\t\022j\n\024file_replaceme" + - "nt_map\030\003 \003(\0132L.google.cloud.bigquery.mig" + - "ration.v2alpha.BteqOptions.FileReplaceme" + - "ntMapEntry\0329\n\027FileReplacementMapEntry\022\013\n" + - "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\":\n\020Dataset" + - "Reference\022\022\n\ndataset_id\030\001 \001(\t\022\022\n\nproject" + - "_id\030\002 \001(\tB\353\001\n+com.google.cloud.bigquery." + - "migration.v2alphaB\024TranslationTaskProtoP" + - "\001ZPgoogle.golang.org/genproto/googleapis" + - "/cloud/bigquery/migration/v2alpha;migrat" + - "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" + - "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" + - "V2alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor, - new java.lang.String[] { "InputPath", "OutputPath", }); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor, - new java.lang.String[] { "TeradataOptions", "BteqOptions", "InputPath", "OutputPath", "FilePaths", "SchemaPath", "FileEncoding", "IdentifierSettings", "SpecialTokenMap", "Filter", "TranslationExceptionTable", "LanguageOptions", }); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor = - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor, - new java.lang.String[] { "InputFileExclusionPrefixes", }); - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor, - new java.lang.String[] { "OutputIdentifierCase", "IdentifierRewriteMode", }); - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor, - new java.lang.String[] { "ProjectDataset", "DefaultPathUri", "FileReplacementMap", }); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor = - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor, - new java.lang.String[] { "DatasetId", "ProjectId", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java index 5e7ae8e..76e41c2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Azure Synapse.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.AzureSynapseDialect} */ -public final class AzureSynapseDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureSynapseDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.AzureSynapseDialect) AzureSynapseDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureSynapseDialect.newBuilder() to construct. private AzureSynapseDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureSynapseDialect() { - } + + private AzureSynapseDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureSynapseDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureSynapseDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private AzureSynapseDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private AzureSynapseDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.AzureSynapseDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect other = (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) obj; + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect other = + (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Azure Synapse.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.AzureSynapseDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.AzureSynapseDialect) com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.class, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect result = new com.google.cloud.bigquery.migration.v2.AzureSynapseDialect(this); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect result = + new com.google.cloud.bigquery.migration.v2.AzureSynapseDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.AzureSynapseDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.AzureSynapseDialect) private static final com.google.cloud.bigquery.migration.v2.AzureSynapseDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.AzureSynapseDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureSynapseDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AzureSynapseDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureSynapseDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AzureSynapseDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java new file mode 100644 index 0000000..4214416 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface AzureSynapseDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.AzureSynapseDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java index 9276e68..e47e78d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for BigQuery.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.BigQueryDialect} */ -public final class BigQueryDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.BigQueryDialect) BigQueryDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDialect.newBuilder() to construct. private BigQueryDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDialect() { - } + + private BigQueryDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private BigQueryDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private BigQueryDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.BigQueryDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.BigQueryDialect other = (com.google.cloud.bigquery.migration.v2.BigQueryDialect) obj; + com.google.cloud.bigquery.migration.v2.BigQueryDialect other = + (com.google.cloud.bigquery.migration.v2.BigQueryDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.BigQueryDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.BigQueryDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.BigQueryDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for BigQuery.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.BigQueryDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.BigQueryDialect) com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.BigQueryDialect.class, + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.BigQueryDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.BigQueryDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.BigQueryDialect result = new com.google.cloud.bigquery.migration.v2.BigQueryDialect(this); + com.google.cloud.bigquery.migration.v2.BigQueryDialect result = + new com.google.cloud.bigquery.migration.v2.BigQueryDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.BigQueryDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.BigQueryDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.BigQueryDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.BigQueryDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.BigQueryDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.BigQueryDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.BigQueryDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.BigQueryDialect) private static final com.google.cloud.bigquery.migration.v2.BigQueryDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.BigQueryDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.BigQueryDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.BigQueryDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java new file mode 100644 index 0000000..27bd80e --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface BigQueryDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.BigQueryDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java similarity index 60% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java index cf007c8..cb9d1a4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Request to create a migration workflow resource.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest} */ -public final class CreateMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) CreateMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMigrationWorkflowRequest.newBuilder() to construct. - private CreateMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMigrationWorkflowRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMigrationWorkflowRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,37 @@ private CreateMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder subBuilder = null; - if (migrationWorkflow_ != null) { - subBuilder = migrationWorkflow_.toBuilder(); + parent_ = s; + break; } - migrationWorkflow_ = input.readMessage(com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migrationWorkflow_); - migrationWorkflow_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder subBuilder = null; + if (migrationWorkflow_ != null) { + subBuilder = migrationWorkflow_.toBuilder(); + } + migrationWorkflow_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migrationWorkflow_); + migrationWorkflow_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +109,42 @@ private CreateMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +153,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,11 +189,16 @@ public java.lang.String getParent() { public static final int MIGRATION_WORKFLOW_FIELD_NUMBER = 2; private com.google.cloud.bigquery.migration.v2.MigrationWorkflow migrationWorkflow_; /** + * + * *
    * Required. The migration workflow to create.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migrationWorkflow field is set. */ @java.lang.Override @@ -169,30 +206,43 @@ public boolean hasMigrationWorkflow() { return migrationWorkflow_ != null; } /** + * + * *
    * Required. The migration workflow to create.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migrationWorkflow. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow() { - return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; + return migrationWorkflow_ == null + ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() + : migrationWorkflow_; } /** + * + * *
    * Required. The migration workflow to create.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder + getMigrationWorkflowOrBuilder() { return getMigrationWorkflow(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (migrationWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMigrationWorkflow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMigrationWorkflow()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasMigrationWorkflow() != other.hasMigrationWorkflow()) return false; if (hasMigrationWorkflow()) { - if (!getMigrationWorkflow() - .equals(other.getMigrationWorkflow())) return false; + if (!getMigrationWorkflow().equals(other.getMigrationWorkflow())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +320,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a migration workflow resource.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +474,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override @@ -437,7 +497,8 @@ public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest bui @java.lang.Override public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest(this); result.parent_ = parent_; if (migrationWorkflowBuilder_ == null) { result.migrationWorkflow_ = migrationWorkflow_; @@ -452,46 +513,51 @@ public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -518,7 +584,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +598,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -551,21 +623,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -573,57 +648,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -631,41 +719,61 @@ public Builder setParentBytes( private com.google.cloud.bigquery.migration.v2.MigrationWorkflow migrationWorkflow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> migrationWorkflowBuilder_; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + migrationWorkflowBuilder_; /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migrationWorkflow field is set. */ public boolean hasMigrationWorkflow() { return migrationWorkflowBuilder_ != null || migrationWorkflow_ != null; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migrationWorkflow. */ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { - return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; + return migrationWorkflow_ == null + ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() + : migrationWorkflow_; } else { return migrationWorkflowBuilder_.getMessage(); } } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMigrationWorkflow(com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { + public Builder setMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,11 +787,15 @@ public Builder setMigrationWorkflow(com.google.cloud.bigquery.migration.v2.Migra return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMigrationWorkflow( com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { @@ -697,17 +809,25 @@ public Builder setMigrationWorkflow( return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMigrationWorkflow(com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { + public Builder mergeMigrationWorkflow( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (migrationWorkflow_ != null) { migrationWorkflow_ = - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.newBuilder(migrationWorkflow_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.newBuilder( + migrationWorkflow_) + .mergeFrom(value) + .buildPartial(); } else { migrationWorkflow_ = value; } @@ -719,11 +839,15 @@ public Builder mergeMigrationWorkflow(com.google.cloud.bigquery.migration.v2.Mig return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { @@ -737,55 +861,73 @@ public Builder clearMigrationWorkflow() { return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder getMigrationWorkflowBuilder() { - + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder + getMigrationWorkflowBuilder() { + onChanged(); return getMigrationWorkflowFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder + getMigrationWorkflowOrBuilder() { if (migrationWorkflowBuilder_ != null) { return migrationWorkflowBuilder_.getMessageOrBuilder(); } else { - return migrationWorkflow_ == null ? - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; + return migrationWorkflow_ == null + ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance() + : migrationWorkflow_; } } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> getMigrationWorkflowFieldBuilder() { if (migrationWorkflowBuilder_ == null) { - migrationWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( - getMigrationWorkflow(), - getParentForChildren(), - isClean()); + migrationWorkflowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( + getMigrationWorkflow(), getParentForChildren(), isClean()); migrationWorkflow_ = null; } return migrationWorkflowBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +937,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +974,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..9118572 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface CreateMigrationWorkflowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The migration workflow to create.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the migrationWorkflow field is set. + */ + boolean hasMigrationWorkflow(); + /** + * + * + *
+   * Required. The migration workflow to create.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The migrationWorkflow. + */ + com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(); + /** + * + * + *
+   * Required. The migration workflow to create.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java index 064584b..d1dde61 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A request to delete a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest} */ -public final class DeleteMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) DeleteMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMigrationWorkflowRequest.newBuilder() to construct. - private DeleteMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMigrationWorkflowRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +92,42 @@ private DeleteMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +234,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to delete a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +382,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override @@ -364,7 +405,8 @@ public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest bui @java.lang.Override public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +416,51 @@ public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +484,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +498,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +523,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +548,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,30 +628,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +665,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..8704cb9 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface DeleteMigrationWorkflowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java index 0a6b01d..569163d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The possible dialect options for translation.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Dialect} */ -public final class Dialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Dialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.Dialect) DialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Dialect.newBuilder() to construct. private Dialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Dialect() { - } + + private Dialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Dialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Dialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,195 +68,273 @@ private Dialect( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder subBuilder = null; - if (dialectValueCase_ == 1) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.BigQueryDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 1; - break; - } - case 18: { - com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder subBuilder = null; - if (dialectValueCase_ == 2) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.HiveQLDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 2; - break; - } - case 26: { - com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder subBuilder = null; - if (dialectValueCase_ == 3) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.RedshiftDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 3; - break; - } - case 34: { - com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder subBuilder = null; - if (dialectValueCase_ == 4) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.TeradataDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 4; - break; - } - case 42: { - com.google.cloud.bigquery.migration.v2.OracleDialect.Builder subBuilder = null; - if (dialectValueCase_ == 5) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.OracleDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 5; - break; - } - case 50: { - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder subBuilder = null; - if (dialectValueCase_ == 6) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.SparkSQLDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder subBuilder = null; + if (dialectValueCase_ == 1) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.BigQueryDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 1; + break; } - dialectValueCase_ = 6; - break; - } - case 58: { - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder subBuilder = null; - if (dialectValueCase_ == 7) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_).toBuilder(); - } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.SnowflakeDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); - } - dialectValueCase_ = 7; - break; - } - case 66: { - com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder subBuilder = null; - if (dialectValueCase_ == 8) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_).toBuilder(); + case 18: + { + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder subBuilder = null; + if (dialectValueCase_ == 2) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.HiveQLDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 2; + break; } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.NetezzaDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder subBuilder = null; + if (dialectValueCase_ == 3) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.RedshiftDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 3; + break; } - dialectValueCase_ = 8; - break; - } - case 74: { - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder subBuilder = null; - if (dialectValueCase_ == 9) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_).toBuilder(); + case 34: + { + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder subBuilder = null; + if (dialectValueCase_ == 4) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.TeradataDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 4; + break; } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder subBuilder = null; + if (dialectValueCase_ == 5) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.OracleDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 5; + break; } - dialectValueCase_ = 9; - break; - } - case 82: { - com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder subBuilder = null; - if (dialectValueCase_ == 10) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_).toBuilder(); + case 50: + { + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder subBuilder = null; + if (dialectValueCase_ == 6) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 6; + break; } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.VerticaDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder subBuilder = null; + if (dialectValueCase_ == 7) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 7; + break; } - dialectValueCase_ = 10; - break; - } - case 90: { - com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder subBuilder = null; - if (dialectValueCase_ == 11) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_).toBuilder(); + case 66: + { + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder subBuilder = null; + if (dialectValueCase_ == 8) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.NetezzaDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 8; + break; } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.SQLServerDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder subBuilder = null; + if (dialectValueCase_ == 9) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 9; + break; } - dialectValueCase_ = 11; - break; - } - case 98: { - com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder subBuilder = null; - if (dialectValueCase_ == 12) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_).toBuilder(); + case 82: + { + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder subBuilder = null; + if (dialectValueCase_ == 10) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.VerticaDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 10; + break; } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.PostgresqlDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder subBuilder = null; + if (dialectValueCase_ == 11) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.SQLServerDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 11; + break; } - dialectValueCase_ = 12; - break; - } - case 106: { - com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder subBuilder = null; - if (dialectValueCase_ == 13) { - subBuilder = ((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_).toBuilder(); + case 98: + { + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder subBuilder = null; + if (dialectValueCase_ == 12) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 12; + break; } - dialectValue_ = - input.readMessage(com.google.cloud.bigquery.migration.v2.PrestoDialect.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); - dialectValue_ = subBuilder.buildPartial(); + case 106: + { + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder subBuilder = null; + if (dialectValueCase_ == 13) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.PrestoDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 13; + break; } - dialectValueCase_ = 13; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -248,30 +342,34 @@ private Dialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Dialect.class, com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); + com.google.cloud.bigquery.migration.v2.Dialect.class, + com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); } private int dialectValueCase_ = 0; private java.lang.Object dialectValue_; + public enum DialectValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIGQUERY_DIALECT(1), HIVEQL_DIALECT(2), @@ -288,6 +386,7 @@ public enum DialectValueCase PRESTO_DIALECT(13), DIALECTVALUE_NOT_SET(0); private final int value; + private DialectValueCase(int value) { this.value = value; } @@ -303,41 +402,58 @@ public static DialectValueCase valueOf(int value) { public static DialectValueCase forNumber(int value) { switch (value) { - case 1: return BIGQUERY_DIALECT; - case 2: return HIVEQL_DIALECT; - case 3: return REDSHIFT_DIALECT; - case 4: return TERADATA_DIALECT; - case 5: return ORACLE_DIALECT; - case 6: return SPARKSQL_DIALECT; - case 7: return SNOWFLAKE_DIALECT; - case 8: return NETEZZA_DIALECT; - case 9: return AZURE_SYNAPSE_DIALECT; - case 10: return VERTICA_DIALECT; - case 11: return SQL_SERVER_DIALECT; - case 12: return POSTGRESQL_DIALECT; - case 13: return PRESTO_DIALECT; - case 0: return DIALECTVALUE_NOT_SET; - default: return null; + case 1: + return BIGQUERY_DIALECT; + case 2: + return HIVEQL_DIALECT; + case 3: + return REDSHIFT_DIALECT; + case 4: + return TERADATA_DIALECT; + case 5: + return ORACLE_DIALECT; + case 6: + return SPARKSQL_DIALECT; + case 7: + return SNOWFLAKE_DIALECT; + case 8: + return NETEZZA_DIALECT; + case 9: + return AZURE_SYNAPSE_DIALECT; + case 10: + return VERTICA_DIALECT; + case 11: + return SQL_SERVER_DIALECT; + case 12: + return POSTGRESQL_DIALECT; + case 13: + return PRESTO_DIALECT; + case 0: + return DIALECTVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DialectValueCase - getDialectValueCase() { - return DialectValueCase.forNumber( - dialectValueCase_); + public DialectValueCase getDialectValueCase() { + return DialectValueCase.forNumber(dialectValueCase_); } public static final int BIGQUERY_DIALECT_FIELD_NUMBER = 1; /** + * + * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; + * * @return Whether the bigqueryDialect field is set. */ @java.lang.Override @@ -345,21 +461,26 @@ public boolean hasBigqueryDialect() { return dialectValueCase_ == 1; } /** + * + * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; + * * @return The bigqueryDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect() { if (dialectValueCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); } /** + * + * *
    * The BigQuery dialect
    * 
@@ -367,20 +488,24 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigqueryDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder + getBigqueryDialectOrBuilder() { if (dialectValueCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); } public static final int HIVEQL_DIALECT_FIELD_NUMBER = 2; /** + * + * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; + * * @return Whether the hiveqlDialect field is set. */ @java.lang.Override @@ -388,21 +513,26 @@ public boolean hasHiveqlDialect() { return dialectValueCase_ == 2; } /** + * + * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; + * * @return The hiveqlDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect() { if (dialectValueCase_ == 2) { - return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance(); } /** + * + * *
    * The HiveQL dialect
    * 
@@ -412,18 +542,21 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDialectOrBuilder() { if (dialectValueCase_ == 2) { - return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance(); } public static final int REDSHIFT_DIALECT_FIELD_NUMBER = 3; /** + * + * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; + * * @return Whether the redshiftDialect field is set. */ @java.lang.Override @@ -431,21 +564,26 @@ public boolean hasRedshiftDialect() { return dialectValueCase_ == 3; } /** + * + * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; + * * @return The redshiftDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect() { if (dialectValueCase_ == 3) { - return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); } /** + * + * *
    * The Redshift dialect
    * 
@@ -453,20 +591,24 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshiftDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder + getRedshiftDialectOrBuilder() { if (dialectValueCase_ == 3) { - return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); } public static final int TERADATA_DIALECT_FIELD_NUMBER = 4; /** + * + * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; + * * @return Whether the teradataDialect field is set. */ @java.lang.Override @@ -474,21 +616,26 @@ public boolean hasTeradataDialect() { return dialectValueCase_ == 4; } /** + * + * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; + * * @return The teradataDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect() { if (dialectValueCase_ == 4) { - return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); } /** + * + * *
    * The Teradata dialect
    * 
@@ -496,20 +643,24 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTeradataDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder + getTeradataDialectOrBuilder() { if (dialectValueCase_ == 4) { - return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); } public static final int ORACLE_DIALECT_FIELD_NUMBER = 5; /** + * + * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; + * * @return Whether the oracleDialect field is set. */ @java.lang.Override @@ -517,21 +668,26 @@ public boolean hasOracleDialect() { return dialectValueCase_ == 5; } /** + * + * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; + * * @return The oracleDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect() { if (dialectValueCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance(); } /** + * + * *
    * The Oracle dialect
    * 
@@ -541,18 +697,21 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDialectOrBuilder() { if (dialectValueCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance(); } public static final int SPARKSQL_DIALECT_FIELD_NUMBER = 6; /** + * + * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; + * * @return Whether the sparksqlDialect field is set. */ @java.lang.Override @@ -560,21 +719,26 @@ public boolean hasSparksqlDialect() { return dialectValueCase_ == 6; } /** + * + * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; + * * @return The sparksqlDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect() { if (dialectValueCase_ == 6) { - return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); } /** + * + * *
    * The SparkSQL dialect
    * 
@@ -582,20 +746,24 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder + getSparksqlDialectOrBuilder() { if (dialectValueCase_ == 6) { - return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); } public static final int SNOWFLAKE_DIALECT_FIELD_NUMBER = 7; /** + * + * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; + * * @return Whether the snowflakeDialect field is set. */ @java.lang.Override @@ -603,21 +771,26 @@ public boolean hasSnowflakeDialect() { return dialectValueCase_ == 7; } /** + * + * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; + * * @return The snowflakeDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDialect() { if (dialectValueCase_ == 7) { - return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); } /** + * + * *
    * The Snowflake dialect
    * 
@@ -625,20 +798,24 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDiale * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder + getSnowflakeDialectOrBuilder() { if (dialectValueCase_ == 7) { - return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); } public static final int NETEZZA_DIALECT_FIELD_NUMBER = 8; /** + * + * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; + * * @return Whether the netezzaDialect field is set. */ @java.lang.Override @@ -646,21 +823,26 @@ public boolean hasNetezzaDialect() { return dialectValueCase_ == 8; } /** + * + * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; + * * @return The netezzaDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect() { if (dialectValueCase_ == 8) { - return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); } /** + * + * *
    * The Netezza dialect
    * 
@@ -668,20 +850,24 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect() * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezzaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder + getNetezzaDialectOrBuilder() { if (dialectValueCase_ == 8) { - return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); } public static final int AZURE_SYNAPSE_DIALECT_FIELD_NUMBER = 9; /** + * + * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * * @return Whether the azureSynapseDialect field is set. */ @java.lang.Override @@ -689,21 +875,26 @@ public boolean hasAzureSynapseDialect() { return dialectValueCase_ == 9; } /** + * + * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * * @return The azureSynapseDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynapseDialect() { if (dialectValueCase_ == 9) { - return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); } /** + * + * *
    * The Azure Synapse dialect
    * 
@@ -711,20 +902,24 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynaps * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder + getAzureSynapseDialectOrBuilder() { if (dialectValueCase_ == 9) { - return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); } public static final int VERTICA_DIALECT_FIELD_NUMBER = 10; /** + * + * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; + * * @return Whether the verticaDialect field is set. */ @java.lang.Override @@ -732,21 +927,26 @@ public boolean hasVerticaDialect() { return dialectValueCase_ == 10; } /** + * + * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; + * * @return The verticaDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() { if (dialectValueCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); } /** + * + * *
    * The Vertica dialect
    * 
@@ -754,20 +954,24 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder + getVerticaDialectOrBuilder() { if (dialectValueCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); } public static final int SQL_SERVER_DIALECT_FIELD_NUMBER = 11; /** + * + * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; + * * @return Whether the sqlServerDialect field is set. */ @java.lang.Override @@ -775,21 +979,26 @@ public boolean hasSqlServerDialect() { return dialectValueCase_ == 11; } /** + * + * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; + * * @return The sqlServerDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect() { if (dialectValueCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); } /** + * + * *
    * The SQL Server dialect
    * 
@@ -797,20 +1006,24 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDiale * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder + getSqlServerDialectOrBuilder() { if (dialectValueCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); } public static final int POSTGRESQL_DIALECT_FIELD_NUMBER = 12; /** + * + * *
    * The Postgresql dialect
    * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * * @return Whether the postgresqlDialect field is set. */ @java.lang.Override @@ -818,21 +1031,26 @@ public boolean hasPostgresqlDialect() { return dialectValueCase_ == 12; } /** + * + * *
    * The Postgresql dialect
    * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * * @return The postgresqlDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect() { if (dialectValueCase_ == 12) { - return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); } /** + * + * *
    * The Postgresql dialect
    * 
@@ -840,20 +1058,24 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDia * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder + getPostgresqlDialectOrBuilder() { if (dialectValueCase_ == 12) { - return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); } public static final int PRESTO_DIALECT_FIELD_NUMBER = 13; /** + * + * *
    * The Presto dialect
    * 
* * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * * @return Whether the prestoDialect field is set. */ @java.lang.Override @@ -861,21 +1083,26 @@ public boolean hasPrestoDialect() { return dialectValueCase_ == 13; } /** + * + * *
    * The Presto dialect
    * 
* * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * * @return The prestoDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() { if (dialectValueCase_ == 13) { - return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); } /** + * + * *
    * The Presto dialect
    * 
@@ -885,12 +1112,13 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder() { if (dialectValueCase_ == 13) { - return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; + return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_; } return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -902,43 +1130,51 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dialectValueCase_ == 1) { - output.writeMessage(1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); + output.writeMessage( + 1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); } if (dialectValueCase_ == 2) { output.writeMessage(2, (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); } if (dialectValueCase_ == 3) { - output.writeMessage(3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); + output.writeMessage( + 3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); } if (dialectValueCase_ == 4) { - output.writeMessage(4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); + output.writeMessage( + 4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); } if (dialectValueCase_ == 5) { output.writeMessage(5, (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); } if (dialectValueCase_ == 6) { - output.writeMessage(6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); + output.writeMessage( + 6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); } if (dialectValueCase_ == 7) { - output.writeMessage(7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); + output.writeMessage( + 7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); } if (dialectValueCase_ == 8) { output.writeMessage(8, (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); } if (dialectValueCase_ == 9) { - output.writeMessage(9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); + output.writeMessage( + 9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); } if (dialectValueCase_ == 10) { - output.writeMessage(10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); + output.writeMessage( + 10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); } if (dialectValueCase_ == 11) { - output.writeMessage(11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + output.writeMessage( + 11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); } if (dialectValueCase_ == 12) { - output.writeMessage(12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + output.writeMessage( + 12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); } if (dialectValueCase_ == 13) { output.writeMessage(13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); @@ -953,56 +1189,69 @@ public int getSerializedSize() { size = 0; if (dialectValueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_); } if (dialectValueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_); } if (dialectValueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_); } if (dialectValueCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_); } if (dialectValueCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_); } if (dialectValueCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_); } if (dialectValueCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_); } if (dialectValueCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_); } if (dialectValueCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_); } if (dialectValueCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_); } if (dialectValueCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); } if (dialectValueCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); } if (dialectValueCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1012,66 +1261,54 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.Dialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.Dialect other = (com.google.cloud.bigquery.migration.v2.Dialect) obj; + com.google.cloud.bigquery.migration.v2.Dialect other = + (com.google.cloud.bigquery.migration.v2.Dialect) obj; if (!getDialectValueCase().equals(other.getDialectValueCase())) return false; switch (dialectValueCase_) { case 1: - if (!getBigqueryDialect() - .equals(other.getBigqueryDialect())) return false; + if (!getBigqueryDialect().equals(other.getBigqueryDialect())) return false; break; case 2: - if (!getHiveqlDialect() - .equals(other.getHiveqlDialect())) return false; + if (!getHiveqlDialect().equals(other.getHiveqlDialect())) return false; break; case 3: - if (!getRedshiftDialect() - .equals(other.getRedshiftDialect())) return false; + if (!getRedshiftDialect().equals(other.getRedshiftDialect())) return false; break; case 4: - if (!getTeradataDialect() - .equals(other.getTeradataDialect())) return false; + if (!getTeradataDialect().equals(other.getTeradataDialect())) return false; break; case 5: - if (!getOracleDialect() - .equals(other.getOracleDialect())) return false; + if (!getOracleDialect().equals(other.getOracleDialect())) return false; break; case 6: - if (!getSparksqlDialect() - .equals(other.getSparksqlDialect())) return false; + if (!getSparksqlDialect().equals(other.getSparksqlDialect())) return false; break; case 7: - if (!getSnowflakeDialect() - .equals(other.getSnowflakeDialect())) return false; + if (!getSnowflakeDialect().equals(other.getSnowflakeDialect())) return false; break; case 8: - if (!getNetezzaDialect() - .equals(other.getNetezzaDialect())) return false; + if (!getNetezzaDialect().equals(other.getNetezzaDialect())) return false; break; case 9: - if (!getAzureSynapseDialect() - .equals(other.getAzureSynapseDialect())) return false; + if (!getAzureSynapseDialect().equals(other.getAzureSynapseDialect())) return false; break; case 10: - if (!getVerticaDialect() - .equals(other.getVerticaDialect())) return false; + if (!getVerticaDialect().equals(other.getVerticaDialect())) return false; break; case 11: - if (!getSqlServerDialect() - .equals(other.getSqlServerDialect())) return false; + if (!getSqlServerDialect().equals(other.getSqlServerDialect())) return false; break; case 12: - if (!getPostgresqlDialect() - .equals(other.getPostgresqlDialect())) return false; + if (!getPostgresqlDialect().equals(other.getPostgresqlDialect())) return false; break; case 13: - if (!getPrestoDialect() - .equals(other.getPrestoDialect())) return false; + if (!getPrestoDialect().equals(other.getPrestoDialect())) return false; break; case 0: default: @@ -1148,118 +1385,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Dialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.Dialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.Dialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.Dialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The possible dialect options for translation.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Dialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.Dialect) com.google.cloud.bigquery.migration.v2.DialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Dialect.class, com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); + com.google.cloud.bigquery.migration.v2.Dialect.class, + com.google.cloud.bigquery.migration.v2.Dialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.Dialect.newBuilder() @@ -1267,16 +1513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1286,9 +1531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; } @java.lang.Override @@ -1307,7 +1552,8 @@ public com.google.cloud.bigquery.migration.v2.Dialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() { - com.google.cloud.bigquery.migration.v2.Dialect result = new com.google.cloud.bigquery.migration.v2.Dialect(this); + com.google.cloud.bigquery.migration.v2.Dialect result = + new com.google.cloud.bigquery.migration.v2.Dialect(this); if (dialectValueCase_ == 1) { if (bigqueryDialectBuilder_ == null) { result.dialectValue_ = dialectValue_; @@ -1408,38 +1654,39 @@ public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.Dialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.Dialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.Dialect) other); } else { super.mergeFrom(other); return this; @@ -1449,61 +1696,75 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.Dialect other) { if (other == com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance()) return this; switch (other.getDialectValueCase()) { - case BIGQUERY_DIALECT: { - mergeBigqueryDialect(other.getBigqueryDialect()); - break; - } - case HIVEQL_DIALECT: { - mergeHiveqlDialect(other.getHiveqlDialect()); - break; - } - case REDSHIFT_DIALECT: { - mergeRedshiftDialect(other.getRedshiftDialect()); - break; - } - case TERADATA_DIALECT: { - mergeTeradataDialect(other.getTeradataDialect()); - break; - } - case ORACLE_DIALECT: { - mergeOracleDialect(other.getOracleDialect()); - break; - } - case SPARKSQL_DIALECT: { - mergeSparksqlDialect(other.getSparksqlDialect()); - break; - } - case SNOWFLAKE_DIALECT: { - mergeSnowflakeDialect(other.getSnowflakeDialect()); - break; - } - case NETEZZA_DIALECT: { - mergeNetezzaDialect(other.getNetezzaDialect()); - break; - } - case AZURE_SYNAPSE_DIALECT: { - mergeAzureSynapseDialect(other.getAzureSynapseDialect()); - break; - } - case VERTICA_DIALECT: { - mergeVerticaDialect(other.getVerticaDialect()); - break; - } - case SQL_SERVER_DIALECT: { - mergeSqlServerDialect(other.getSqlServerDialect()); - break; - } - case POSTGRESQL_DIALECT: { - mergePostgresqlDialect(other.getPostgresqlDialect()); - break; - } - case PRESTO_DIALECT: { - mergePrestoDialect(other.getPrestoDialect()); - break; - } - case DIALECTVALUE_NOT_SET: { - break; - } + case BIGQUERY_DIALECT: + { + mergeBigqueryDialect(other.getBigqueryDialect()); + break; + } + case HIVEQL_DIALECT: + { + mergeHiveqlDialect(other.getHiveqlDialect()); + break; + } + case REDSHIFT_DIALECT: + { + mergeRedshiftDialect(other.getRedshiftDialect()); + break; + } + case TERADATA_DIALECT: + { + mergeTeradataDialect(other.getTeradataDialect()); + break; + } + case ORACLE_DIALECT: + { + mergeOracleDialect(other.getOracleDialect()); + break; + } + case SPARKSQL_DIALECT: + { + mergeSparksqlDialect(other.getSparksqlDialect()); + break; + } + case SNOWFLAKE_DIALECT: + { + mergeSnowflakeDialect(other.getSnowflakeDialect()); + break; + } + case NETEZZA_DIALECT: + { + mergeNetezzaDialect(other.getNetezzaDialect()); + break; + } + case AZURE_SYNAPSE_DIALECT: + { + mergeAzureSynapseDialect(other.getAzureSynapseDialect()); + break; + } + case VERTICA_DIALECT: + { + mergeVerticaDialect(other.getVerticaDialect()); + break; + } + case SQL_SERVER_DIALECT: + { + mergeSqlServerDialect(other.getSqlServerDialect()); + break; + } + case POSTGRESQL_DIALECT: + { + mergePostgresqlDialect(other.getPostgresqlDialect()); + break; + } + case PRESTO_DIALECT: + { + mergePrestoDialect(other.getPrestoDialect()); + break; + } + case DIALECTVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1533,12 +1794,12 @@ public Builder mergeFrom( } return this; } + private int dialectValueCase_ = 0; private java.lang.Object dialectValue_; - public DialectValueCase - getDialectValueCase() { - return DialectValueCase.forNumber( - dialectValueCase_); + + public DialectValueCase getDialectValueCase() { + return DialectValueCase.forNumber(dialectValueCase_); } public Builder clearDialectValue() { @@ -1548,15 +1809,20 @@ public Builder clearDialectValue() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.BigQueryDialect, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> bigqueryDialectBuilder_; + com.google.cloud.bigquery.migration.v2.BigQueryDialect, + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, + com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> + bigqueryDialectBuilder_; /** + * + * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; + * * @return Whether the bigqueryDialect field is set. */ @java.lang.Override @@ -1564,11 +1830,14 @@ public boolean hasBigqueryDialect() { return dialectValueCase_ == 1; } /** + * + * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; + * * @return The bigqueryDialect. */ @java.lang.Override @@ -1586,13 +1855,16 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect } } /** + * + * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ - public Builder setBigqueryDialect(com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { + public Builder setBigqueryDialect( + com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { if (bigqueryDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1606,6 +1878,8 @@ public Builder setBigqueryDialect(com.google.cloud.bigquery.migration.v2.BigQuer return this; } /** + * + * *
      * The BigQuery dialect
      * 
@@ -1624,18 +1898,25 @@ public Builder setBigqueryDialect( return this; } /** + * + * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ - public Builder mergeBigqueryDialect(com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { + public Builder mergeBigqueryDialect( + com.google.cloud.bigquery.migration.v2.BigQueryDialect value) { if (bigqueryDialectBuilder_ == null) { - if (dialectValueCase_ == 1 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.BigQueryDialect.newBuilder((com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 1 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.BigQueryDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -1651,6 +1932,8 @@ public Builder mergeBigqueryDialect(com.google.cloud.bigquery.migration.v2.BigQu return this; } /** + * + * *
      * The BigQuery dialect
      * 
@@ -1674,16 +1957,21 @@ public Builder clearBigqueryDialect() { return this; } /** + * + * *
      * The BigQuery dialect
      * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ - public com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder getBigqueryDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder + getBigqueryDialectBuilder() { return getBigqueryDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The BigQuery dialect
      * 
@@ -1691,7 +1979,8 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder getBigquer * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigqueryDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder + getBigqueryDialectOrBuilder() { if ((dialectValueCase_ == 1) && (bigqueryDialectBuilder_ != null)) { return bigqueryDialectBuilder_.getMessageOrBuilder(); } else { @@ -1702,6 +1991,8 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigque } } /** + * + * *
      * The BigQuery dialect
      * 
@@ -1709,32 +2000,45 @@ public com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigque * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.BigQueryDialect, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.BigQueryDialect, + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, + com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder> getBigqueryDialectFieldBuilder() { if (bigqueryDialectBuilder_ == null) { if (!(dialectValueCase_ == 1)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); - } - bigqueryDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.BigQueryDialect, com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.BigQueryDialect.getDefaultInstance(); + } + bigqueryDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.BigQueryDialect, + com.google.cloud.bigquery.migration.v2.BigQueryDialect.Builder, + com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.BigQueryDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 1; - onChanged();; + onChanged(); + ; return bigqueryDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.HiveQLDialect, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> hiveqlDialectBuilder_; + com.google.cloud.bigquery.migration.v2.HiveQLDialect, + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, + com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> + hiveqlDialectBuilder_; /** + * + * *
      * The HiveQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; + * * @return Whether the hiveqlDialect field is set. */ @java.lang.Override @@ -1742,11 +2046,14 @@ public boolean hasHiveqlDialect() { return dialectValueCase_ == 2; } /** + * + * *
      * The HiveQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; + * * @return The hiveqlDialect. */ @java.lang.Override @@ -1764,6 +2071,8 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect() { } } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1784,6 +2093,8 @@ public Builder setHiveqlDialect(com.google.cloud.bigquery.migration.v2.HiveQLDia return this; } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1802,6 +2113,8 @@ public Builder setHiveqlDialect( return this; } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1810,10 +2123,14 @@ public Builder setHiveqlDialect( */ public Builder mergeHiveqlDialect(com.google.cloud.bigquery.migration.v2.HiveQLDialect value) { if (hiveqlDialectBuilder_ == null) { - if (dialectValueCase_ == 2 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.HiveQLDialect.newBuilder((com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 2 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.HiveQLDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -1829,6 +2146,8 @@ public Builder mergeHiveqlDialect(com.google.cloud.bigquery.migration.v2.HiveQLD return this; } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1852,6 +2171,8 @@ public Builder clearHiveqlDialect() { return this; } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1862,6 +2183,8 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder getHiveqlDia return getHiveqlDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1869,7 +2192,8 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder getHiveqlDia * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder + getHiveqlDialectOrBuilder() { if ((dialectValueCase_ == 2) && (hiveqlDialectBuilder_ != null)) { return hiveqlDialectBuilder_.getMessageOrBuilder(); } else { @@ -1880,6 +2204,8 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDi } } /** + * + * *
      * The HiveQL dialect
      * 
@@ -1887,32 +2213,44 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDi * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.HiveQLDialect, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.HiveQLDialect, + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, + com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder> getHiveqlDialectFieldBuilder() { if (hiveqlDialectBuilder_ == null) { if (!(dialectValueCase_ == 2)) { dialectValue_ = com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance(); } - hiveqlDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.HiveQLDialect, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder>( + hiveqlDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.HiveQLDialect, + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder, + com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.HiveQLDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 2; - onChanged();; + onChanged(); + ; return hiveqlDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.RedshiftDialect, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> redshiftDialectBuilder_; + com.google.cloud.bigquery.migration.v2.RedshiftDialect, + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, + com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> + redshiftDialectBuilder_; /** + * + * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; + * * @return Whether the redshiftDialect field is set. */ @java.lang.Override @@ -1920,11 +2258,14 @@ public boolean hasRedshiftDialect() { return dialectValueCase_ == 3; } /** + * + * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; + * * @return The redshiftDialect. */ @java.lang.Override @@ -1942,13 +2283,16 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect } } /** + * + * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ - public Builder setRedshiftDialect(com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { + public Builder setRedshiftDialect( + com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { if (redshiftDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1962,6 +2306,8 @@ public Builder setRedshiftDialect(com.google.cloud.bigquery.migration.v2.Redshif return this; } /** + * + * *
      * The Redshift dialect
      * 
@@ -1980,18 +2326,25 @@ public Builder setRedshiftDialect( return this; } /** + * + * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ - public Builder mergeRedshiftDialect(com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { + public Builder mergeRedshiftDialect( + com.google.cloud.bigquery.migration.v2.RedshiftDialect value) { if (redshiftDialectBuilder_ == null) { - if (dialectValueCase_ == 3 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.RedshiftDialect.newBuilder((com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 3 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.RedshiftDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -2007,6 +2360,8 @@ public Builder mergeRedshiftDialect(com.google.cloud.bigquery.migration.v2.Redsh return this; } /** + * + * *
      * The Redshift dialect
      * 
@@ -2030,16 +2385,21 @@ public Builder clearRedshiftDialect() { return this; } /** + * + * *
      * The Redshift dialect
      * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ - public com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder getRedshiftDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder + getRedshiftDialectBuilder() { return getRedshiftDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Redshift dialect
      * 
@@ -2047,7 +2407,8 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder getRedshif * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshiftDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder + getRedshiftDialectOrBuilder() { if ((dialectValueCase_ == 3) && (redshiftDialectBuilder_ != null)) { return redshiftDialectBuilder_.getMessageOrBuilder(); } else { @@ -2058,6 +2419,8 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshi } } /** + * + * *
      * The Redshift dialect
      * 
@@ -2065,32 +2428,45 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshi * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.RedshiftDialect, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.RedshiftDialect, + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, + com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder> getRedshiftDialectFieldBuilder() { if (redshiftDialectBuilder_ == null) { if (!(dialectValueCase_ == 3)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); - } - redshiftDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.RedshiftDialect, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance(); + } + redshiftDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.RedshiftDialect, + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder, + com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.RedshiftDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 3; - onChanged();; + onChanged(); + ; return redshiftDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TeradataDialect, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> teradataDialectBuilder_; + com.google.cloud.bigquery.migration.v2.TeradataDialect, + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, + com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> + teradataDialectBuilder_; /** + * + * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; + * * @return Whether the teradataDialect field is set. */ @java.lang.Override @@ -2098,11 +2474,14 @@ public boolean hasTeradataDialect() { return dialectValueCase_ == 4; } /** + * + * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; + * * @return The teradataDialect. */ @java.lang.Override @@ -2120,13 +2499,16 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect } } /** + * + * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ - public Builder setTeradataDialect(com.google.cloud.bigquery.migration.v2.TeradataDialect value) { + public Builder setTeradataDialect( + com.google.cloud.bigquery.migration.v2.TeradataDialect value) { if (teradataDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2140,6 +2522,8 @@ public Builder setTeradataDialect(com.google.cloud.bigquery.migration.v2.Teradat return this; } /** + * + * *
      * The Teradata dialect
      * 
@@ -2158,18 +2542,25 @@ public Builder setTeradataDialect( return this; } /** + * + * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ - public Builder mergeTeradataDialect(com.google.cloud.bigquery.migration.v2.TeradataDialect value) { + public Builder mergeTeradataDialect( + com.google.cloud.bigquery.migration.v2.TeradataDialect value) { if (teradataDialectBuilder_ == null) { - if (dialectValueCase_ == 4 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.TeradataDialect.newBuilder((com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 4 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.TeradataDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -2185,6 +2576,8 @@ public Builder mergeTeradataDialect(com.google.cloud.bigquery.migration.v2.Terad return this; } /** + * + * *
      * The Teradata dialect
      * 
@@ -2208,16 +2601,21 @@ public Builder clearTeradataDialect() { return this; } /** + * + * *
      * The Teradata dialect
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ - public com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder getTeradataDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder + getTeradataDialectBuilder() { return getTeradataDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Teradata dialect
      * 
@@ -2225,7 +2623,8 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder getTeradat * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTeradataDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder + getTeradataDialectOrBuilder() { if ((dialectValueCase_ == 4) && (teradataDialectBuilder_ != null)) { return teradataDialectBuilder_.getMessageOrBuilder(); } else { @@ -2236,6 +2635,8 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTerada } } /** + * + * *
      * The Teradata dialect
      * 
@@ -2243,32 +2644,45 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTerada * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TeradataDialect, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.TeradataDialect, + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, + com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder> getTeradataDialectFieldBuilder() { if (teradataDialectBuilder_ == null) { if (!(dialectValueCase_ == 4)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); - } - teradataDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TeradataDialect, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance(); + } + teradataDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TeradataDialect, + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder, + com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.TeradataDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 4; - onChanged();; + onChanged(); + ; return teradataDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.OracleDialect, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> oracleDialectBuilder_; + com.google.cloud.bigquery.migration.v2.OracleDialect, + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, + com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> + oracleDialectBuilder_; /** + * + * *
      * The Oracle dialect
      * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; + * * @return Whether the oracleDialect field is set. */ @java.lang.Override @@ -2276,11 +2690,14 @@ public boolean hasOracleDialect() { return dialectValueCase_ == 5; } /** + * + * *
      * The Oracle dialect
      * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; + * * @return The oracleDialect. */ @java.lang.Override @@ -2298,6 +2715,8 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect() { } } /** + * + * *
      * The Oracle dialect
      * 
@@ -2318,6 +2737,8 @@ public Builder setOracleDialect(com.google.cloud.bigquery.migration.v2.OracleDia return this; } /** + * + * *
      * The Oracle dialect
      * 
@@ -2336,6 +2757,8 @@ public Builder setOracleDialect( return this; } /** + * + * *
      * The Oracle dialect
      * 
@@ -2344,10 +2767,14 @@ public Builder setOracleDialect( */ public Builder mergeOracleDialect(com.google.cloud.bigquery.migration.v2.OracleDialect value) { if (oracleDialectBuilder_ == null) { - if (dialectValueCase_ == 5 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.OracleDialect.newBuilder((com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 5 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.OracleDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -2363,6 +2790,8 @@ public Builder mergeOracleDialect(com.google.cloud.bigquery.migration.v2.OracleD return this; } /** + * + * *
      * The Oracle dialect
      * 
@@ -2386,6 +2815,8 @@ public Builder clearOracleDialect() { return this; } /** + * + * *
      * The Oracle dialect
      * 
@@ -2396,6 +2827,8 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect.Builder getOracleDia return getOracleDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Oracle dialect
      * 
@@ -2403,7 +2836,8 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect.Builder getOracleDia * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder + getOracleDialectOrBuilder() { if ((dialectValueCase_ == 5) && (oracleDialectBuilder_ != null)) { return oracleDialectBuilder_.getMessageOrBuilder(); } else { @@ -2414,6 +2848,8 @@ public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDi } } /** + * + * *
      * The Oracle dialect
      * 
@@ -2421,32 +2857,44 @@ public com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDi * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.OracleDialect, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.OracleDialect, + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, + com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder> getOracleDialectFieldBuilder() { if (oracleDialectBuilder_ == null) { if (!(dialectValueCase_ == 5)) { dialectValue_ = com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance(); } - oracleDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.OracleDialect, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder>( + oracleDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.OracleDialect, + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder, + com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.OracleDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 5; - onChanged();; + onChanged(); + ; return oracleDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SparkSQLDialect, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> sparksqlDialectBuilder_; + com.google.cloud.bigquery.migration.v2.SparkSQLDialect, + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, + com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> + sparksqlDialectBuilder_; /** + * + * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; + * * @return Whether the sparksqlDialect field is set. */ @java.lang.Override @@ -2454,11 +2902,14 @@ public boolean hasSparksqlDialect() { return dialectValueCase_ == 6; } /** + * + * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; + * * @return The sparksqlDialect. */ @java.lang.Override @@ -2476,13 +2927,16 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect } } /** + * + * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ - public Builder setSparksqlDialect(com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { + public Builder setSparksqlDialect( + com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { if (sparksqlDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2496,6 +2950,8 @@ public Builder setSparksqlDialect(com.google.cloud.bigquery.migration.v2.SparkSQ return this; } /** + * + * *
      * The SparkSQL dialect
      * 
@@ -2514,18 +2970,25 @@ public Builder setSparksqlDialect( return this; } /** + * + * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ - public Builder mergeSparksqlDialect(com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { + public Builder mergeSparksqlDialect( + com.google.cloud.bigquery.migration.v2.SparkSQLDialect value) { if (sparksqlDialectBuilder_ == null) { - if (dialectValueCase_ == 6 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.SparkSQLDialect.newBuilder((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 6 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -2541,6 +3004,8 @@ public Builder mergeSparksqlDialect(com.google.cloud.bigquery.migration.v2.Spark return this; } /** + * + * *
      * The SparkSQL dialect
      * 
@@ -2564,16 +3029,21 @@ public Builder clearSparksqlDialect() { return this; } /** + * + * *
      * The SparkSQL dialect
      * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ - public com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder getSparksqlDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder + getSparksqlDialectBuilder() { return getSparksqlDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The SparkSQL dialect
      * 
@@ -2581,7 +3051,8 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder getSparksq * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder + getSparksqlDialectOrBuilder() { if ((dialectValueCase_ == 6) && (sparksqlDialectBuilder_ != null)) { return sparksqlDialectBuilder_.getMessageOrBuilder(); } else { @@ -2592,6 +3063,8 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparks } } /** + * + * *
      * The SparkSQL dialect
      * 
@@ -2599,32 +3072,45 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparks * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SparkSQLDialect, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.SparkSQLDialect, + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, + com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder> getSparksqlDialectFieldBuilder() { if (sparksqlDialectBuilder_ == null) { if (!(dialectValueCase_ == 6)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); - } - sparksqlDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SparkSQLDialect, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance(); + } + sparksqlDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SparkSQLDialect, + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder, + com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 6; - onChanged();; + onChanged(); + ; return sparksqlDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SnowflakeDialect, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> snowflakeDialectBuilder_; + com.google.cloud.bigquery.migration.v2.SnowflakeDialect, + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, + com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> + snowflakeDialectBuilder_; /** + * + * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; + * * @return Whether the snowflakeDialect field is set. */ @java.lang.Override @@ -2632,11 +3118,14 @@ public boolean hasSnowflakeDialect() { return dialectValueCase_ == 7; } /** + * + * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; + * * @return The snowflakeDialect. */ @java.lang.Override @@ -2654,13 +3143,16 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDiale } } /** + * + * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ - public Builder setSnowflakeDialect(com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { + public Builder setSnowflakeDialect( + com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { if (snowflakeDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2674,6 +3166,8 @@ public Builder setSnowflakeDialect(com.google.cloud.bigquery.migration.v2.Snowfl return this; } /** + * + * *
      * The Snowflake dialect
      * 
@@ -2692,18 +3186,25 @@ public Builder setSnowflakeDialect( return this; } /** + * + * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ - public Builder mergeSnowflakeDialect(com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { + public Builder mergeSnowflakeDialect( + com.google.cloud.bigquery.migration.v2.SnowflakeDialect value) { if (snowflakeDialectBuilder_ == null) { - if (dialectValueCase_ == 7 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.SnowflakeDialect.newBuilder((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 7 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -2719,6 +3220,8 @@ public Builder mergeSnowflakeDialect(com.google.cloud.bigquery.migration.v2.Snow return this; } /** + * + * *
      * The Snowflake dialect
      * 
@@ -2742,16 +3245,21 @@ public Builder clearSnowflakeDialect() { return this; } /** + * + * *
      * The Snowflake dialect
      * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ - public com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder getSnowflakeDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder + getSnowflakeDialectBuilder() { return getSnowflakeDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Snowflake dialect
      * 
@@ -2759,7 +3267,8 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder getSnowfl * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder + getSnowflakeDialectOrBuilder() { if ((dialectValueCase_ == 7) && (snowflakeDialectBuilder_ != null)) { return snowflakeDialectBuilder_.getMessageOrBuilder(); } else { @@ -2770,6 +3279,8 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowf } } /** + * + * *
      * The Snowflake dialect
      * 
@@ -2777,32 +3288,45 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowf * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SnowflakeDialect, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.SnowflakeDialect, + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, + com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder> getSnowflakeDialectFieldBuilder() { if (snowflakeDialectBuilder_ == null) { if (!(dialectValueCase_ == 7)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); - } - snowflakeDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SnowflakeDialect, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance(); + } + snowflakeDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SnowflakeDialect, + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder, + com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 7; - onChanged();; + onChanged(); + ; return snowflakeDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NetezzaDialect, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> netezzaDialectBuilder_; + com.google.cloud.bigquery.migration.v2.NetezzaDialect, + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, + com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> + netezzaDialectBuilder_; /** + * + * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; + * * @return Whether the netezzaDialect field is set. */ @java.lang.Override @@ -2810,11 +3334,14 @@ public boolean hasNetezzaDialect() { return dialectValueCase_ == 8; } /** + * + * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; + * * @return The netezzaDialect. */ @java.lang.Override @@ -2832,6 +3359,8 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect() } } /** + * + * *
      * The Netezza dialect
      * 
@@ -2852,6 +3381,8 @@ public Builder setNetezzaDialect(com.google.cloud.bigquery.migration.v2.NetezzaD return this; } /** + * + * *
      * The Netezza dialect
      * 
@@ -2870,18 +3401,25 @@ public Builder setNetezzaDialect( return this; } /** + * + * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ - public Builder mergeNetezzaDialect(com.google.cloud.bigquery.migration.v2.NetezzaDialect value) { + public Builder mergeNetezzaDialect( + com.google.cloud.bigquery.migration.v2.NetezzaDialect value) { if (netezzaDialectBuilder_ == null) { - if (dialectValueCase_ == 8 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.NetezzaDialect.newBuilder((com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 8 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.NetezzaDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -2897,6 +3435,8 @@ public Builder mergeNetezzaDialect(com.google.cloud.bigquery.migration.v2.Netezz return this; } /** + * + * *
      * The Netezza dialect
      * 
@@ -2920,16 +3460,21 @@ public Builder clearNetezzaDialect() { return this; } /** + * + * *
      * The Netezza dialect
      * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ - public com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder getNetezzaDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder + getNetezzaDialectBuilder() { return getNetezzaDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Netezza dialect
      * 
@@ -2937,7 +3482,8 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder getNetezzaD * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezzaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder + getNetezzaDialectOrBuilder() { if ((dialectValueCase_ == 8) && (netezzaDialectBuilder_ != null)) { return netezzaDialectBuilder_.getMessageOrBuilder(); } else { @@ -2948,6 +3494,8 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezza } } /** + * + * *
      * The Netezza dialect
      * 
@@ -2955,32 +3503,46 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezza * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NetezzaDialect, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.NetezzaDialect, + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, + com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder> getNetezzaDialectFieldBuilder() { if (netezzaDialectBuilder_ == null) { if (!(dialectValueCase_ == 8)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); - } - netezzaDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NetezzaDialect, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance(); + } + netezzaDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.NetezzaDialect, + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder, + com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.NetezzaDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 8; - onChanged();; + onChanged(); + ; return netezzaDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> azureSynapseDialectBuilder_; + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> + azureSynapseDialectBuilder_; /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * + * * @return Whether the azureSynapseDialect field is set. */ @java.lang.Override @@ -2988,11 +3550,15 @@ public boolean hasAzureSynapseDialect() { return dialectValueCase_ == 9; } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * + * * @return The azureSynapseDialect. */ @java.lang.Override @@ -3010,13 +3576,17 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynaps } } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ - public Builder setAzureSynapseDialect(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { + public Builder setAzureSynapseDialect( + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { if (azureSynapseDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3030,11 +3600,14 @@ public Builder setAzureSynapseDialect(com.google.cloud.bigquery.migration.v2.Azu return this; } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ public Builder setAzureSynapseDialect( com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder builderForValue) { @@ -3048,18 +3621,27 @@ public Builder setAzureSynapseDialect( return this; } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ - public Builder mergeAzureSynapseDialect(com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { + public Builder mergeAzureSynapseDialect( + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect value) { if (azureSynapseDialectBuilder_ == null) { - if (dialectValueCase_ == 9 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.newBuilder((com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 9 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.AzureSynapseDialect + .getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -3075,11 +3657,14 @@ public Builder mergeAzureSynapseDialect(com.google.cloud.bigquery.migration.v2.A return this; } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ public Builder clearAzureSynapseDialect() { if (azureSynapseDialectBuilder_ == null) { @@ -3098,24 +3683,32 @@ public Builder clearAzureSynapseDialect() { return this; } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ - public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder getAzureSynapseDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder + getAzureSynapseDialectBuilder() { return getAzureSynapseDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder + getAzureSynapseDialectOrBuilder() { if ((dialectValueCase_ == 9) && (azureSynapseDialectBuilder_ != null)) { return azureSynapseDialectBuilder_.getMessageOrBuilder(); } else { @@ -3126,39 +3719,55 @@ public com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAz } } /** + * + * *
      * The Azure Synapse dialect
      * 
* - * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder> getAzureSynapseDialectFieldBuilder() { if (azureSynapseDialectBuilder_ == null) { if (!(dialectValueCase_ == 9)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); - } - azureSynapseDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.getDefaultInstance(); + } + azureSynapseDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialect.Builder, + com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.AzureSynapseDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 9; - onChanged();; + onChanged(); + ; return azureSynapseDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.VerticaDialect, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> verticaDialectBuilder_; + com.google.cloud.bigquery.migration.v2.VerticaDialect, + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, + com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> + verticaDialectBuilder_; /** + * + * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; + * * @return Whether the verticaDialect field is set. */ @java.lang.Override @@ -3166,11 +3775,14 @@ public boolean hasVerticaDialect() { return dialectValueCase_ == 10; } /** + * + * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; + * * @return The verticaDialect. */ @java.lang.Override @@ -3188,6 +3800,8 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() } } /** + * + * *
      * The Vertica dialect
      * 
@@ -3208,6 +3822,8 @@ public Builder setVerticaDialect(com.google.cloud.bigquery.migration.v2.VerticaD return this; } /** + * + * *
      * The Vertica dialect
      * 
@@ -3226,18 +3842,25 @@ public Builder setVerticaDialect( return this; } /** + * + * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ - public Builder mergeVerticaDialect(com.google.cloud.bigquery.migration.v2.VerticaDialect value) { + public Builder mergeVerticaDialect( + com.google.cloud.bigquery.migration.v2.VerticaDialect value) { if (verticaDialectBuilder_ == null) { - if (dialectValueCase_ == 10 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.VerticaDialect.newBuilder((com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 10 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.VerticaDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -3253,6 +3876,8 @@ public Builder mergeVerticaDialect(com.google.cloud.bigquery.migration.v2.Vertic return this; } /** + * + * *
      * The Vertica dialect
      * 
@@ -3276,16 +3901,21 @@ public Builder clearVerticaDialect() { return this; } /** + * + * *
      * The Vertica dialect
      * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ - public com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder getVerticaDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder + getVerticaDialectBuilder() { return getVerticaDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Vertica dialect
      * 
@@ -3293,7 +3923,8 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder getVerticaD * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder + getVerticaDialectOrBuilder() { if ((dialectValueCase_ == 10) && (verticaDialectBuilder_ != null)) { return verticaDialectBuilder_.getMessageOrBuilder(); } else { @@ -3304,6 +3935,8 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVertica } } /** + * + * *
      * The Vertica dialect
      * 
@@ -3311,32 +3944,45 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVertica * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.VerticaDialect, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.VerticaDialect, + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, + com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder> getVerticaDialectFieldBuilder() { if (verticaDialectBuilder_ == null) { if (!(dialectValueCase_ == 10)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); - } - verticaDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.VerticaDialect, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); + } + verticaDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.VerticaDialect, + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder, + com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 10; - onChanged();; + onChanged(); + ; return verticaDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SQLServerDialect, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> sqlServerDialectBuilder_; + com.google.cloud.bigquery.migration.v2.SQLServerDialect, + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, + com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> + sqlServerDialectBuilder_; /** + * + * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; + * * @return Whether the sqlServerDialect field is set. */ @java.lang.Override @@ -3344,11 +3990,14 @@ public boolean hasSqlServerDialect() { return dialectValueCase_ == 11; } /** + * + * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; + * * @return The sqlServerDialect. */ @java.lang.Override @@ -3366,13 +4015,16 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDiale } } /** + * + * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ - public Builder setSqlServerDialect(com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { + public Builder setSqlServerDialect( + com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { if (sqlServerDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3386,6 +4038,8 @@ public Builder setSqlServerDialect(com.google.cloud.bigquery.migration.v2.SQLSer return this; } /** + * + * *
      * The SQL Server dialect
      * 
@@ -3404,18 +4058,25 @@ public Builder setSqlServerDialect( return this; } /** + * + * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ - public Builder mergeSqlServerDialect(com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { + public Builder mergeSqlServerDialect( + com.google.cloud.bigquery.migration.v2.SQLServerDialect value) { if (sqlServerDialectBuilder_ == null) { - if (dialectValueCase_ == 11 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 11 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -3431,6 +4092,8 @@ public Builder mergeSqlServerDialect(com.google.cloud.bigquery.migration.v2.SQLS return this; } /** + * + * *
      * The SQL Server dialect
      * 
@@ -3454,16 +4117,21 @@ public Builder clearSqlServerDialect() { return this; } /** + * + * *
      * The SQL Server dialect
      * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ - public com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder getSqlServerDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder + getSqlServerDialectBuilder() { return getSqlServerDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The SQL Server dialect
      * 
@@ -3471,7 +4139,8 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder getSqlSer * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder + getSqlServerDialectOrBuilder() { if ((dialectValueCase_ == 11) && (sqlServerDialectBuilder_ != null)) { return sqlServerDialectBuilder_.getMessageOrBuilder(); } else { @@ -3482,6 +4151,8 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlSe } } /** + * + * *
      * The SQL Server dialect
      * 
@@ -3489,32 +4160,45 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlSe * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SQLServerDialect, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.SQLServerDialect, + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, + com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder> getSqlServerDialectFieldBuilder() { if (sqlServerDialectBuilder_ == null) { if (!(dialectValueCase_ == 11)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); - } - sqlServerDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SQLServerDialect, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); + } + sqlServerDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SQLServerDialect, + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder, + com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 11; - onChanged();; + onChanged(); + ; return sqlServerDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.PostgresqlDialect, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder> postgresqlDialectBuilder_; + com.google.cloud.bigquery.migration.v2.PostgresqlDialect, + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, + com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder> + postgresqlDialectBuilder_; /** + * + * *
      * The Postgresql dialect
      * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * * @return Whether the postgresqlDialect field is set. */ @java.lang.Override @@ -3522,11 +4206,14 @@ public boolean hasPostgresqlDialect() { return dialectValueCase_ == 12; } /** + * + * *
      * The Postgresql dialect
      * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * * @return The postgresqlDialect. */ @java.lang.Override @@ -3544,13 +4231,16 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDia } } /** + * + * *
      * The Postgresql dialect
      * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; */ - public Builder setPostgresqlDialect(com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) { + public Builder setPostgresqlDialect( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) { if (postgresqlDialectBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3564,6 +4254,8 @@ public Builder setPostgresqlDialect(com.google.cloud.bigquery.migration.v2.Postg return this; } /** + * + * *
      * The Postgresql dialect
      * 
@@ -3582,18 +4274,25 @@ public Builder setPostgresqlDialect( return this; } /** + * + * *
      * The Postgresql dialect
      * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; */ - public Builder mergePostgresqlDialect(com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) { + public Builder mergePostgresqlDialect( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) { if (postgresqlDialectBuilder_ == null) { - if (dialectValueCase_ == 12 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.PostgresqlDialect.newBuilder((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 12 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -3609,6 +4308,8 @@ public Builder mergePostgresqlDialect(com.google.cloud.bigquery.migration.v2.Pos return this; } /** + * + * *
      * The Postgresql dialect
      * 
@@ -3632,16 +4333,21 @@ public Builder clearPostgresqlDialect() { return this; } /** + * + * *
      * The Postgresql dialect
      * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; */ - public com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder getPostgresqlDialectBuilder() { + public com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder + getPostgresqlDialectBuilder() { return getPostgresqlDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Postgresql dialect
      * 
@@ -3649,7 +4355,8 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder getPostg * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder + getPostgresqlDialectOrBuilder() { if ((dialectValueCase_ == 12) && (postgresqlDialectBuilder_ != null)) { return postgresqlDialectBuilder_.getMessageOrBuilder(); } else { @@ -3660,6 +4367,8 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPost } } /** + * + * *
      * The Postgresql dialect
      * 
@@ -3667,32 +4376,45 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPost * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.PostgresqlDialect, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.PostgresqlDialect, + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, + com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder> getPostgresqlDialectFieldBuilder() { if (postgresqlDialectBuilder_ == null) { if (!(dialectValueCase_ == 12)) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); - } - postgresqlDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.PostgresqlDialect, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder>( + dialectValue_ = + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance(); + } + postgresqlDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PostgresqlDialect, + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder, + com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 12; - onChanged();; + onChanged(); + ; return postgresqlDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.PrestoDialect, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder> prestoDialectBuilder_; + com.google.cloud.bigquery.migration.v2.PrestoDialect, + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, + com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder> + prestoDialectBuilder_; /** + * + * *
      * The Presto dialect
      * 
* * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * * @return Whether the prestoDialect field is set. */ @java.lang.Override @@ -3700,11 +4422,14 @@ public boolean hasPrestoDialect() { return dialectValueCase_ == 13; } /** + * + * *
      * The Presto dialect
      * 
* * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * * @return The prestoDialect. */ @java.lang.Override @@ -3722,6 +4447,8 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() { } } /** + * + * *
      * The Presto dialect
      * 
@@ -3742,6 +4469,8 @@ public Builder setPrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoDia return this; } /** + * + * *
      * The Presto dialect
      * 
@@ -3760,6 +4489,8 @@ public Builder setPrestoDialect( return this; } /** + * + * *
      * The Presto dialect
      * 
@@ -3768,10 +4499,14 @@ public Builder setPrestoDialect( */ public Builder mergePrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoDialect value) { if (prestoDialectBuilder_ == null) { - if (dialectValueCase_ == 13 && - dialectValue_ != com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) { - dialectValue_ = com.google.cloud.bigquery.migration.v2.PrestoDialect.newBuilder((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_) - .mergeFrom(value).buildPartial(); + if (dialectValueCase_ == 13 + && dialectValue_ + != com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) { + dialectValue_ = + com.google.cloud.bigquery.migration.v2.PrestoDialect.newBuilder( + (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_) + .mergeFrom(value) + .buildPartial(); } else { dialectValue_ = value; } @@ -3787,6 +4522,8 @@ public Builder mergePrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoD return this; } /** + * + * *
      * The Presto dialect
      * 
@@ -3810,6 +4547,8 @@ public Builder clearPrestoDialect() { return this; } /** + * + * *
      * The Presto dialect
      * 
@@ -3820,6 +4559,8 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder getPrestoDia return getPrestoDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The Presto dialect
      * 
@@ -3827,7 +4568,8 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder getPrestoDia * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder() { + public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder + getPrestoDialectOrBuilder() { if ((dialectValueCase_ == 13) && (prestoDialectBuilder_ != null)) { return prestoDialectBuilder_.getMessageOrBuilder(); } else { @@ -3838,6 +4580,8 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDi } } /** + * + * *
      * The Presto dialect
      * 
@@ -3845,26 +4589,32 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDi * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.PrestoDialect, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder> + com.google.cloud.bigquery.migration.v2.PrestoDialect, + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, + com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder> getPrestoDialectFieldBuilder() { if (prestoDialectBuilder_ == null) { if (!(dialectValueCase_ == 13)) { dialectValue_ = com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance(); } - prestoDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.PrestoDialect, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder>( + prestoDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.PrestoDialect, + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder, + com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder>( (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_, getParentForChildren(), isClean()); dialectValue_ = null; } dialectValueCase_ = 13; - onChanged();; + onChanged(); + ; return prestoDialectBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3874,12 +4624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.Dialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.Dialect) private static final com.google.cloud.bigquery.migration.v2.Dialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.Dialect(); } @@ -3888,16 +4638,16 @@ public static com.google.cloud.bigquery.migration.v2.Dialect getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Dialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Dialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Dialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Dialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3912,6 +4662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.Dialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java similarity index 89% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java index 3a16eca..0b3f080 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface DialectOrBuilder extends +public interface DialectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.Dialect) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; + * * @return Whether the bigqueryDialect field is set. */ boolean hasBigqueryDialect(); /** + * + * *
    * The BigQuery dialect
    * 
* * .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1; + * * @return The bigqueryDialect. */ com.google.cloud.bigquery.migration.v2.BigQueryDialect getBigqueryDialect(); /** + * + * *
    * The BigQuery dialect
    * 
@@ -35,24 +59,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.BigQueryDialectOrBuilder getBigqueryDialectOrBuilder(); /** + * + * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; + * * @return Whether the hiveqlDialect field is set. */ boolean hasHiveqlDialect(); /** + * + * *
    * The HiveQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2; + * * @return The hiveqlDialect. */ com.google.cloud.bigquery.migration.v2.HiveQLDialect getHiveqlDialect(); /** + * + * *
    * The HiveQL dialect
    * 
@@ -62,24 +94,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder getHiveqlDialectOrBuilder(); /** + * + * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; + * * @return Whether the redshiftDialect field is set. */ boolean hasRedshiftDialect(); /** + * + * *
    * The Redshift dialect
    * 
* * .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3; + * * @return The redshiftDialect. */ com.google.cloud.bigquery.migration.v2.RedshiftDialect getRedshiftDialect(); /** + * + * *
    * The Redshift dialect
    * 
@@ -89,24 +129,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder getRedshiftDialectOrBuilder(); /** + * + * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; + * * @return Whether the teradataDialect field is set. */ boolean hasTeradataDialect(); /** + * + * *
    * The Teradata dialect
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4; + * * @return The teradataDialect. */ com.google.cloud.bigquery.migration.v2.TeradataDialect getTeradataDialect(); /** + * + * *
    * The Teradata dialect
    * 
@@ -116,24 +164,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder getTeradataDialectOrBuilder(); /** + * + * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; + * * @return Whether the oracleDialect field is set. */ boolean hasOracleDialect(); /** + * + * *
    * The Oracle dialect
    * 
* * .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5; + * * @return The oracleDialect. */ com.google.cloud.bigquery.migration.v2.OracleDialect getOracleDialect(); /** + * + * *
    * The Oracle dialect
    * 
@@ -143,24 +199,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder getOracleDialectOrBuilder(); /** + * + * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; + * * @return Whether the sparksqlDialect field is set. */ boolean hasSparksqlDialect(); /** + * + * *
    * The SparkSQL dialect
    * 
* * .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6; + * * @return The sparksqlDialect. */ com.google.cloud.bigquery.migration.v2.SparkSQLDialect getSparksqlDialect(); /** + * + * *
    * The SparkSQL dialect
    * 
@@ -170,24 +234,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder(); /** + * + * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; + * * @return Whether the snowflakeDialect field is set. */ boolean hasSnowflakeDialect(); /** + * + * *
    * The Snowflake dialect
    * 
* * .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7; + * * @return The snowflakeDialect. */ com.google.cloud.bigquery.migration.v2.SnowflakeDialect getSnowflakeDialect(); /** + * + * *
    * The Snowflake dialect
    * 
@@ -197,24 +269,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder(); /** + * + * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; + * * @return Whether the netezzaDialect field is set. */ boolean hasNetezzaDialect(); /** + * + * *
    * The Netezza dialect
    * 
* * .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8; + * * @return The netezzaDialect. */ com.google.cloud.bigquery.migration.v2.NetezzaDialect getNetezzaDialect(); /** + * + * *
    * The Netezza dialect
    * 
@@ -224,51 +304,68 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder getNetezzaDialectOrBuilder(); /** + * + * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * * @return Whether the azureSynapseDialect field is set. */ boolean hasAzureSynapseDialect(); /** + * + * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; + * * @return The azureSynapseDialect. */ com.google.cloud.bigquery.migration.v2.AzureSynapseDialect getAzureSynapseDialect(); /** + * + * *
    * The Azure Synapse dialect
    * 
* * .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9; */ - com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder(); + com.google.cloud.bigquery.migration.v2.AzureSynapseDialectOrBuilder + getAzureSynapseDialectOrBuilder(); /** + * + * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; + * * @return Whether the verticaDialect field is set. */ boolean hasVerticaDialect(); /** + * + * *
    * The Vertica dialect
    * 
* * .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10; + * * @return The verticaDialect. */ com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect(); /** + * + * *
    * The Vertica dialect
    * 
@@ -278,24 +375,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder(); /** + * + * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; + * * @return Whether the sqlServerDialect field is set. */ boolean hasSqlServerDialect(); /** + * + * *
    * The SQL Server dialect
    * 
* * .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11; + * * @return The sqlServerDialect. */ com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect(); /** + * + * *
    * The SQL Server dialect
    * 
@@ -305,24 +410,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder(); /** + * + * *
    * The Postgresql dialect
    * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * * @return Whether the postgresqlDialect field is set. */ boolean hasPostgresqlDialect(); /** + * + * *
    * The Postgresql dialect
    * 
* * .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12; + * * @return The postgresqlDialect. */ com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect(); /** + * + * *
    * The Postgresql dialect
    * 
@@ -332,24 +445,32 @@ public interface DialectOrBuilder extends com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder(); /** + * + * *
    * The Presto dialect
    * 
* * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * * @return Whether the prestoDialect field is set. */ boolean hasPrestoDialect(); /** + * + * *
    * The Presto dialect
    * 
* * .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13; + * * @return The prestoDialect. */ com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect(); /** + * + * *
    * The Presto dialect
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java index 284c7f4..1d1c5c5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetail.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Provides details for errors, e.g. issues that where encountered when
  * processing a subtask.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorDetail}
  */
-public final class ErrorDetail extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ErrorDetail extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ErrorDetail)
     ErrorDetailOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ErrorDetail.newBuilder() to construct.
   private ErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ErrorDetail() {
-  }
+
+  private ErrorDetail() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ErrorDetail();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ErrorDetail(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,44 @@ private ErrorDetail(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder subBuilder = null;
-            if (location_ != null) {
-              subBuilder = location_.toBuilder();
-            }
-            location_ = input.readMessage(com.google.cloud.bigquery.migration.v2.ErrorLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(location_);
-              location_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder subBuilder = null;
+              if (location_ != null) {
+                subBuilder = location_.toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.ErrorLocation.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(location_);
+                location_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.rpc.ErrorInfo.Builder subBuilder = null;
-            if (errorInfo_ != null) {
-              subBuilder = errorInfo_.toBuilder();
-            }
-            errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(errorInfo_);
-              errorInfo_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.rpc.ErrorInfo.Builder subBuilder = null;
+              if (errorInfo_ != null) {
+                subBuilder = errorInfo_.toBuilder();
+              }
+              errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(errorInfo_);
+                errorInfo_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,34 +114,41 @@ private ErrorDetail(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
+        .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
+        .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.ErrorDetail.class, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
+            com.google.cloud.bigquery.migration.v2.ErrorDetail.class,
+            com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.migration.v2.ErrorLocation location_;
   /**
+   *
+   *
    * 
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the location field is set. */ @java.lang.Override @@ -128,23 +156,34 @@ public boolean hasLocation() { return location_ != null; } /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The location. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorLocation getLocation() { - return location_ == null ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() + : location_; } /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocationOrBuilder() { @@ -154,11 +193,14 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocation public static final int ERROR_INFO_FIELD_NUMBER = 2; private com.google.rpc.ErrorInfo errorInfo_; /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the errorInfo field is set. */ @java.lang.Override @@ -166,11 +208,14 @@ public boolean hasErrorInfo() { return errorInfo_ != null; } /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorInfo. */ @java.lang.Override @@ -178,6 +223,8 @@ public com.google.rpc.ErrorInfo getErrorInfo() { return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
@@ -190,6 +237,7 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -219,12 +266,10 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); } if (errorInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getErrorInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getErrorInfo()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +279,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ErrorDetail other = (com.google.cloud.bigquery.migration.v2.ErrorDetail) obj; + com.google.cloud.bigquery.migration.v2.ErrorDetail other = + (com.google.cloud.bigquery.migration.v2.ErrorDetail) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; } if (hasErrorInfo() != other.hasErrorInfo()) return false; if (hasErrorInfo()) { - if (!getErrorInfo() - .equals(other.getErrorInfo())) return false; + if (!getErrorInfo().equals(other.getErrorInfo())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +320,103 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Provides details for errors, e.g. issues that where encountered when
    * processing a subtask.
@@ -373,21 +424,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorDetail}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ErrorDetail)
       com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
+          .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
+          .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.ErrorDetail.class, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
+              com.google.cloud.bigquery.migration.v2.ErrorDetail.class,
+              com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.ErrorDetail.newBuilder()
@@ -395,16 +448,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +476,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto
+          .internal_static_google_cloud_bigquery_migration_v2_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +497,8 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.ErrorDetail buildPartial() {
-      com.google.cloud.bigquery.migration.v2.ErrorDetail result = new com.google.cloud.bigquery.migration.v2.ErrorDetail(this);
+      com.google.cloud.bigquery.migration.v2.ErrorDetail result =
+          new com.google.cloud.bigquery.migration.v2.ErrorDetail(this);
       if (locationBuilder_ == null) {
         result.location_ = location_;
       } else {
@@ -464,38 +517,39 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.ErrorDetail) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorDetail)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorDetail) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ErrorDetail other) {
-      if (other == com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance())
+        return this;
       if (other.hasLocation()) {
         mergeLocation(other.getLocation());
       }
@@ -529,7 +584,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.ErrorDetail) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.ErrorDetail) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -541,39 +597,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.bigquery.migration.v2.ErrorLocation location_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2.ErrorLocation, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder> locationBuilder_;
+            com.google.cloud.bigquery.migration.v2.ErrorLocation,
+            com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder,
+            com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder>
+        locationBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The location. */ public com.google.cloud.bigquery.migration.v2.ErrorLocation getLocation() { if (locationBuilder_ == null) { - return location_ == null ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() + : location_; } else { return locationBuilder_.getMessage(); } } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLocation(com.google.cloud.bigquery.migration.v2.ErrorLocation value) { if (locationBuilder_ == null) { @@ -589,11 +664,15 @@ public Builder setLocation(com.google.cloud.bigquery.migration.v2.ErrorLocation return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLocation( com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder builderForValue) { @@ -607,17 +686,23 @@ public Builder setLocation( return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2.ErrorLocation value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.cloud.bigquery.migration.v2.ErrorLocation.newBuilder(location_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.ErrorLocation.newBuilder(location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -629,11 +714,15 @@ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2.ErrorLocatio return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLocation() { if (locationBuilder_ == null) { @@ -647,48 +736,64 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null ? - com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance() + : location_; } } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorLocation, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder> + com.google.cloud.bigquery.migration.v2.ErrorLocation, + com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, + com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorLocation, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder>( - getLocation(), - getParentForChildren(), - isClean()); + locationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ErrorLocation, + com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder, + com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder>( + getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; @@ -696,24 +801,33 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocation private com.google.rpc.ErrorInfo errorInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> errorInfoBuilder_; + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> + errorInfoBuilder_; /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the errorInfo field is set. */ public boolean hasErrorInfo() { return errorInfoBuilder_ != null || errorInfo_ != null; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorInfo. */ public com.google.rpc.ErrorInfo getErrorInfo() { @@ -724,6 +838,8 @@ public com.google.rpc.ErrorInfo getErrorInfo() { } } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -744,14 +860,15 @@ public Builder setErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setErrorInfo( - com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setErrorInfo(com.google.rpc.ErrorInfo.Builder builderForValue) { if (errorInfoBuilder_ == null) { errorInfo_ = builderForValue.build(); onChanged(); @@ -762,6 +879,8 @@ public Builder setErrorInfo( return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -772,7 +891,7 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { if (errorInfoBuilder_ == null) { if (errorInfo_ != null) { errorInfo_ = - com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); } else { errorInfo_ = value; } @@ -784,6 +903,8 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -802,6 +923,8 @@ public Builder clearErrorInfo() { return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -809,11 +932,13 @@ public Builder clearErrorInfo() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ErrorInfo.Builder getErrorInfoBuilder() { - + onChanged(); return getErrorInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -824,11 +949,12 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { if (errorInfoBuilder_ != null) { return errorInfoBuilder_.getMessageOrBuilder(); } else { - return errorInfo_ == null ? - com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; + return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -836,21 +962,24 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> getErrorInfoFieldBuilder() { if (errorInfoBuilder_ == null) { - errorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( - getErrorInfo(), - getParentForChildren(), - isClean()); + errorInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder>( + getErrorInfo(), getParentForChildren(), isClean()); errorInfo_ = null; } return errorInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ErrorDetail) private static final com.google.cloud.bigquery.migration.v2.ErrorDetail DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ErrorDetail(); } @@ -874,16 +1003,16 @@ public static com.google.cloud.bigquery.migration.v2.ErrorDetail getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java similarity index 60% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java index b57f7be..ac95b09 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorDetailOrBuilder.java @@ -1,58 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; -public interface ErrorDetailOrBuilder extends +public interface ErrorDetailOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ErrorDetail) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The location. */ com.google.cloud.bigquery.migration.v2.ErrorLocation getLocation(); /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder getLocationOrBuilder(); /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the errorInfo field is set. */ boolean hasErrorInfo(); /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorInfo. */ com.google.rpc.ErrorInfo getErrorInfo(); /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java index b9435b0..f369219 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocation.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Holds information about where the error is located.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorLocation} */ -public final class ErrorLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ErrorLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ErrorLocation) ErrorLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ErrorLocation.newBuilder() to construct. private ErrorLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ErrorLocation() { - } + + private ErrorLocation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ErrorLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ErrorLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,23 @@ private ErrorLocation( case 0: done = true; break; - case 8: { - - line_ = input.readInt32(); - break; - } - case 16: { - - column_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + line_ = input.readInt32(); + break; + } + case 16: + { + column_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,35 +92,40 @@ private ErrorLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ErrorLocation.class, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2.ErrorLocation.class, + com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** + * + * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The line. */ @java.lang.Override @@ -115,12 +136,15 @@ public int getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** + * + * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ @java.lang.Override @@ -129,6 +153,7 @@ public int getColumn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +165,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (line_ != 0) { output.writeInt32(1, line_); } @@ -158,12 +182,10 @@ public int getSerializedSize() { size = 0; if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, line_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, line_); } if (column_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, column_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,17 +195,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ErrorLocation)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ErrorLocation other = (com.google.cloud.bigquery.migration.v2.ErrorLocation) obj; + com.google.cloud.bigquery.migration.v2.ErrorLocation other = + (com.google.cloud.bigquery.migration.v2.ErrorLocation) obj; - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; + if (getLine() != other.getLine()) return false; + if (getColumn() != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,117 +226,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ErrorLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ErrorLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Holds information about where the error is located.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ErrorLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ErrorLocation) com.google.cloud.bigquery.migration.v2.ErrorLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ErrorLocation.class, com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2.ErrorLocation.class, + com.google.cloud.bigquery.migration.v2.ErrorLocation.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.ErrorLocation.newBuilder() @@ -323,16 +353,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ErrorLocation_descriptor; } @java.lang.Override @@ -365,7 +394,8 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocation build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorLocation buildPartial() { - com.google.cloud.bigquery.migration.v2.ErrorLocation result = new com.google.cloud.bigquery.migration.v2.ErrorLocation(this); + com.google.cloud.bigquery.migration.v2.ErrorLocation result = + new com.google.cloud.bigquery.migration.v2.ErrorLocation(this); result.line_ = line_; result.column_ = column_; onBuilt(); @@ -376,38 +406,39 @@ public com.google.cloud.bigquery.migration.v2.ErrorLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ErrorLocation) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorLocation)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ErrorLocation) other); } else { super.mergeFrom(other); return this; @@ -415,7 +446,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ErrorLocation other) { - if (other == com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.ErrorLocation.getDefaultInstance()) + return this; if (other.getLine() != 0) { setLine(other.getLine()); } @@ -441,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.ErrorLocation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.ErrorLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,14 +484,17 @@ public Builder mergeFrom( return this; } - private int line_ ; + private int line_; /** + * + * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The line. */ @java.lang.Override @@ -466,45 +502,54 @@ public int getLine() { return line_; } /** + * + * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { - + line_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLine() { - + line_ = 0; onChanged(); return this; } - private int column_ ; + private int column_; /** + * + * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ @java.lang.Override @@ -512,39 +557,45 @@ public int getColumn() { return column_; } /** + * + * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { - + column_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -554,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ErrorLocation) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ErrorLocation) private static final com.google.cloud.bigquery.migration.v2.ErrorLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ErrorLocation(); } @@ -568,16 +619,16 @@ public static com.google.cloud.bigquery.migration.v2.ErrorLocation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ErrorLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java similarity index 57% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java index 831063b..c6061ba 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ErrorLocationOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; -public interface ErrorLocationOrBuilder extends +public interface ErrorLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ErrorLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The line. */ int getLine(); /** + * + * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ int getColumn(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java index 6fb4ca0..3b6615f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A request to get a previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest} */ -public final class GetMigrationSubtaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMigrationSubtaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) GetMigrationSubtaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMigrationSubtaskRequest.newBuilder() to construct. private GetMigrationSubtaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMigrationSubtaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMigrationSubtaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMigrationSubtaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetMigrationSubtaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetMigrationSubtaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,11 +186,15 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -169,11 +202,15 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -181,11 +218,14 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -193,6 +233,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,8 +265,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +275,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other = (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) obj; + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other = + (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +311,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get a previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class, + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,13 +465,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance(); } @@ -437,7 +487,8 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest build() @java.lang.Override public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest result = new com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest(this); + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest result = + new com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -452,46 +503,50 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -518,7 +573,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -573,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -631,24 +708,35 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -659,11 +747,14 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -679,14 +770,16 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -697,17 +790,20 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -719,11 +815,14 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -737,55 +836,66 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +905,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) - private static final com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest(); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationSubtaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationSubtaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationSubtaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationSubtaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +942,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java index 8634988..926deaa 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationSubtaskRequestOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface GetMigrationSubtaskRequestOrBuilder extends +public interface GetMigrationSubtaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java index 31f502f..8d1e214 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A request to get a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest} */ -public final class GetMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) GetMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMigrationWorkflowRequest.newBuilder() to construct. private GetMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,11 +186,14 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -169,11 +201,14 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ @java.lang.Override @@ -181,6 +216,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The list of fields to be retrieved.
    * 
@@ -193,6 +230,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,8 +262,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +272,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +308,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +462,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override @@ -437,7 +485,8 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest build( @java.lang.Override public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -452,46 +501,51 @@ public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -518,7 +572,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +586,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,21 +611,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -573,57 +636,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -631,24 +707,33 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -659,6 +744,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -679,14 +766,15 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -697,6 +785,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -707,7 +797,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -719,6 +809,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -737,6 +829,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -744,11 +838,13 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -759,11 +855,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -771,21 +868,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +895,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +932,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java index 8b40779..c182962 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/GetMigrationWorkflowRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface GetMigrationWorkflowRequestOrBuilder extends +public interface GetMigrationWorkflowRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java index ef7ef5c..a12c7bf 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for HiveQL.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.HiveQLDialect} */ -public final class HiveQLDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HiveQLDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.HiveQLDialect) HiveQLDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HiveQLDialect.newBuilder() to construct. private HiveQLDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HiveQLDialect() { - } + + private HiveQLDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HiveQLDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HiveQLDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private HiveQLDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private HiveQLDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.HiveQLDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.HiveQLDialect other = (com.google.cloud.bigquery.migration.v2.HiveQLDialect) obj; + com.google.cloud.bigquery.migration.v2.HiveQLDialect other = + (com.google.cloud.bigquery.migration.v2.HiveQLDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.HiveQLDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.HiveQLDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for HiveQL.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.HiveQLDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.HiveQLDialect) com.google.cloud.bigquery.migration.v2.HiveQLDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.HiveQLDialect.class, + com.google.cloud.bigquery.migration.v2.HiveQLDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.HiveQLDialect.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.HiveQLDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.HiveQLDialect result = new com.google.cloud.bigquery.migration.v2.HiveQLDialect(this); + com.google.cloud.bigquery.migration.v2.HiveQLDialect result = + new com.google.cloud.bigquery.migration.v2.HiveQLDialect(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.bigquery.migration.v2.HiveQLDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.HiveQLDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.HiveQLDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.HiveQLDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.HiveQLDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.HiveQLDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.HiveQLDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.HiveQLDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.HiveQLDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.HiveQLDialect) private static final com.google.cloud.bigquery.migration.v2.HiveQLDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.HiveQLDialect(); } @@ -400,16 +431,16 @@ public static com.google.cloud.bigquery.migration.v2.HiveQLDialect getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HiveQLDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HiveQLDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HiveQLDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HiveQLDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.HiveQLDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java new file mode 100644 index 0000000..bd5451f --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface HiveQLDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.HiveQLDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java index b82dba8..f2e2e85 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A request to list previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest} */ -public final class ListMigrationSubtasksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationSubtasksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) ListMigrationSubtasksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksRequest.newBuilder() to construct. private ListMigrationSubtasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationSubtasksRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListMigrationSubtasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationSubtasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationSubtasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListMigrationSubtasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListMigrationSubtasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,11 +207,15 @@ public java.lang.String getParent() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -188,11 +223,15 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -200,11 +239,14 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -214,12 +256,15 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -230,6 +275,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -238,6 +285,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -246,14 +294,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -262,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -282,6 +330,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -289,6 +339,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -297,14 +348,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -312,16 +364,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -330,6 +381,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +393,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -371,12 +422,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -392,26 +441,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other = + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; - } - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; + } + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,134 +486,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -590,14 +646,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + .getDefaultInstance(); } @java.lang.Override @@ -611,7 +669,8 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest build @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest result = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest(this); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest result = + new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -629,46 +688,51 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -706,7 +770,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -718,19 +784,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -739,21 +809,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -761,57 +834,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -819,24 +905,35 @@ public Builder setParentBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -847,11 +944,14 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -867,14 +967,16 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -885,17 +987,20 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -907,11 +1012,14 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -925,61 +1033,75 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -987,32 +1109,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1020,6 +1148,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1028,13 +1158,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1043,6 +1173,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1051,15 +1183,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1067,6 +1198,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1075,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1097,15 +1232,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1114,16 +1252,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1131,6 +1269,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1138,13 +1278,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1153,6 +1293,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1160,15 +1302,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1176,6 +1317,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1183,20 +1326,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1204,15 +1349,18 @@ public Builder setFilter(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1220,23 +1368,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,30 +1394,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1431,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java index 3fd4f73..303f6a2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksRequestOrBuilder.java @@ -1,73 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationSubtasksRequestOrBuilder extends +public interface ListMigrationSubtasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** + * + * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -76,10 +117,13 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -88,12 +132,14 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -101,10 +147,13 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -112,8 +161,8 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java index 5c7a569..775a809 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Response object for a `ListMigrationSubtasks` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse} */ -public final class ListMigrationSubtasksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationSubtasksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) ListMigrationSubtasksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksResponse.newBuilder() to construct. private ListMigrationSubtasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationSubtasksResponse() { migrationSubtasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListMigrationSubtasksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationSubtasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationSubtasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListMigrationSubtasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationSubtasks_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2.MigrationSubtask>(); + mutable_bitField0_ |= 0x00000001; + } + migrationSubtasks_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2.MigrationSubtask.parser(), + extensionRegistry)); + break; } - migrationSubtasks_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2.MigrationSubtask.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListMigrationSubtasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationSubtasks_ = java.util.Collections.unmodifiableList(migrationSubtasks_); @@ -94,88 +116,111 @@ private ListMigrationSubtasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); } public static final int MIGRATION_SUBTASKS_FIELD_NUMBER = 1; - private java.util.List migrationSubtasks_; + private java.util.List + migrationSubtasks_; /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public java.util.List getMigrationSubtasksList() { + public java.util.List + getMigrationSubtasksList() { return migrationSubtasks_; } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getMigrationSubtasksOrBuilderList() { return migrationSubtasks_; } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override public int getMigrationSubtasksCount() { return migrationSubtasks_.size(); } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtasks(int index) { return migrationSubtasks_.get(index); } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder + getMigrationSubtasksOrBuilder(int index) { return migrationSubtasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +229,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +261,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < migrationSubtasks_.size(); i++) { output.writeMessage(1, migrationSubtasks_.get(i)); } @@ -245,8 +290,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationSubtasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, migrationSubtasks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationSubtasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +304,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other = + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) obj; - if (!getMigrationSubtasksList() - .equals(other.getMigrationSubtasksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMigrationSubtasksList().equals(other.getMigrationSubtasksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +337,147 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response object for a `ListMigrationSubtasks` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class, + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMigrationSubtasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +493,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +516,8 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse buil @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse result = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse(this); + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse result = + new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse(this); int from_bitField0_ = bitField0_; if (migrationSubtasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +537,51 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other) { - if (other == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse other) { + if (other + == com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + .getDefaultInstance()) return this; if (migrationSubtasksBuilder_ == null) { if (!other.migrationSubtasks_.isEmpty()) { if (migrationSubtasks_.isEmpty()) { @@ -536,9 +600,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationSub migrationSubtasksBuilder_ = null; migrationSubtasks_ = other.migrationSubtasks_; bitField0_ = (bitField0_ & ~0x00000001); - migrationSubtasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMigrationSubtasksFieldBuilder() : null; + migrationSubtasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMigrationSubtasksFieldBuilder() + : null; } else { migrationSubtasksBuilder_.addAllMessages(other.migrationSubtasks_); } @@ -567,7 +632,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +643,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List migrationSubtasks_ = - java.util.Collections.emptyList(); + private java.util.List + migrationSubtasks_ = java.util.Collections.emptyList(); + private void ensureMigrationSubtasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = new java.util.ArrayList(migrationSubtasks_); + migrationSubtasks_ = + new java.util.ArrayList( + migrationSubtasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationSubtask, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> migrationSubtasksBuilder_; + com.google.cloud.bigquery.migration.v2.MigrationSubtask, + com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, + com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> + migrationSubtasksBuilder_; /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public java.util.List getMigrationSubtasksList() { + public java.util.List + getMigrationSubtasksList() { if (migrationSubtasksBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationSubtasks_); } else { @@ -605,11 +683,14 @@ public java.util.List g } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public int getMigrationSubtasksCount() { if (migrationSubtasksBuilder_ == null) { @@ -619,11 +700,14 @@ public int getMigrationSubtasksCount() { } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { @@ -633,11 +717,14 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubta } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder setMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { @@ -654,14 +741,18 @@ public Builder setMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder setMigrationSubtasks( - int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.set(index, builderForValue.build()); @@ -672,13 +763,17 @@ public Builder setMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public Builder addMigrationSubtasks(com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { + public Builder addMigrationSubtasks( + com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { if (migrationSubtasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +787,14 @@ public Builder addMigrationSubtasks(com.google.cloud.bigquery.migration.v2.Migra return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder addMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask value) { @@ -713,11 +811,14 @@ public Builder addMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder addMigrationSubtasks( com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { @@ -731,14 +832,18 @@ public Builder addMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder addMigrationSubtasks( - int index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.add(index, builderForValue.build()); @@ -749,18 +854,21 @@ public Builder addMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder addAllMigrationSubtasks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, migrationSubtasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationSubtasks_); onChanged(); } else { migrationSubtasksBuilder_.addAllMessages(values); @@ -768,11 +876,14 @@ public Builder addAllMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder clearMigrationSubtasks() { if (migrationSubtasksBuilder_ == null) { @@ -785,11 +896,14 @@ public Builder clearMigrationSubtasks() { return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ public Builder removeMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { @@ -802,39 +916,50 @@ public Builder removeMigrationSubtasks(int index) { return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder getMigrationSubtasksBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder + getMigrationSubtasksBuilder(int index) { return getMigrationSubtasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder + getMigrationSubtasksOrBuilder(int index) { if (migrationSubtasksBuilder_ == null) { - return migrationSubtasks_.get(index); } else { + return migrationSubtasks_.get(index); + } else { return migrationSubtasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public java.util.List - getMigrationSubtasksOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> + getMigrationSubtasksOrBuilderList() { if (migrationSubtasksBuilder_ != null) { return migrationSubtasksBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +967,62 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigra } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder addMigrationSubtasksBuilder() { - return getMigrationSubtasksFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder + addMigrationSubtasksBuilder() { + return getMigrationSubtasksFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder addMigrationSubtasksBuilder( - int index) { - return getMigrationSubtasksFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder + addMigrationSubtasksBuilder(int index) { + return getMigrationSubtasksFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()); } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - public java.util.List - getMigrationSubtasksBuilderList() { + public java.util.List + getMigrationSubtasksBuilderList() { return getMigrationSubtasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationSubtask, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> + com.google.cloud.bigquery.migration.v2.MigrationSubtask, + com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, + com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder> getMigrationSubtasksFieldBuilder() { if (migrationSubtasksBuilder_ == null) { - migrationSubtasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationSubtask, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder>( + migrationSubtasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.MigrationSubtask, + com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder, + com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder>( migrationSubtasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1034,21 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder addMigrat private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1057,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1080,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1154,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1191,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java index 4b90734..a613829 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationSubtasksResponseOrBuilder.java @@ -1,75 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationSubtasksResponseOrBuilder extends +public interface ListMigrationSubtasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - java.util.List + java.util.List getMigrationSubtasksList(); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtasks(int index); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ int getMigrationSubtasksCount(); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ - java.util.List + java.util.List getMigrationSubtasksOrBuilderList(); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1; + * */ com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java index 9553436..afb21b4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A request to list previously created migration workflows.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest} */ -public final class ListMigrationWorkflowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationWorkflowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) ListMigrationWorkflowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsRequest.newBuilder() to construct. private ListMigrationWorkflowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationWorkflowsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListMigrationWorkflowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationWorkflowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationWorkflowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,47 @@ private ListMigrationWorkflowsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + parent_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,35 +119,42 @@ private ListMigrationWorkflowsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -135,30 +163,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -169,11 +199,14 @@ public java.lang.String getParent() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -181,11 +214,14 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ @java.lang.Override @@ -193,6 +229,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The list of fields to be retrieved.
    * 
@@ -207,12 +245,15 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -223,6 +264,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -231,6 +274,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -239,14 +283,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -255,16 +300,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -273,6 +317,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -311,12 +355,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -329,24 +371,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other = + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,134 +413,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list previously created migration workflows.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -521,14 +571,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + .getDefaultInstance(); } @java.lang.Override @@ -542,7 +594,8 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest buil @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest result = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest(this); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest result = + new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -559,46 +612,51 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -632,7 +690,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,19 +704,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -665,21 +729,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -687,57 +754,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -745,24 +825,33 @@ public Builder setParentBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -773,6 +862,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -793,14 +884,15 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -811,6 +903,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -821,7 +915,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -833,6 +927,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -851,6 +947,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -858,11 +956,13 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -873,11 +973,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -885,27 +986,33 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -913,32 +1020,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -946,6 +1059,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -954,13 +1069,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -969,6 +1084,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -977,15 +1094,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -993,6 +1109,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1001,20 +1119,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1023,15 +1143,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1040,23 +1163,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,30 +1189,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,9 +1226,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java index 9526a37..4e5af0d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationWorkflowsRequestOrBuilder extends +public interface ListMigrationWorkflowsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
@@ -57,17 +90,22 @@ public interface ListMigrationWorkflowsRequestOrBuilder extends com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** + * + * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -76,10 +114,13 @@ public interface ListMigrationWorkflowsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -88,8 +129,8 @@ public interface ListMigrationWorkflowsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java index 532f4bb..69c9d16 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Response object for a `ListMigrationWorkflows` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse} */ -public final class ListMigrationWorkflowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationWorkflowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) ListMigrationWorkflowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsResponse.newBuilder() to construct. - private ListMigrationWorkflowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMigrationWorkflowsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationWorkflowsResponse() { migrationWorkflows_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListMigrationWorkflowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationWorkflowsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationWorkflowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,34 @@ private ListMigrationWorkflowsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationWorkflows_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow>(); + mutable_bitField0_ |= 0x00000001; + } + migrationWorkflows_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), + extensionRegistry)); + break; } - migrationWorkflows_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2.MigrationWorkflow.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +108,7 @@ private ListMigrationWorkflowsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationWorkflows_ = java.util.Collections.unmodifiableList(migrationWorkflows_); @@ -94,88 +117,111 @@ private ListMigrationWorkflowsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); } public static final int MIGRATION_WORKFLOWS_FIELD_NUMBER = 1; - private java.util.List migrationWorkflows_; + private java.util.List + migrationWorkflows_; /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public java.util.List getMigrationWorkflowsList() { + public java.util.List + getMigrationWorkflowsList() { return migrationWorkflows_; } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getMigrationWorkflowsOrBuilderList() { return migrationWorkflows_; } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override public int getMigrationWorkflowsCount() { return migrationWorkflows_.size(); } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows(int index) { return migrationWorkflows_.get(index); } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder + getMigrationWorkflowsOrBuilder(int index) { return migrationWorkflows_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +230,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +262,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +274,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < migrationWorkflows_.size(); i++) { output.writeMessage(1, migrationWorkflows_.get(i)); } @@ -245,8 +291,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationWorkflows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, migrationWorkflows_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationWorkflows_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +305,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) obj; + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other = + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) obj; - if (!getMigrationWorkflowsList() - .equals(other.getMigrationWorkflowsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMigrationWorkflowsList().equals(other.getMigrationWorkflowsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +338,147 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response object for a `ListMigrationWorkflows` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class, + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMigrationWorkflowsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +494,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +517,8 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse bui @java.lang.Override public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse buildPartial() { - com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse result = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse(this); + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse result = + new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse(this); int from_bitField0_ = bitField0_; if (migrationWorkflowsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +538,51 @@ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other) { - if (other == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse other) { + if (other + == com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + .getDefaultInstance()) return this; if (migrationWorkflowsBuilder_ == null) { if (!other.migrationWorkflows_.isEmpty()) { if (migrationWorkflows_.isEmpty()) { @@ -536,9 +601,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ListMigrationWor migrationWorkflowsBuilder_ = null; migrationWorkflows_ = other.migrationWorkflows_; bitField0_ = (bitField0_ & ~0x00000001); - migrationWorkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMigrationWorkflowsFieldBuilder() : null; + migrationWorkflowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMigrationWorkflowsFieldBuilder() + : null; } else { migrationWorkflowsBuilder_.addAllMessages(other.migrationWorkflows_); } @@ -567,7 +633,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +644,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List migrationWorkflows_ = - java.util.Collections.emptyList(); + private java.util.List + migrationWorkflows_ = java.util.Collections.emptyList(); + private void ensureMigrationWorkflowsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = new java.util.ArrayList(migrationWorkflows_); + migrationWorkflows_ = + new java.util.ArrayList( + migrationWorkflows_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> migrationWorkflowsBuilder_; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + migrationWorkflowsBuilder_; /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public java.util.List getMigrationWorkflowsList() { + public java.util.List + getMigrationWorkflowsList() { if (migrationWorkflowsBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationWorkflows_); } else { @@ -605,11 +684,14 @@ public java.util.List } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public int getMigrationWorkflowsCount() { if (migrationWorkflowsBuilder_ == null) { @@ -619,13 +701,17 @@ public int getMigrationWorkflowsCount() { } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows(int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows( + int index) { if (migrationWorkflowsBuilder_ == null) { return migrationWorkflows_.get(index); } else { @@ -633,11 +719,14 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWork } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder setMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { @@ -654,14 +743,18 @@ public Builder setMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder setMigrationWorkflows( - int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.set(index, builderForValue.build()); @@ -672,13 +765,17 @@ public Builder setMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public Builder addMigrationWorkflows(com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { + public Builder addMigrationWorkflows( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { if (migrationWorkflowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +789,14 @@ public Builder addMigrationWorkflows(com.google.cloud.bigquery.migration.v2.Migr return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder addMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow value) { @@ -713,11 +813,14 @@ public Builder addMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder addMigrationWorkflows( com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { @@ -731,14 +834,18 @@ public Builder addMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder addMigrationWorkflows( - int index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.add(index, builderForValue.build()); @@ -749,18 +856,21 @@ public Builder addMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder addAllMigrationWorkflows( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, migrationWorkflows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationWorkflows_); onChanged(); } else { migrationWorkflowsBuilder_.addAllMessages(values); @@ -768,11 +878,14 @@ public Builder addAllMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder clearMigrationWorkflows() { if (migrationWorkflowsBuilder_ == null) { @@ -785,11 +898,14 @@ public Builder clearMigrationWorkflows() { return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ public Builder removeMigrationWorkflows(int index) { if (migrationWorkflowsBuilder_ == null) { @@ -802,39 +918,50 @@ public Builder removeMigrationWorkflows(int index) { return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder getMigrationWorkflowsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder + getMigrationWorkflowsBuilder(int index) { return getMigrationWorkflowsFieldBuilder().getBuilder(index); } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder + getMigrationWorkflowsOrBuilder(int index) { if (migrationWorkflowsBuilder_ == null) { - return migrationWorkflows_.get(index); } else { + return migrationWorkflows_.get(index); + } else { return migrationWorkflowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public java.util.List - getMigrationWorkflowsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + getMigrationWorkflowsOrBuilderList() { if (migrationWorkflowsBuilder_ != null) { return migrationWorkflowsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +969,63 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigr } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder addMigrationWorkflowsBuilder() { - return getMigrationWorkflowsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder + addMigrationWorkflowsBuilder() { + return getMigrationWorkflowsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder addMigrationWorkflowsBuilder( - int index) { - return getMigrationWorkflowsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder + addMigrationWorkflowsBuilder(int index) { + return getMigrationWorkflowsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()); } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - public java.util.List - getMigrationWorkflowsBuilderList() { + public java.util.List + getMigrationWorkflowsBuilderList() { return getMigrationWorkflowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder> getMigrationWorkflowsFieldBuilder() { if (migrationWorkflowsBuilder_ == null) { - migrationWorkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.MigrationWorkflow, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( + migrationWorkflowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>( migrationWorkflows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1037,21 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder addMigra private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1060,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1083,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1157,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) - private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse(); } - public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1194,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java index b945131..6346bcd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ListMigrationWorkflowsResponseOrBuilder.java @@ -1,75 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; -public interface ListMigrationWorkflowsResponseOrBuilder extends +public interface ListMigrationWorkflowsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - java.util.List + java.util.List getMigrationWorkflowsList(); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflows(int index); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ int getMigrationWorkflowsCount(); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ - java.util.List + java.util.List getMigrationWorkflowsOrBuilderList(); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1; + * */ com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/LocationName.java diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java new file mode 100644 index 0000000..4e6c50d --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java @@ -0,0 +1,197 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_entities.proto + +package com.google.cloud.bigquery.migration.v2; + +public final class MigrationEntitiesProto { + private MigrationEntitiesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n;google/cloud/bigquery/migration/v2/mig" + + "ration_entities.proto\022\"google.cloud.bigq" + + "uery.migration.v2\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032@g" + + "oogle/cloud/bigquery/migration/v2/migrat" + + "ion_error_details.proto\032:google/cloud/bi" + + "gquery/migration/v2/migration_metrics.pr" + + "oto\032;google/cloud/bigquery/migration/v2/" + + "translation_config.proto\032\037google/protobu" + + "f/timestamp.proto\032\036google/rpc/error_deta" + + "ils.proto\"\363\004\n\021MigrationWorkflow\022\024\n\004name\030" + + "\001 \001(\tB\006\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022O\n\005t" + + "asks\030\002 \003(\0132@.google.cloud.bigquery.migra" + + "tion.v2.MigrationWorkflow.TasksEntry\022O\n\005" + + "state\030\003 \001(\0162;.google.cloud.bigquery.migr" + + "ation.v2.MigrationWorkflow.StateB\003\340A\003\022/\n" + + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\0224\n\020last_update_time\030\005 \001(\0132\032.googl" + + "e.protobuf.Timestamp\032_\n\nTasksEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.google.cloud.bi" + + "gquery.migration.v2.MigrationTask:\0028\001\"Q\n" + + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005DRAFT\020\001" + + "\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOMPLETED\020\004" + + ":u\352Ar\n2bigquerymigration.googleapis.com/" + + "MigrationWorkflow\022\n\006points\030\004 \003" + + "(\0132).google.cloud.bigquery.migration.v2." + + "PointB\003\340A\002\"\212\001\n\005Point\022B\n\010interval\030\001 \001(\01320" + + ".google.cloud.bigquery.migration.v2.Time" + + "Interval\022=\n\005value\030\002 \001(\0132..google.cloud.b" + + "igquery.migration.v2.TypedValue\"v\n\014TimeI" + + "nterval\0223\n\nstart_time\030\001 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\002\"\252\001\n\nType" + + "dValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_va" + + "lue\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014s" + + "tring_value\030\004 \001(\tH\000\0226\n\022distribution_valu" + + "e\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n\005v" + + "alueB\330\001\n&com.google.cloud.bigquery.migra" + + "tion.v2B\025MigrationMetricsProtoP\001ZKgoogle" + + ".golang.org/genproto/googleapis/cloud/bi" + + "gquery/migration/v2;migration\252\002\"Google.C" + + "loud.BigQuery.Migration.V2\312\002\"Google\\Clou" + + "d\\BigQuery\\Migration\\V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor, + new java.lang.String[] { + "Metric", "ValueType", "MetricKind", "Points", + }); + internal_static_google_cloud_bigquery_migration_v2_Point_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_Point_descriptor, + new java.lang.String[] { + "Interval", "Value", + }); + internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor, + new java.lang.String[] { + "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java new file mode 100644 index 0000000..b47413c --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java @@ -0,0 +1,270 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public final class MigrationServiceProto { + private MigrationServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n:google/cloud/bigquery/migration/v2/mig" + + "ration_service.proto\022\"google.cloud.bigqu" + + "ery.migration.v2\032\034google/api/annotations" + + ".proto\032\027google/api/client.proto\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032;google/cloud/bigquery/migra" + + "tion/v2/migration_entities.proto\032\033google" + + "/protobuf/empty.proto\032 google/protobuf/f" + + "ield_mask.proto\"\263\001\n\036CreateMigrationWorkf" + + "lowRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" + + "tions.googleapis.com/Location\022V\n\022migrati" + + "on_workflow\030\002 \001(\01325.google.cloud.bigquer" + + "y.migration.v2.MigrationWorkflowB\003\340A\002\"\226\001" + + "\n\033GetMigrationWorkflowRequest\022H\n\004name\030\001 " + + "\001(\tB:\340A\002\372A4\n2bigquerymigration.googleapi" + + "s.com/MigrationWorkflow\022-\n\tread_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"\260\001\n\035ListM" + + "igrationWorkflowsRequest\0229\n\006parent\030\001 \001(\t" + + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + + "ion\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" + + "ken\030\004 \001(\t\"\215\001\n\036ListMigrationWorkflowsResp" + + "onse\022R\n\023migration_workflows\030\001 \003(\01325.goog" + + "le.cloud.bigquery.migration.v2.Migration" + + "Workflow\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036Del" + + "eteMigrationWorkflowRequest\022H\n\004name\030\001 \001(" + + "\tB:\340A\002\372A4\n2bigquerymigration.googleapis." + + "com/MigrationWorkflow\"i\n\035StartMigrationW" + + "orkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bi" + + "gquerymigration.googleapis.com/Migration" + + "Workflow\"\231\001\n\032GetMigrationSubtaskRequest\022" + + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration" + + ".googleapis.com/MigrationSubtask\0222\n\tread" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" + + "\003\340A\001\"\344\001\n\034ListMigrationSubtasksRequest\022J\n" + + "\006parent\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration" + + ".googleapis.com/MigrationWorkflow\0222\n\trea" + + "d_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_to" + + "ken\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\212\001\n\035" + + "ListMigrationSubtasksResponse\022P\n\022migrati" + + "on_subtasks\030\001 \003(\01324.google.cloud.bigquer" + + "y.migration.v2.MigrationSubtask\022\027\n\017next_" + + "page_token\030\002 \001(\t2\313\014\n\020MigrationService\022\373\001" + + "\n\027CreateMigrationWorkflow\022B.google.cloud" + + ".bigquery.migration.v2.CreateMigrationWo" + + "rkflowRequest\0325.google.cloud.bigquery.mi" + + "gration.v2.MigrationWorkflow\"e\202\323\344\223\002C\"-/v" + + "2/{parent=projects/*/locations/*}/workfl" + + "ows:\022migration_workflow\332A\031parent,migrati" + + "on_workflow\022\314\001\n\024GetMigrationWorkflow\022?.g" + + "oogle.cloud.bigquery.migration.v2.GetMig" + + "rationWorkflowRequest\0325.google.cloud.big" + + "query.migration.v2.MigrationWorkflow\"<\202\323" + + "\344\223\002/\022-/v2/{name=projects/*/locations/*/w" + + "orkflows/*}\332A\004name\022\337\001\n\026ListMigrationWork" + + "flows\022A.google.cloud.bigquery.migration." + + "v2.ListMigrationWorkflowsRequest\032B.googl" + + "e.cloud.bigquery.migration.v2.ListMigrat" + + "ionWorkflowsResponse\">\202\323\344\223\002/\022-/v2/{paren" + + "t=projects/*/locations/*}/workflows\332A\006pa" + + "rent\022\263\001\n\027DeleteMigrationWorkflow\022B.googl" + + "e.cloud.bigquery.migration.v2.DeleteMigr" + + "ationWorkflowRequest\032\026.google.protobuf.E" + + "mpty\"<\202\323\344\223\002/*-/v2/{name=projects/*/locat" + + "ions/*/workflows/*}\332A\004name\022\272\001\n\026StartMigr" + + "ationWorkflow\022A.google.cloud.bigquery.mi" + + "gration.v2.StartMigrationWorkflowRequest" + + "\032\026.google.protobuf.Empty\"E\202\323\344\223\0028\"3/v2/{n" + + "ame=projects/*/locations/*/workflows/*}:" + + "start:\001*\332A\004name\022\324\001\n\023GetMigrationSubtask\022" + + ">.google.cloud.bigquery.migration.v2.Get" + + "MigrationSubtaskRequest\0324.google.cloud.b" + + "igquery.migration.v2.MigrationSubtask\"G\202" + + "\323\344\223\002:\0228/v2/{name=projects/*/locations/*/" + + "workflows/*/subtasks/*}\332A\004name\022\347\001\n\025ListM" + + "igrationSubtasks\022@.google.cloud.bigquery" + + ".migration.v2.ListMigrationSubtasksReque" + + "st\032A.google.cloud.bigquery.migration.v2." + + "ListMigrationSubtasksResponse\"I\202\323\344\223\002:\0228/" + + "v2/{parent=projects/*/locations/*/workfl" + + "ows/*}/subtasks\332A\006parent\032T\312A bigquerymig" + + "ration.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\330\001\n&com.g" + + "oogle.cloud.bigquery.migration.v2B\025Migra" + + "tionServiceProtoP\001ZKgoogle.golang.org/ge" + + "nproto/googleapis/cloud/bigquery/migrati" + + "on/v2;migration\252\002\"Google.Cloud.BigQuery." + + "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" + + "ration\\V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Parent", "MigrationWorkflow", + }); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadMask", "PageSize", "PageToken", + }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor, + new java.lang.String[] { + "MigrationWorkflows", "NextPageToken", + }); + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadMask", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor, + new java.lang.String[] { + "MigrationSubtasks", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java index 47561bc..c5983ab 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtask.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A subtask for a migration which carries details about the configuration of
  * the subtask. The content of the details should not matter to the end user,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationSubtask}
  */
-public final class MigrationSubtask extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationSubtask extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.MigrationSubtask)
     MigrationSubtaskOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationSubtask.newBuilder() to construct.
   private MigrationSubtask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationSubtask() {
     name_ = "";
     taskId_ = "";
@@ -32,16 +50,15 @@ private MigrationSubtask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationSubtask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationSubtask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,99 +78,118 @@ private MigrationSubtask(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            taskId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            type_ = s;
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            state_ = rawValue;
-            break;
-          }
-          case 50: {
-            com.google.rpc.ErrorInfo.Builder subBuilder = null;
-            if (processingError_ != null) {
-              subBuilder = processingError_.toBuilder();
+              taskId_ = s;
+              break;
             }
-            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(processingError_);
-              processingError_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              type_ = s;
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.rpc.ErrorInfo.Builder subBuilder = null;
+              if (processingError_ != null) {
+                subBuilder = processingError_.toBuilder();
+              }
+              processingError_ =
+                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(processingError_);
+                processingError_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastUpdateTime_ != null) {
-              subBuilder = lastUpdateTime_.toBuilder();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastUpdateTime_);
-              lastUpdateTime_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastUpdateTime_ != null) {
+                subBuilder = lastUpdateTime_.toBuilder();
+              }
+              lastUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastUpdateTime_);
+                lastUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 90: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              metrics_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 90:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                metrics_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              metrics_.add(
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.TimeSeries.parser(),
+                      extensionRegistry));
+              break;
             }
-            metrics_.add(
-                input.readMessage(com.google.cloud.bigquery.migration.v2.TimeSeries.parser(), extensionRegistry));
-            break;
-          }
-          case 98: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              resourceErrorDetails_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 98:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                resourceErrorDetails_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.bigquery.migration.v2.ResourceErrorDetail>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              resourceErrorDetails_.add(
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.parser(),
+                      extensionRegistry));
+              break;
             }
-            resourceErrorDetails_.add(
-                input.readMessage(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.parser(), extensionRegistry));
-            break;
-          }
-          case 104: {
-
-            resourceErrorCount_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 104:
+            {
+              resourceErrorCount_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,8 +197,7 @@ private MigrationSubtask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         metrics_ = java.util.Collections.unmodifiableList(metrics_);
@@ -174,29 +209,35 @@ private MigrationSubtask(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
+            com.google.cloud.bigquery.migration.v2.MigrationSubtask.class,
+            com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a migration subtask.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.MigrationSubtask.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unspecified.
      * 
@@ -205,6 +246,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -213,6 +256,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -221,6 +266,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * The subtask finished successfully.
      * 
@@ -229,6 +276,8 @@ public enum State */ SUCCEEDED(3), /** + * + * *
      * The subtask finished unsuccessfully.
      * 
@@ -237,6 +286,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -249,6 +300,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -257,6 +310,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -265,6 +320,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -273,6 +330,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * The subtask finished successfully.
      * 
@@ -281,6 +340,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; /** + * + * *
      * The subtask finished unsuccessfully.
      * 
@@ -289,6 +350,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -298,7 +361,6 @@ public enum State
      */
     public static final int PAUSED_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -323,52 +385,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return ACTIVE;
-        case 2: return RUNNING;
-        case 3: return SUCCEEDED;
-        case 4: return FAILED;
-        case 5: return PAUSED;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return ACTIVE;
+        case 2:
+          return RUNNING;
+        case 3:
+          return SUCCEEDED;
+        case 4:
+          return FAILED;
+        case 5:
+          return PAUSED;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -388,13 +455,18 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ @java.lang.Override @@ -403,31 +475,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -438,11 +512,14 @@ public java.lang.String getName() { public static final int TASK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object taskId_; /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The taskId. */ @java.lang.Override @@ -451,29 +528,29 @@ public java.lang.String getTaskId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; } } /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The bytes for taskId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTaskIdBytes() { + public com.google.protobuf.ByteString getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taskId_ = b; return b; } else { @@ -484,6 +561,8 @@ public java.lang.String getTaskId() { public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -492,6 +571,7 @@ public java.lang.String getTaskId() {
    * 
* * string type = 3; + * * @return The type. */ @java.lang.Override @@ -500,14 +580,15 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -516,16 +597,15 @@ public java.lang.String getType() {
    * 
* * string type = 3; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -536,39 +616,58 @@ public java.lang.String getType() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = + com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED + : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 6; private com.google.rpc.ErrorInfo processingError_; /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ @java.lang.Override @@ -576,25 +675,34 @@ public boolean hasProcessingError() { return processingError_ != null; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -602,78 +710,104 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { } public static final int RESOURCE_ERROR_DETAILS_FIELD_NUMBER = 12; - private java.util.List resourceErrorDetails_; + private java.util.List + resourceErrorDetails_; /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getResourceErrorDetailsList() { + public java.util.List + getResourceErrorDetailsList() { return resourceErrorDetails_; } /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> getResourceErrorDetailsOrBuilderList() { return resourceErrorDetails_; } /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getResourceErrorDetailsCount() { return resourceErrorDetails_.size(); } /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails(int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails( + int index) { return resourceErrorDetails_.get(index); } /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder + getResourceErrorDetailsOrBuilder(int index) { return resourceErrorDetails_.get(index); } public static final int RESOURCE_ERROR_COUNT_FIELD_NUMBER = 13; private int resourceErrorCount_; /** + * + * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -682,6 +816,7 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getRe
    * 
* * int32 resource_error_count = 13; + * * @return The resourceErrorCount. */ @java.lang.Override @@ -692,11 +827,14 @@ public int getResourceErrorCount() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -704,11 +842,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ @java.lang.Override @@ -716,6 +857,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the subtask was created.
    * 
@@ -730,11 +873,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -742,18 +888,25 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Time when the subtask was last updated.
    * 
@@ -768,6 +921,8 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { public static final int METRICS_FIELD_NUMBER = 11; private java.util.List metrics_; /** + * + * *
    * The metrics for the subtask.
    * 
@@ -779,6 +934,8 @@ public java.util.List getMetr return metrics_; } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -786,11 +943,13 @@ public java.util.List getMetr * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -802,6 +961,8 @@ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -813,6 +974,8 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index) { return metrics_.get(index); } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -820,12 +983,12 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index) { * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder(int index) { return metrics_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -837,8 +1000,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -848,7 +1010,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } - if (state_ != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, state_); } if (processingError_ != null) { @@ -887,33 +1051,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } - if (state_ != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + if (state_ + != com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getProcessingError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastUpdateTime()); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, metrics_.get(i)); } for (int i = 0; i < resourceErrorDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, resourceErrorDetails_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, resourceErrorDetails_.get(i)); } if (resourceErrorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(13, resourceErrorCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, resourceErrorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -923,41 +1084,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.MigrationSubtask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.MigrationSubtask other = (com.google.cloud.bigquery.migration.v2.MigrationSubtask) obj; + com.google.cloud.bigquery.migration.v2.MigrationSubtask other = + (com.google.cloud.bigquery.migration.v2.MigrationSubtask) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTaskId() - .equals(other.getTaskId())) return false; - if (!getType() - .equals(other.getType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTaskId().equals(other.getTaskId())) return false; + if (!getType().equals(other.getType())) return false; if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError() - .equals(other.getProcessingError())) return false; + if (!getProcessingError().equals(other.getProcessingError())) return false; } - if (!getResourceErrorDetailsList() - .equals(other.getResourceErrorDetailsList())) return false; - if (getResourceErrorCount() - != other.getResourceErrorCount()) return false; + if (!getResourceErrorDetailsList().equals(other.getResourceErrorDetailsList())) return false; + if (getResourceErrorCount() != other.getResourceErrorCount()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1005,96 +1158,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationSubtask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.MigrationSubtask prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.MigrationSubtask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A subtask for a migration which carries details about the configuration of
    * the subtask. The content of the details should not matter to the end user,
@@ -1103,21 +1264,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationSubtask}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.MigrationSubtask)
       com.google.cloud.bigquery.migration.v2.MigrationSubtaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
+              com.google.cloud.bigquery.migration.v2.MigrationSubtask.class,
+              com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.MigrationSubtask.newBuilder()
@@ -1125,18 +1288,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getResourceErrorDetailsFieldBuilder();
         getMetricsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1184,9 +1347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
@@ -1205,7 +1368,8 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.MigrationSubtask buildPartial() {
-      com.google.cloud.bigquery.migration.v2.MigrationSubtask result = new com.google.cloud.bigquery.migration.v2.MigrationSubtask(this);
+      com.google.cloud.bigquery.migration.v2.MigrationSubtask result =
+          new com.google.cloud.bigquery.migration.v2.MigrationSubtask(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.taskId_ = taskId_;
@@ -1253,38 +1417,39 @@ public com.google.cloud.bigquery.migration.v2.MigrationSubtask buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.MigrationSubtask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationSubtask)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationSubtask) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1292,7 +1457,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationSubtask other) {
-      if (other == com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1329,9 +1495,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationSubtask
             resourceErrorDetailsBuilder_ = null;
             resourceErrorDetails_ = other.resourceErrorDetails_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceErrorDetailsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResourceErrorDetailsFieldBuilder() : null;
+            resourceErrorDetailsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResourceErrorDetailsFieldBuilder()
+                    : null;
           } else {
             resourceErrorDetailsBuilder_.addAllMessages(other.resourceErrorDetails_);
           }
@@ -1364,9 +1531,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationSubtask
             metricsBuilder_ = null;
             metrics_ = other.metrics_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMetricsFieldBuilder() : null;
+            metricsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMetricsFieldBuilder()
+                    : null;
           } else {
             metricsBuilder_.addAllMessages(other.metrics_);
           }
@@ -1391,7 +1559,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.MigrationSubtask) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.MigrationSubtask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1400,24 +1569,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1426,22 +1600,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1449,60 +1626,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID
      * is server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1510,18 +1700,20 @@ public Builder setNameBytes( private java.lang.Object taskId_ = ""; /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @return The taskId. */ public java.lang.String getTaskId() { java.lang.Object ref = taskId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; @@ -1530,20 +1722,21 @@ public java.lang.String getTaskId() { } } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @return The bytes for taskId. */ - public com.google.protobuf.ByteString - getTaskIdBytes() { + public com.google.protobuf.ByteString getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taskId_ = b; return b; } else { @@ -1551,54 +1744,61 @@ public java.lang.String getTaskId() { } } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @param value The taskId to set. * @return This builder for chaining. */ - public Builder setTaskId( - java.lang.String value) { + public Builder setTaskId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + taskId_ = value; onChanged(); return this; } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @return This builder for chaining. */ public Builder clearTaskId() { - + taskId_ = getDefaultInstance().getTaskId(); onChanged(); return this; } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @param value The bytes for taskId to set. * @return This builder for chaining. */ - public Builder setTaskIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + taskId_ = value; onChanged(); return this; @@ -1606,6 +1806,8 @@ public Builder setTaskIdBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1614,13 +1816,13 @@ public Builder setTaskIdBytes(
      * 
* * string type = 3; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1629,6 +1831,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1637,15 +1841,14 @@ public java.lang.String getType() {
      * 
* * string type = 3; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -1653,6 +1856,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1661,20 +1866,22 @@ public java.lang.String getType() {
      * 
* * string type = 3; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1683,15 +1890,18 @@ public Builder setType(
      * 
* * string type = 3; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1700,16 +1910,16 @@ public Builder clearType() {
      * 
* * string type = 3; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1717,51 +1927,75 @@ public Builder setTypeBytes( private int state_ = 0; /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.MigrationSubtask.State result = + com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2.MigrationSubtask.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1769,21 +2003,26 @@ public Builder setState(com.google.cloud.bigquery.migration.v2.MigrationSubtask. if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1791,42 +2030,61 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> + processingErrorBuilder_; /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -1842,15 +2100,18 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProcessingError( - com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -1861,18 +2122,22 @@ public Builder setProcessingError( return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -1884,12 +2149,16 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -1903,78 +2172,105 @@ public Builder clearProcessingError() { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null ? - com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), - getParentForChildren(), - isClean()); + processingErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), getParentForChildren(), isClean()); processingError_ = null; } return processingErrorBuilder_; } - private java.util.List resourceErrorDetails_ = - java.util.Collections.emptyList(); + private java.util.List + resourceErrorDetails_ = java.util.Collections.emptyList(); + private void ensureResourceErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceErrorDetails_ = new java.util.ArrayList(resourceErrorDetails_); + resourceErrorDetails_ = + new java.util.ArrayList( + resourceErrorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> resourceErrorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> + resourceErrorDetailsBuilder_; /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getResourceErrorDetailsList() { + public java.util.List + getResourceErrorDetailsList() { if (resourceErrorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceErrorDetails_); } else { @@ -1982,13 +2278,17 @@ public java.util.List * Output only. Provides details to errors and issues encountered while * processing the subtask. Presence of error details does not mean that the * subtask failed. *
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getResourceErrorDetailsCount() { if (resourceErrorDetailsBuilder_ == null) { @@ -1998,15 +2298,20 @@ public int getResourceErrorDetailsCount() { } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails(int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails( + int index) { if (resourceErrorDetailsBuilder_ == null) { return resourceErrorDetails_.get(index); } else { @@ -2014,13 +2319,17 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErr } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { @@ -2037,16 +2346,21 @@ public Builder setResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResourceErrorDetails( - int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.set(index, builderForValue.build()); @@ -2057,15 +2371,20 @@ public Builder setResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addResourceErrorDetails(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { + public Builder addResourceErrorDetails( + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { if (resourceErrorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2079,13 +2398,17 @@ public Builder addResourceErrorDetails(com.google.cloud.bigquery.migration.v2.Re return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail value) { @@ -2102,13 +2425,17 @@ public Builder addResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addResourceErrorDetails( com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { @@ -2122,16 +2449,21 @@ public Builder addResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addResourceErrorDetails( - int index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.add(index, builderForValue.build()); @@ -2142,20 +2474,24 @@ public Builder addResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllResourceErrorDetails( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceErrorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceErrorDetails_); onChanged(); } else { resourceErrorDetailsBuilder_.addAllMessages(values); @@ -2163,13 +2499,17 @@ public Builder addAllResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearResourceErrorDetails() { if (resourceErrorDetailsBuilder_ == null) { @@ -2182,13 +2522,17 @@ public Builder clearResourceErrorDetails() { return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeResourceErrorDetails(int index) { if (resourceErrorDetailsBuilder_ == null) { @@ -2201,45 +2545,59 @@ public Builder removeResourceErrorDetails(int index) { return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder getResourceErrorDetailsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder + getResourceErrorDetailsBuilder(int index) { return getResourceErrorDetailsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder + getResourceErrorDetailsOrBuilder(int index) { if (resourceErrorDetailsBuilder_ == null) { - return resourceErrorDetails_.get(index); } else { + return resourceErrorDetails_.get(index); + } else { return resourceErrorDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getResourceErrorDetailsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> + getResourceErrorDetailsOrBuilderList() { if (resourceErrorDetailsBuilder_ != null) { return resourceErrorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -2247,51 +2605,73 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getRe } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder() { - return getResourceErrorDetailsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder + addResourceErrorDetailsBuilder() { + return getResourceErrorDetailsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder( - int index) { - return getResourceErrorDetailsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder + addResourceErrorDetailsBuilder(int index) { + return getResourceErrorDetailsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()); } /** + * + * *
      * Output only. Provides details to errors and issues encountered while
      * processing the subtask. Presence of error details does not mean that the
      * subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getResourceErrorDetailsBuilderList() { + public java.util.List + getResourceErrorDetailsBuilderList() { return getResourceErrorDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> getResourceErrorDetailsFieldBuilder() { if (resourceErrorDetailsBuilder_ == null) { - resourceErrorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder>( + resourceErrorDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder>( resourceErrorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2301,8 +2681,10 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder addRes return resourceErrorDetailsBuilder_; } - private int resourceErrorCount_ ; + private int resourceErrorCount_; /** + * + * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2311,6 +2693,7 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder addRes
      * 
* * int32 resource_error_count = 13; + * * @return The resourceErrorCount. */ @java.lang.Override @@ -2318,6 +2701,8 @@ public int getResourceErrorCount() { return resourceErrorCount_; } /** + * + * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2326,16 +2711,19 @@ public int getResourceErrorCount() {
      * 
* * int32 resource_error_count = 13; + * * @param value The resourceErrorCount to set. * @return This builder for chaining. */ public Builder setResourceErrorCount(int value) { - + resourceErrorCount_ = value; onChanged(); return this; } /** + * + * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2344,10 +2732,11 @@ public Builder setResourceErrorCount(int value) {
      * 
* * int32 resource_error_count = 13; + * * @return This builder for chaining. */ public Builder clearResourceErrorCount() { - + resourceErrorCount_ = 0; onChanged(); return this; @@ -2355,34 +2744,47 @@ public Builder clearResourceErrorCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2403,14 +2805,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2421,6 +2824,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2431,7 +2836,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2443,6 +2848,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2461,6 +2868,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2468,11 +2877,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 7; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2483,11 +2894,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2495,14 +2909,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2510,34 +2927,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2558,14 +2988,15 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2576,6 +3007,8 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2586,7 +3019,9 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -2598,6 +3033,8 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2616,6 +3053,8 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2623,11 +3062,13 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 8; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2638,11 +3079,14 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2650,32 +3094,42 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); + metrics_ = + new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeSeries, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> metricsBuilder_; + com.google.cloud.bigquery.migration.v2.TimeSeries, + com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, + com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> + metricsBuilder_; /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2690,6 +3144,8 @@ public java.util.List getMetr } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2704,6 +3160,8 @@ public int getMetricsCount() { } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2718,14 +3176,15 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index) { } } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public Builder setMetrics( - int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { + public Builder setMetrics(int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2739,6 +3198,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2757,6 +3218,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2777,14 +3240,15 @@ public Builder addMetrics(com.google.cloud.bigquery.migration.v2.TimeSeries valu return this; } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public Builder addMetrics( - int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { + public Builder addMetrics(int index, com.google.cloud.bigquery.migration.v2.TimeSeries value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2798,6 +3262,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2816,6 +3282,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2834,6 +3302,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2844,8 +3314,7 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -2853,6 +3322,8 @@ public Builder addAllMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2870,6 +3341,8 @@ public Builder clearMetrics() { return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2887,17 +3360,20 @@ public Builder removeMetrics(int index) { return this; } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder getMetricsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder getMetricsBuilder(int index) { return getMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2907,19 +3383,22 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder getMetricsBuild public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder( int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); } else { + return metrics_.get(index); + } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -2927,6 +3406,8 @@ public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBu } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2934,49 +3415,56 @@ public com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBu * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder addMetricsBuilder() { - return getMetricsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); + return getMetricsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder addMetricsBuilder( - int index) { - return getMetricsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.TimeSeries.Builder addMetricsBuilder(int index) { + return getMetricsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()); } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeSeries, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> + com.google.cloud.bigquery.migration.v2.TimeSeries, + com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, + com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeSeries, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder>( - metrics_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + metricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TimeSeries, + com.google.cloud.bigquery.migration.v2.TimeSeries.Builder, + com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder>( + metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); metrics_ = null; } return metricsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2986,12 +3474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.MigrationSubtask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.MigrationSubtask) private static final com.google.cloud.bigquery.migration.v2.MigrationSubtask DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.MigrationSubtask(); } @@ -3000,16 +3488,16 @@ public static com.google.cloud.bigquery.migration.v2.MigrationSubtask getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSubtask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationSubtask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSubtask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationSubtask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3024,6 +3512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.MigrationSubtask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java index 442e633..cc61a02 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationSubtaskOrBuilder.java @@ -1,57 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; -public interface MigrationSubtaskOrBuilder extends +public interface MigrationSubtaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationSubtask) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Immutable. The resource name for the migration subtask. The ID
    * is server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The taskId. */ java.lang.String getTaskId(); /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The bytes for taskId. */ - com.google.protobuf.ByteString - getTaskIdBytes(); + com.google.protobuf.ByteString getTaskIdBytes(); /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -60,10 +92,13 @@ public interface MigrationSubtaskOrBuilder extends
    * 
* * string type = 3; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -72,115 +107,158 @@ public interface MigrationSubtaskOrBuilder extends
    * 
* * string type = 3; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.migration.v2.MigrationSubtask.State getState(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getResourceErrorDetailsList(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getResourceErrorDetails(int index); /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getResourceErrorDetailsCount(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getResourceErrorDetailsOrBuilderList(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while
    * processing the subtask. Presence of error details does not mean that the
    * subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder + getResourceErrorDetailsOrBuilder(int index); /** + * + * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -189,29 +267,38 @@ com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceE
    * 
* * int32 resource_error_count = 13; + * * @return The resourceErrorCount. */ int getResourceErrorCount(); /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the subtask was created.
    * 
@@ -221,24 +308,32 @@ com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceE com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Time when the subtask was last updated.
    * 
@@ -248,15 +343,18 @@ com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceE com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** + * + * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
    * The metrics for the subtask.
    * 
@@ -265,6 +363,8 @@ com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceE */ com.google.cloud.bigquery.migration.v2.TimeSeries getMetrics(int index); /** + * + * *
    * The metrics for the subtask.
    * 
@@ -273,21 +373,24 @@ com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder getResourceE */ int getMetricsCount(); /** + * + * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** + * + * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; */ - com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder getMetricsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java index be52839..f6af28b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A single task for a migration which has details about the configuration of
  * the task.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationTask}
  */
-public final class MigrationTask extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationTask extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.MigrationTask)
     MigrationTaskOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationTask.newBuilder() to construct.
   private MigrationTask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationTask() {
     id_ = "";
     type_ = "";
@@ -28,16 +46,15 @@ private MigrationTask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationTask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationTask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,84 +73,100 @@ private MigrationTask(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            id_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            type_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            state_ = rawValue;
-            break;
-          }
-          case 42: {
-            com.google.rpc.ErrorInfo.Builder subBuilder = null;
-            if (processingError_ != null) {
-              subBuilder = processingError_.toBuilder();
-            }
-            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(processingError_);
-              processingError_ = subBuilder.buildPartial();
+              id_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              type_ = s;
+              break;
             }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastUpdateTime_ != null) {
-              subBuilder = lastUpdateTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastUpdateTime_);
-              lastUpdateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.rpc.ErrorInfo.Builder subBuilder = null;
+              if (processingError_ != null) {
+                subBuilder = processingError_.toBuilder();
+              }
+              processingError_ =
+                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(processingError_);
+                processingError_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 114: {
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder subBuilder = null;
-            if (taskDetailsCase_ == 14) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_).toBuilder();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskDetails_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_);
-              taskDetails_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastUpdateTime_ != null) {
+                subBuilder = lastUpdateTime_.toBuilder();
+              }
+              lastUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastUpdateTime_);
+                lastUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskDetailsCase_ = 14;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder subBuilder =
+                  null;
+              if (taskDetailsCase_ == 14) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_)
+                        .toBuilder();
+              }
+              taskDetails_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_);
+                taskDetails_ = subBuilder.buildPartial();
+              }
+              taskDetailsCase_ = 14;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -141,36 +174,41 @@ private MigrationTask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.MigrationTask.class, com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
+            com.google.cloud.bigquery.migration.v2.MigrationTask.class,
+            com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a migration task.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.MigrationTask.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unspecified.
      * 
@@ -179,6 +217,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The task is waiting for orchestration.
      * 
@@ -187,6 +227,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The task is assigned to an orchestrator.
      * 
@@ -195,6 +237,8 @@ public enum State */ ORCHESTRATING(2), /** + * + * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -203,6 +247,8 @@ public enum State */ RUNNING(3), /** + * + * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -212,6 +258,8 @@ public enum State
      */
     PAUSED(4),
     /**
+     *
+     *
      * 
      * The task finished successfully.
      * 
@@ -220,6 +268,8 @@ public enum State */ SUCCEEDED(5), /** + * + * *
      * The task finished unsuccessfully.
      * 
@@ -231,6 +281,8 @@ public enum State ; /** + * + * *
      * The state is unspecified.
      * 
@@ -239,6 +291,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The task is waiting for orchestration.
      * 
@@ -247,6 +301,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The task is assigned to an orchestrator.
      * 
@@ -255,6 +311,8 @@ public enum State */ public static final int ORCHESTRATING_VALUE = 2; /** + * + * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -263,6 +321,8 @@ public enum State */ public static final int RUNNING_VALUE = 3; /** + * + * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -272,6 +332,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 4;
     /**
+     *
+     *
      * 
      * The task finished successfully.
      * 
@@ -280,6 +342,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 5; /** + * + * *
      * The task finished unsuccessfully.
      * 
@@ -288,7 +352,6 @@ public enum State */ public static final int FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -313,53 +376,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return ORCHESTRATING; - case 3: return RUNNING; - case 4: return PAUSED; - case 5: return SUCCEEDED; - case 6: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return ORCHESTRATING; + case 3: + return RUNNING; + case 4: + return PAUSED; + case 5: + return SUCCEEDED; + case 6: + return FAILED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationTask.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationTask.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -378,12 +447,15 @@ private State(int value) { private int taskDetailsCase_ = 0; private java.lang.Object taskDetails_; + public enum TaskDetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSLATION_CONFIG_DETAILS(14), TASKDETAILS_NOT_SET(0); private final int value; + private TaskDetailsCase(int value) { this.value = value; } @@ -399,29 +471,36 @@ public static TaskDetailsCase valueOf(int value) { public static TaskDetailsCase forNumber(int value) { switch (value) { - case 14: return TRANSLATION_CONFIG_DETAILS; - case 0: return TASKDETAILS_NOT_SET; - default: return null; + case 14: + return TRANSLATION_CONFIG_DETAILS; + case 0: + return TASKDETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TaskDetailsCase - getTaskDetailsCase() { - return TaskDetailsCase.forNumber( - taskDetailsCase_); + public TaskDetailsCase getTaskDetailsCase() { + return TaskDetailsCase.forNumber(taskDetailsCase_); } public static final int TRANSLATION_CONFIG_DETAILS_FIELD_NUMBER = 14; /** + * + * *
    * Task configuration for Batch SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * * @return Whether the translationConfigDetails field is set. */ @java.lang.Override @@ -429,31 +508,42 @@ public boolean hasTranslationConfigDetails() { return taskDetailsCase_ == 14; } /** + * + * *
    * Task configuration for Batch SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * * @return The translationConfigDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails + getTranslationConfigDetails() { if (taskDetailsCase_ == 14) { - return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); } /** + * + * *
    * Task configuration for Batch SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder + getTranslationConfigDetailsOrBuilder() { if (taskDetailsCase_ == 14) { - return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); } @@ -461,12 +551,17 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The id. */ @java.lang.Override @@ -475,30 +570,32 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -509,6 +606,8 @@ public java.lang.String getId() { public static final int TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** + * + * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -519,6 +618,7 @@ public java.lang.String getId() {
    * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -527,14 +627,15 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -545,16 +646,15 @@ public java.lang.String getType() {
    * 
* * string type = 2; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -565,39 +665,58 @@ public java.lang.String getType() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationTask.State getState() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationTask.State result = com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.MigrationTask.State result = + com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED + : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 5; private com.google.rpc.ErrorInfo processingError_; /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ @java.lang.Override @@ -605,25 +724,34 @@ public boolean hasProcessingError() { return processingError_ != null; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -633,11 +761,14 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -645,11 +776,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -657,6 +791,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the task was created.
    * 
@@ -671,11 +807,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -683,18 +822,25 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Time when the task was last updated.
    * 
@@ -707,6 +853,7 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -718,15 +865,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); } - if (state_ != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (processingError_ != null) { @@ -739,7 +887,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(7, getLastUpdateTime()); } if (taskDetailsCase_ == 14) { - output.writeMessage(14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); + output.writeMessage( + 14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); } unknownFields.writeTo(output); } @@ -756,25 +905,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } - if (state_ != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.bigquery.migration.v2.MigrationTask.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getProcessingError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastUpdateTime()); } if (taskDetailsCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -784,38 +932,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.MigrationTask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.MigrationTask other = (com.google.cloud.bigquery.migration.v2.MigrationTask) obj; + com.google.cloud.bigquery.migration.v2.MigrationTask other = + (com.google.cloud.bigquery.migration.v2.MigrationTask) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getType() - .equals(other.getType())) return false; + if (!getId().equals(other.getId())) return false; + if (!getType().equals(other.getType())) return false; if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError() - .equals(other.getProcessingError())) return false; + if (!getProcessingError().equals(other.getProcessingError())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } if (!getTaskDetailsCase().equals(other.getTaskDetailsCase())) return false; switch (taskDetailsCase_) { case 14: - if (!getTranslationConfigDetails() - .equals(other.getTranslationConfigDetails())) return false; + if (!getTranslationConfigDetails().equals(other.getTranslationConfigDetails())) + return false; break; case 0: default: @@ -863,96 +1007,103 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationTask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.MigrationTask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A single task for a migration which has details about the configuration of
    * the task.
@@ -960,21 +1111,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationTask}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.MigrationTask)
       com.google.cloud.bigquery.migration.v2.MigrationTaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.MigrationTask.class, com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
+              com.google.cloud.bigquery.migration.v2.MigrationTask.class,
+              com.google.cloud.bigquery.migration.v2.MigrationTask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.MigrationTask.newBuilder()
@@ -982,16 +1135,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1025,9 +1177,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
     }
 
     @java.lang.Override
@@ -1046,7 +1198,8 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.MigrationTask buildPartial() {
-      com.google.cloud.bigquery.migration.v2.MigrationTask result = new com.google.cloud.bigquery.migration.v2.MigrationTask(this);
+      com.google.cloud.bigquery.migration.v2.MigrationTask result =
+          new com.google.cloud.bigquery.migration.v2.MigrationTask(this);
       if (taskDetailsCase_ == 14) {
         if (translationConfigDetailsBuilder_ == null) {
           result.taskDetails_ = taskDetails_;
@@ -1081,38 +1234,39 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.MigrationTask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationTask)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationTask) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1120,7 +1274,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationTask other) {
-      if (other == com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance())
+        return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         onChanged();
@@ -1142,13 +1297,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationTask ot
         mergeLastUpdateTime(other.getLastUpdateTime());
       }
       switch (other.getTaskDetailsCase()) {
-        case TRANSLATION_CONFIG_DETAILS: {
-          mergeTranslationConfigDetails(other.getTranslationConfigDetails());
-          break;
-        }
-        case TASKDETAILS_NOT_SET: {
-          break;
-        }
+        case TRANSLATION_CONFIG_DETAILS:
+          {
+            mergeTranslationConfigDetails(other.getTranslationConfigDetails());
+            break;
+          }
+        case TASKDETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1169,7 +1326,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.MigrationTask) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.MigrationTask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1178,12 +1336,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int taskDetailsCase_ = 0;
     private java.lang.Object taskDetails_;
-    public TaskDetailsCase
-        getTaskDetailsCase() {
-      return TaskDetailsCase.forNumber(
-          taskDetailsCase_);
+
+    public TaskDetailsCase getTaskDetailsCase() {
+      return TaskDetailsCase.forNumber(taskDetailsCase_);
     }
 
     public Builder clearTaskDetails() {
@@ -1193,15 +1351,22 @@ public Builder clearTaskDetails() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder> translationConfigDetailsBuilder_;
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails,
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder,
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder>
+        translationConfigDetailsBuilder_;
     /**
+     *
+     *
      * 
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * * @return Whether the translationConfigDetails field is set. */ @java.lang.Override @@ -1209,15 +1374,21 @@ public boolean hasTranslationConfigDetails() { return taskDetailsCase_ == 14; } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * * @return The translationConfigDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails + getTranslationConfigDetails() { if (translationConfigDetailsBuilder_ == null) { if (taskDetailsCase_ == 14) { return (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_; @@ -1231,13 +1402,18 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTransl } } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ - public Builder setTranslationConfigDetails(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { + public Builder setTranslationConfigDetails( + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { if (translationConfigDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1251,11 +1427,15 @@ public Builder setTranslationConfigDetails(com.google.cloud.bigquery.migration.v return this; } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ public Builder setTranslationConfigDetails( com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder builderForValue) { @@ -1269,18 +1449,29 @@ public Builder setTranslationConfigDetails( return this; } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ - public Builder mergeTranslationConfigDetails(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { + public Builder mergeTranslationConfigDetails( + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails value) { if (translationConfigDetailsBuilder_ == null) { - if (taskDetailsCase_ == 14 && - taskDetails_ != com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance()) { - taskDetails_ = com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.newBuilder((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_) - .mergeFrom(value).buildPartial(); + if (taskDetailsCase_ == 14 + && taskDetails_ + != com.google.cloud.bigquery.migration.v2.TranslationConfigDetails + .getDefaultInstance()) { + taskDetails_ = + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.newBuilder( + (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) + taskDetails_) + .mergeFrom(value) + .buildPartial(); } else { taskDetails_ = value; } @@ -1296,11 +1487,15 @@ public Builder mergeTranslationConfigDetails(com.google.cloud.bigquery.migration return this; } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ public Builder clearTranslationConfigDetails() { if (translationConfigDetailsBuilder_ == null) { @@ -1319,24 +1514,34 @@ public Builder clearTranslationConfigDetails() { return this; } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder getTranslationConfigDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder + getTranslationConfigDetailsBuilder() { return getTranslationConfigDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder + getTranslationConfigDetailsOrBuilder() { if ((taskDetailsCase_ == 14) && (translationConfigDetailsBuilder_ != null)) { return translationConfigDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1347,46 +1552,61 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder } } /** + * + * *
      * Task configuration for Batch SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, + com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder> getTranslationConfigDetailsFieldBuilder() { if (translationConfigDetailsBuilder_ == null) { if (!(taskDetailsCase_ == 14)) { - taskDetails_ = com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); + taskDetails_ = + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance(); } - translationConfigDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder>( + translationConfigDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails, + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder, + com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder>( (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) taskDetails_, getParentForChildren(), isClean()); taskDetails_ = null; } taskDetailsCase_ = 14; - onChanged();; + onChanged(); + ; return translationConfigDetailsBuilder_; } private java.lang.Object id_ = ""; /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1395,21 +1615,24 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -1417,57 +1640,70 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The
      * ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -1475,6 +1711,8 @@ public Builder setIdBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -1485,13 +1723,13 @@ public Builder setIdBytes(
      * 
* * string type = 2; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1500,6 +1738,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -1510,15 +1750,14 @@ public java.lang.String getType() {
      * 
* * string type = 2; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -1526,6 +1765,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -1536,20 +1777,22 @@ public java.lang.String getType() {
      * 
* * string type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -1560,15 +1803,18 @@ public Builder setType(
      * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The type of the task. This must be one of the supported task types:
      * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -1579,16 +1825,16 @@ public Builder clearType() {
      * 
* * string type = 2; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1596,51 +1842,75 @@ public Builder setTypeBytes( private int state_ = 0; /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationTask.State result = com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.MigrationTask.State result = + com.google.cloud.bigquery.migration.v2.MigrationTask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2.MigrationTask.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1648,21 +1918,26 @@ public Builder setState(com.google.cloud.bigquery.migration.v2.MigrationTask.Sta if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1670,42 +1945,61 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> + processingErrorBuilder_; /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -1721,15 +2015,18 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProcessingError( - com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -1740,18 +2037,22 @@ public Builder setProcessingError( return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -1763,12 +2064,16 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -1782,51 +2087,67 @@ public Builder clearProcessingError() { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null ? - com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in
      * FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), - getParentForChildren(), - isClean()); + processingErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), getParentForChildren(), isClean()); processingError_ = null; } return processingErrorBuilder_; @@ -1834,34 +2155,47 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the task was created.
      * 
@@ -1882,14 +2216,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1900,6 +2235,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the task was created.
      * 
@@ -1910,7 +2247,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1922,6 +2259,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was created.
      * 
@@ -1940,6 +2279,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the task was created.
      * 
@@ -1947,11 +2288,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the task was created.
      * 
@@ -1962,11 +2305,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time when the task was created.
      * 
@@ -1974,14 +2320,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1989,34 +2338,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2037,14 +2399,15 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2055,6 +2418,8 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2065,7 +2430,9 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -2077,6 +2444,8 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2095,6 +2464,8 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2102,11 +2473,13 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 7; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2117,11 +2490,14 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2129,21 +2505,24 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2153,12 +2532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.MigrationTask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.MigrationTask) private static final com.google.cloud.bigquery.migration.v2.MigrationTask DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.MigrationTask(); } @@ -2167,16 +2546,16 @@ public static com.google.cloud.bigquery.migration.v2.MigrationTask getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationTask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationTask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2191,6 +2570,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.MigrationTask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java index 79a3391..2aa5e75 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java @@ -1,62 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; -public interface MigrationTaskOrBuilder extends +public interface MigrationTaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationTask) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Task configuration for Batch SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * * @return Whether the translationConfigDetails field is set. */ boolean hasTranslationConfigDetails(); /** + * + * *
    * Task configuration for Batch SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * * @return The translationConfigDetails. */ com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails(); /** + * + * *
    * Task configuration for Batch SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * + * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; + * */ - com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder(); + com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder + getTranslationConfigDetailsOrBuilder(); /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The
    * ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -67,10 +109,13 @@ public interface MigrationTaskOrBuilder extends
    * 
* * string type = 2; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The type of the task. This must be one of the supported task types:
    * Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
@@ -81,79 +126,108 @@ public interface MigrationTaskOrBuilder extends
    * 
* * string type = 2; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.migration.v2.MigrationTask.State getState(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in
    * FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the task was created.
    * 
@@ -163,24 +237,32 @@ public interface MigrationTaskOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Time when the task was last updated.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java index 944fcaa..75c8ebf 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflow.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A migration workflow which specifies what needs to be done for an EDW
  * migration.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationWorkflow}
  */
-public final class MigrationWorkflow extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationWorkflow extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.MigrationWorkflow)
     MigrationWorkflowOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationWorkflow.newBuilder() to construct.
   private MigrationWorkflow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationWorkflow() {
     name_ = "";
     displayName_ = "";
@@ -28,16 +46,15 @@ private MigrationWorkflow() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationWorkflow();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationWorkflow(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,70 +74,80 @@ private MigrationWorkflow(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tasks_ = com.google.protobuf.MapField.newMapField(
-                  TasksDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            tasks__ = input.readMessage(
-                TasksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            tasks_.getMutableMap().put(
-                tasks__.getKey(), tasks__.getValue());
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tasks_ =
+                    com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry<
+                      java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask>
+                  tasks__ =
+                      input.readMessage(
+                          TasksDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+              tasks_.getMutableMap().put(tasks__.getKey(), tasks__.getValue());
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastUpdateTime_ != null) {
-              subBuilder = lastUpdateTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastUpdateTime_);
-              lastUpdateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastUpdateTime_ != null) {
+                subBuilder = lastUpdateTime_.toBuilder();
+              }
+              lastUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastUpdateTime_);
+                lastUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -128,48 +155,52 @@ private MigrationWorkflow(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetTasks();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
+            com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
+            com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible migration workflow states.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.MigrationWorkflow.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Workflow state is unspecified.
      * 
@@ -178,6 +209,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -187,6 +220,8 @@ public enum State
      */
     DRAFT(1),
     /**
+     *
+     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -195,6 +230,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -204,6 +241,8 @@ public enum State
      */
     PAUSED(3),
     /**
+     *
+     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -217,6 +256,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Workflow state is unspecified.
      * 
@@ -225,6 +266,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -234,6 +277,8 @@ public enum State
      */
     public static final int DRAFT_VALUE = 1;
     /**
+     *
+     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -242,6 +287,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -251,6 +298,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -261,7 +310,6 @@ public enum State
      */
     public static final int COMPLETED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -286,51 +334,55 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return DRAFT;
-        case 2: return RUNNING;
-        case 3: return PAUSED;
-        case 4: return COMPLETED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return DRAFT;
+        case 2:
+          return RUNNING;
+        case 3:
+          return PAUSED;
+        case 4:
+          return COMPLETED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -350,13 +402,18 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ @java.lang.Override @@ -365,31 +422,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -400,12 +459,15 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The displayName. */ @java.lang.Override @@ -414,30 +476,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -446,24 +508,31 @@ public java.lang.String getDisplayName() { } public static final int TASKS_FIELD_NUMBER = 2; + private static final class TasksDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> defaultEntry = + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto + .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.bigquery.migration.v2.MigrationTask.getDefaultInstance()); } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + tasks_; + private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> tasks_; - private com.google.protobuf.MapField - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); } return tasks_; } @@ -472,6 +541,8 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -480,22 +551,23 @@ public int getTasksCount() {
    *
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
-
   @java.lang.Override
-  public boolean containsTasks(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsTasks(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetTasks().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getTasksMap()} instead.
-   */
+  /** Use {@link #getTasksMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map getTasks() {
+  public java.util.Map
+      getTasks() {
     return getTasksMap();
   }
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -505,11 +577,13 @@ public java.util.Mapmap<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   @java.lang.Override
-
-  public java.util.Map getTasksMap() {
+  public java.util.Map
+      getTasksMap() {
     return internalGetTasks().getMap();
   }
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -519,16 +593,18 @@ public java.util.Mapmap<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   @java.lang.Override
-
   public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
-      java.lang.String key,
-      com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetTasks().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -538,10 +614,11 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   @java.lang.Override
-
   public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
       java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetTasks().getMap();
     if (!map.containsKey(key)) {
@@ -553,38 +630,56 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
   public static final int STATE_FIELD_NUMBER = 3;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -592,11 +687,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ @java.lang.Override @@ -604,6 +702,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the workflow was created.
    * 
@@ -618,11 +718,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -630,18 +733,25 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Time when the workflow was last updated.
    * 
@@ -654,6 +764,7 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -665,18 +776,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTasks(), - TasksDefaultEntryHolder.defaultEntry, - 2); - if (state_ != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTasks(), TasksDefaultEntryHolder.defaultEntry, 2); + if (state_ + != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (createTime_ != null) { @@ -700,27 +808,28 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry entry - : internalGetTasks().getMap().entrySet()) { - com.google.protobuf.MapEntry - tasks__ = TasksDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, tasks__); - } - if (state_ != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + for (java.util.Map.Entry + entry : internalGetTasks().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + tasks__ = + TasksDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tasks__); + } + if (state_ + != com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -733,29 +842,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.MigrationWorkflow)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.MigrationWorkflow other = (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) obj; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow other = + (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetTasks().equals( - other.internalGetTasks())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetTasks().equals(other.internalGetTasks())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -792,96 +897,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.MigrationWorkflow prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.MigrationWorkflow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A migration workflow which specifies what needs to be done for an EDW
    * migration.
@@ -889,43 +1002,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.MigrationWorkflow}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.MigrationWorkflow)
       com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetTasks();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableTasks();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
+              com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
+              com.google.cloud.bigquery.migration.v2.MigrationWorkflow.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.MigrationWorkflow.newBuilder()
@@ -933,16 +1046,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -969,9 +1081,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
     }
 
     @java.lang.Override
@@ -990,7 +1102,8 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.MigrationWorkflow buildPartial() {
-      com.google.cloud.bigquery.migration.v2.MigrationWorkflow result = new com.google.cloud.bigquery.migration.v2.MigrationWorkflow(this);
+      com.google.cloud.bigquery.migration.v2.MigrationWorkflow result =
+          new com.google.cloud.bigquery.migration.v2.MigrationWorkflow(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1015,38 +1128,39 @@ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.MigrationWorkflow) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationWorkflow)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.MigrationWorkflow) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1054,7 +1168,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationWorkflow other) {
-      if (other == com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1063,8 +1178,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.MigrationWorkflo
         displayName_ = other.displayName_;
         onChanged();
       }
-      internalGetMutableTasks().mergeFrom(
-          other.internalGetTasks());
+      internalGetMutableTasks().mergeFrom(other.internalGetTasks());
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1093,7 +1207,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.MigrationWorkflow) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1102,24 +1217,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1128,22 +1248,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1151,60 +1274,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow.
      * The ID is server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1212,19 +1348,21 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1233,21 +1371,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1255,78 +1394,89 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> tasks_; - private com.google.protobuf.MapField - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + tasks_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); } return tasks_; } - private com.google.protobuf.MapField - internalGetMutableTasks() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.bigquery.migration.v2.MigrationTask> + internalGetMutableTasks() { + onChanged(); + ; if (tasks_ == null) { - tasks_ = com.google.protobuf.MapField.newMapField( - TasksDefaultEntryHolder.defaultEntry); + tasks_ = com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry); } if (!tasks_.isMutable()) { tasks_ = tasks_.copy(); @@ -1338,6 +1488,8 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1346,22 +1498,23 @@ public int getTasksCount() {
      *
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
-
     @java.lang.Override
-    public boolean containsTasks(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsTasks(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetTasks().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getTasksMap()} instead.
-     */
+    /** Use {@link #getTasksMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map getTasks() {
+    public java.util.Map
+        getTasks() {
       return getTasksMap();
     }
     /**
+     *
+     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1371,11 +1524,13 @@ public java.util.Mapmap<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     @java.lang.Override
-
-    public java.util.Map getTasksMap() {
+    public java.util.Map
+        getTasksMap() {
       return internalGetTasks().getMap();
     }
     /**
+     *
+     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1385,16 +1540,18 @@ public java.util.Mapmap<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     @java.lang.Override
-
     public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
-        java.lang.String key,
-        com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetTasks().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1404,10 +1561,11 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     @java.lang.Override
-
     public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
         java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetTasks().getMap();
       if (!map.containsKey(key)) {
@@ -1417,11 +1575,12 @@ public com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
     }
 
     public Builder clearTasks() {
-      internalGetMutableTasks().getMutableMap()
-          .clear();
+      internalGetMutableTasks().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1430,23 +1589,22 @@ public Builder clearTasks() {
      *
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
-
-    public Builder removeTasks(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableTasks().getMutableMap()
-          .remove(key);
+    public Builder removeTasks(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableTasks().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
-    getMutableTasks() {
+        getMutableTasks() {
       return internalGetMutableTasks().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1456,18 +1614,20 @@ public Builder removeTasks(
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
     public Builder putTasks(
-        java.lang.String key,
-        com.google.cloud.bigquery.migration.v2.MigrationTask value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.bigquery.migration.v2.MigrationTask value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableTasks().getMutableMap()
-          .put(key, value);
+      internalGetMutableTasks().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
@@ -1476,61 +1636,84 @@ public Builder putTasks(
      *
      * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
      */
-
     public Builder putAllTasks(
-        java.util.Map values) {
-      internalGetMutableTasks().getMutableMap()
-          .putAll(values);
+        java.util.Map
+            values) {
+      internalGetMutableTasks().getMutableMap().putAll(values);
       return this;
     }
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State result = + com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1538,21 +1721,26 @@ public Builder setState(com.google.cloud.bigquery.migration.v2.MigrationWorkflow if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1560,34 +1748,47 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1608,14 +1809,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1626,6 +1828,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1636,7 +1840,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1648,6 +1852,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1666,6 +1872,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1673,11 +1881,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1688,11 +1898,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1700,14 +1913,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1715,34 +1931,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1763,14 +1992,15 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -1781,6 +2011,8 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1791,7 +2023,9 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -1803,6 +2037,8 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1821,6 +2057,8 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1828,11 +2066,13 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1843,11 +2083,14 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1855,21 +2098,24 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +2125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.MigrationWorkflow) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.MigrationWorkflow) private static final com.google.cloud.bigquery.migration.v2.MigrationWorkflow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.MigrationWorkflow(); } @@ -1893,16 +2139,16 @@ public static com.google.cloud.bigquery.migration.v2.MigrationWorkflow getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationWorkflow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationWorkflow(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationWorkflow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationWorkflow(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1917,6 +2163,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java index 4cfdd95..83506b3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationWorkflowOrBuilder.java @@ -1,59 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_entities.proto package com.google.cloud.bigquery.migration.v2; -public interface MigrationWorkflowOrBuilder extends +public interface MigrationWorkflowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationWorkflow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Immutable. The unique identifier for the migration workflow.
    * The ID is server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -64,6 +96,8 @@ public interface MigrationWorkflowOrBuilder extends
    */
   int getTasksCount();
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -72,15 +106,13 @@ public interface MigrationWorkflowOrBuilder extends
    *
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
-  boolean containsTasks(
-      java.lang.String key);
-  /**
-   * Use {@link #getTasksMap()} instead.
-   */
+  boolean containsTasks(java.lang.String key);
+  /** Use {@link #getTasksMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getTasks();
+  java.util.Map getTasks();
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -90,8 +122,10 @@ boolean containsTasks(
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
   java.util.Map
-  getTasksMap();
+      getTasksMap();
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -102,11 +136,13 @@ boolean containsTasks(
    */
 
   /* nullable */
-com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
+  com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue);
+      com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue);
   /**
+   *
+   *
    * 
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
@@ -115,48 +151,64 @@ com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
    *
    * map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
    */
-
-  com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(
-      java.lang.String key);
+  com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState(); /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the workflow was created.
    * 
@@ -166,24 +218,32 @@ com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Time when the workflow was last updated.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java index 1292e1c..242da11 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The potential components of a full name mapping that will be mapped
  * during translation in the source data warehouse.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingKey}
  */
-public final class NameMappingKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NameMappingKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.NameMappingKey)
     NameMappingKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NameMappingKey.newBuilder() to construct.
   private NameMappingKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NameMappingKey() {
     type_ = 0;
     database_ = "";
@@ -30,16 +48,15 @@ private NameMappingKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NameMappingKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NameMappingKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,43 +75,48 @@ private NameMappingKey(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            type_ = rawValue;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              type_ = rawValue;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            database_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              database_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            schema_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              schema_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            relation_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              relation_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            attribute_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              attribute_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,36 +124,41 @@ private NameMappingKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.NameMappingKey.class, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
+            com.google.cloud.bigquery.migration.v2.NameMappingKey.class,
+            com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the object that is being mapped.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.NameMappingKey.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified name mapping type.
      * 
@@ -140,6 +167,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * The object being mapped is a database.
      * 
@@ -148,6 +177,8 @@ public enum Type */ DATABASE(1), /** + * + * *
      * The object being mapped is a schema.
      * 
@@ -156,6 +187,8 @@ public enum Type */ SCHEMA(2), /** + * + * *
      * The object being mapped is a relation.
      * 
@@ -164,6 +197,8 @@ public enum Type */ RELATION(3), /** + * + * *
      * The object being mapped is an attribute.
      * 
@@ -172,6 +207,8 @@ public enum Type */ ATTRIBUTE(4), /** + * + * *
      * The object being mapped is a relation alias.
      * 
@@ -180,6 +217,8 @@ public enum Type */ RELATION_ALIAS(5), /** + * + * *
      * The object being mapped is a an attribute alias.
      * 
@@ -188,6 +227,8 @@ public enum Type */ ATTRIBUTE_ALIAS(6), /** + * + * *
      * The object being mapped is a function.
      * 
@@ -199,6 +240,8 @@ public enum Type ; /** + * + * *
      * Unspecified name mapping type.
      * 
@@ -207,6 +250,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The object being mapped is a database.
      * 
@@ -215,6 +260,8 @@ public enum Type */ public static final int DATABASE_VALUE = 1; /** + * + * *
      * The object being mapped is a schema.
      * 
@@ -223,6 +270,8 @@ public enum Type */ public static final int SCHEMA_VALUE = 2; /** + * + * *
      * The object being mapped is a relation.
      * 
@@ -231,6 +280,8 @@ public enum Type */ public static final int RELATION_VALUE = 3; /** + * + * *
      * The object being mapped is an attribute.
      * 
@@ -239,6 +290,8 @@ public enum Type */ public static final int ATTRIBUTE_VALUE = 4; /** + * + * *
      * The object being mapped is a relation alias.
      * 
@@ -247,6 +300,8 @@ public enum Type */ public static final int RELATION_ALIAS_VALUE = 5; /** + * + * *
      * The object being mapped is a an attribute alias.
      * 
@@ -255,6 +310,8 @@ public enum Type */ public static final int ATTRIBUTE_ALIAS_VALUE = 6; /** + * + * *
      * The object being mapped is a function.
      * 
@@ -263,7 +320,6 @@ public enum Type */ public static final int FUNCTION_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -288,54 +344,61 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return DATABASE; - case 2: return SCHEMA; - case 3: return RELATION; - case 4: return ATTRIBUTE; - case 5: return RELATION_ALIAS; - case 6: return ATTRIBUTE_ALIAS; - case 7: return FUNCTION; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return DATABASE; + case 2: + return SCHEMA; + case 3: + return RELATION; + case 4: + return ATTRIBUTE; + case 5: + return RELATION_ALIAS; + case 6: + return ATTRIBUTE_ALIAS; + case 7: + return FUNCTION; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.NameMappingKey.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.NameMappingKey.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -355,39 +418,53 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); - return result == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = + com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); + return result == null + ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED + : result; } public static final int DATABASE_FIELD_NUMBER = 2; private volatile java.lang.Object database_; /** + * + * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; + * * @return The database. */ @java.lang.Override @@ -396,30 +473,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -430,11 +507,14 @@ public java.lang.String getDatabase() { public static final int SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object schema_; /** + * + * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; + * * @return The schema. */ @java.lang.Override @@ -443,29 +523,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -476,12 +556,15 @@ public java.lang.String getSchema() { public static final int RELATION_FIELD_NUMBER = 4; private volatile java.lang.Object relation_; /** + * + * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; + * * @return The relation. */ @java.lang.Override @@ -490,30 +573,30 @@ public java.lang.String getRelation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; } } /** + * + * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; + * * @return The bytes for relation. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelationBytes() { + public com.google.protobuf.ByteString getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relation_ = b; return b; } else { @@ -524,12 +607,15 @@ public java.lang.String getRelation() { public static final int ATTRIBUTE_FIELD_NUMBER = 5; private volatile java.lang.Object attribute_; /** + * + * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; + * * @return The attribute. */ @java.lang.Override @@ -538,30 +624,30 @@ public java.lang.String getAttribute() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; } } /** + * + * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; + * * @return The bytes for attribute. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttributeBytes() { + public com.google.protobuf.ByteString getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attribute_ = b; return b; } else { @@ -570,6 +656,7 @@ public java.lang.String getAttribute() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,9 +668,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { @@ -607,9 +695,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); @@ -631,22 +720,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.NameMappingKey)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.NameMappingKey other = (com.google.cloud.bigquery.migration.v2.NameMappingKey) obj; + com.google.cloud.bigquery.migration.v2.NameMappingKey other = + (com.google.cloud.bigquery.migration.v2.NameMappingKey) obj; if (type_ != other.type_) return false; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getSchema() - .equals(other.getSchema())) return false; - if (!getRelation() - .equals(other.getRelation())) return false; - if (!getAttribute() - .equals(other.getAttribute())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getSchema().equals(other.getSchema())) return false; + if (!getRelation().equals(other.getRelation())) return false; + if (!getAttribute().equals(other.getAttribute())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -674,96 +760,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NameMappingKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.NameMappingKey prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.NameMappingKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The potential components of a full name mapping that will be mapped
    * during translation in the source data warehouse.
@@ -771,21 +865,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.NameMappingKey)
       com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.NameMappingKey.class, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
+              com.google.cloud.bigquery.migration.v2.NameMappingKey.class,
+              com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.NameMappingKey.newBuilder()
@@ -793,16 +889,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -820,9 +915,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
     }
 
     @java.lang.Override
@@ -841,7 +936,8 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKey build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.NameMappingKey buildPartial() {
-      com.google.cloud.bigquery.migration.v2.NameMappingKey result = new com.google.cloud.bigquery.migration.v2.NameMappingKey(this);
+      com.google.cloud.bigquery.migration.v2.NameMappingKey result =
+          new com.google.cloud.bigquery.migration.v2.NameMappingKey(this);
       result.type_ = type_;
       result.database_ = database_;
       result.schema_ = schema_;
@@ -855,38 +951,39 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.NameMappingKey) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingKey)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -894,7 +991,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.NameMappingKey other) {
-      if (other == com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance())
+        return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -933,7 +1031,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.NameMappingKey) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.NameMappingKey) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -945,51 +1044,67 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); - return result == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.NameMappingKey.Type result = + com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.valueOf(type_); + return result == null + ? com.google.cloud.bigquery.migration.v2.NameMappingKey.Type.UNRECOGNIZED + : result; } /** + * + * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -997,21 +1112,24 @@ public Builder setType(com.google.cloud.bigquery.migration.v2.NameMappingKey.Typ if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1019,19 +1137,21 @@ public Builder clearType() { private java.lang.Object database_ = ""; /** + * + * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1040,21 +1160,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -1062,57 +1183,64 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** + * + * *
      * The database name (BigQuery project ID equivalent in the source data
      * warehouse).
      * 
* * string database = 2; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -1120,18 +1248,20 @@ public Builder setDatabaseBytes( private java.lang.Object schema_ = ""; /** + * + * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -1140,20 +1270,21 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -1161,54 +1292,61 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; + * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the source data warehouse).
      * 
* * string schema = 3; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -1216,19 +1354,21 @@ public Builder setSchemaBytes( private java.lang.Object relation_ = ""; /** + * + * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; + * * @return The relation. */ public java.lang.String getRelation() { java.lang.Object ref = relation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; @@ -1237,21 +1377,22 @@ public java.lang.String getRelation() { } } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; + * * @return The bytes for relation. */ - public com.google.protobuf.ByteString - getRelationBytes() { + public com.google.protobuf.ByteString getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relation_ = b; return b; } else { @@ -1259,57 +1400,64 @@ public java.lang.String getRelation() { } } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; + * * @param value The relation to set. * @return This builder for chaining. */ - public Builder setRelation( - java.lang.String value) { + public Builder setRelation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relation_ = value; onChanged(); return this; } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; + * * @return This builder for chaining. */ public Builder clearRelation() { - + relation_ = getDefaultInstance().getRelation(); onChanged(); return this; } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the source data
      * warehouse).
      * 
* * string relation = 4; + * * @param value The bytes for relation to set. * @return This builder for chaining. */ - public Builder setRelationBytes( - com.google.protobuf.ByteString value) { + public Builder setRelationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relation_ = value; onChanged(); return this; @@ -1317,19 +1465,21 @@ public Builder setRelationBytes( private java.lang.Object attribute_ = ""; /** + * + * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; + * * @return The attribute. */ public java.lang.String getAttribute() { java.lang.Object ref = attribute_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; @@ -1338,21 +1488,22 @@ public java.lang.String getAttribute() { } } /** + * + * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; + * * @return The bytes for attribute. */ - public com.google.protobuf.ByteString - getAttributeBytes() { + public com.google.protobuf.ByteString getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attribute_ = b; return b; } else { @@ -1360,64 +1511,71 @@ public java.lang.String getAttribute() { } } /** + * + * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; + * * @param value The attribute to set. * @return This builder for chaining. */ - public Builder setAttribute( - java.lang.String value) { + public Builder setAttribute(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attribute_ = value; onChanged(); return this; } /** + * + * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; + * * @return This builder for chaining. */ public Builder clearAttribute() { - + attribute_ = getDefaultInstance().getAttribute(); onChanged(); return this; } /** + * + * *
      * The attribute name (BigQuery column equivalent in the source data
      * warehouse).
      * 
* * string attribute = 5; + * * @param value The bytes for attribute to set. * @return This builder for chaining. */ - public Builder setAttributeBytes( - com.google.protobuf.ByteString value) { + public Builder setAttributeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attribute_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1427,12 +1585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.NameMappingKey) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.NameMappingKey) private static final com.google.cloud.bigquery.migration.v2.NameMappingKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.NameMappingKey(); } @@ -1441,16 +1599,16 @@ public static com.google.cloud.bigquery.migration.v2.NameMappingKey getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NameMappingKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NameMappingKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NameMappingKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NameMappingKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1465,6 +1623,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.NameMappingKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java index 1ebe693..aaf3835 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingKeyOrBuilder.java @@ -1,114 +1,156 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface NameMappingKeyOrBuilder extends +public interface NameMappingKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NameMappingKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1; + * * @return The type. */ com.google.cloud.bigquery.migration.v2.NameMappingKey.Type getType(); /** + * + * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The database name (BigQuery project ID equivalent in the source data
    * warehouse).
    * 
* * string database = 2; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
    * The schema name (BigQuery dataset equivalent in the source data warehouse).
    * 
* * string schema = 3; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); /** + * + * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; + * * @return The relation. */ java.lang.String getRelation(); /** + * + * *
    * The relation name (BigQuery table or view equivalent in the source data
    * warehouse).
    * 
* * string relation = 4; + * * @return The bytes for relation. */ - com.google.protobuf.ByteString - getRelationBytes(); + com.google.protobuf.ByteString getRelationBytes(); /** + * + * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; + * * @return The attribute. */ java.lang.String getAttribute(); /** + * + * *
    * The attribute name (BigQuery column equivalent in the source data
    * warehouse).
    * 
* * string attribute = 5; + * * @return The bytes for attribute. */ - com.google.protobuf.ByteString - getAttributeBytes(); + com.google.protobuf.ByteString getAttributeBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java index c2681d1..8e76942 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The potential components of a full name mapping that will be mapped
  * during translation in the target data warehouse.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingValue}
  */
-public final class NameMappingValue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NameMappingValue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.NameMappingValue)
     NameMappingValueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NameMappingValue.newBuilder() to construct.
   private NameMappingValue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NameMappingValue() {
     database_ = "";
     schema_ = "";
@@ -29,16 +47,15 @@ private NameMappingValue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NameMappingValue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NameMappingValue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,37 +74,41 @@ private NameMappingValue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            database_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              database_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            schema_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              schema_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            relation_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              relation_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            attribute_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              attribute_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,35 +116,40 @@ private NameMappingValue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.NameMappingValue.class, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
+            com.google.cloud.bigquery.migration.v2.NameMappingValue.class,
+            com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
   private volatile java.lang.Object database_;
   /**
+   *
+   *
    * 
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; + * * @return The database. */ @java.lang.Override @@ -132,30 +158,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -166,11 +192,14 @@ public java.lang.String getDatabase() { public static final int SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object schema_; /** + * + * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; + * * @return The schema. */ @java.lang.Override @@ -179,29 +208,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -212,12 +241,15 @@ public java.lang.String getSchema() { public static final int RELATION_FIELD_NUMBER = 3; private volatile java.lang.Object relation_; /** + * + * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; + * * @return The relation. */ @java.lang.Override @@ -226,30 +258,30 @@ public java.lang.String getRelation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; } } /** + * + * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; + * * @return The bytes for relation. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelationBytes() { + public com.google.protobuf.ByteString getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relation_ = b; return b; } else { @@ -260,12 +292,15 @@ public java.lang.String getRelation() { public static final int ATTRIBUTE_FIELD_NUMBER = 4; private volatile java.lang.Object attribute_; /** + * + * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; + * * @return The attribute. */ @java.lang.Override @@ -274,30 +309,30 @@ public java.lang.String getAttribute() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; } } /** + * + * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; + * * @return The bytes for attribute. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttributeBytes() { + public com.google.protobuf.ByteString getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attribute_ = b; return b; } else { @@ -306,6 +341,7 @@ public java.lang.String getAttribute() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,8 +353,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -360,21 +395,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.NameMappingValue)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.NameMappingValue other = (com.google.cloud.bigquery.migration.v2.NameMappingValue) obj; - - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getSchema() - .equals(other.getSchema())) return false; - if (!getRelation() - .equals(other.getRelation())) return false; - if (!getAttribute() - .equals(other.getAttribute())) return false; + com.google.cloud.bigquery.migration.v2.NameMappingValue other = + (com.google.cloud.bigquery.migration.v2.NameMappingValue) obj; + + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getSchema().equals(other.getSchema())) return false; + if (!getRelation().equals(other.getRelation())) return false; + if (!getAttribute().equals(other.getAttribute())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -400,96 +432,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NameMappingValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.NameMappingValue prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.NameMappingValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The potential components of a full name mapping that will be mapped
    * during translation in the target data warehouse.
@@ -497,21 +537,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.NameMappingValue}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.NameMappingValue)
       com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.NameMappingValue.class, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
+              com.google.cloud.bigquery.migration.v2.NameMappingValue.class,
+              com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.NameMappingValue.newBuilder()
@@ -519,16 +561,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -544,9 +585,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
     }
 
     @java.lang.Override
@@ -565,7 +606,8 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValue build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.NameMappingValue buildPartial() {
-      com.google.cloud.bigquery.migration.v2.NameMappingValue result = new com.google.cloud.bigquery.migration.v2.NameMappingValue(this);
+      com.google.cloud.bigquery.migration.v2.NameMappingValue result =
+          new com.google.cloud.bigquery.migration.v2.NameMappingValue(this);
       result.database_ = database_;
       result.schema_ = schema_;
       result.relation_ = relation_;
@@ -578,38 +620,39 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValue buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.NameMappingValue) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingValue)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.NameMappingValue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -617,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.NameMappingValue other) {
-      if (other == com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance())
+        return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         onChanged();
@@ -653,7 +697,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.NameMappingValue) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.NameMappingValue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -665,19 +710,21 @@ public Builder mergeFrom(
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -686,21 +733,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -708,57 +756,64 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** + * + * *
      * The database name (BigQuery project ID equivalent in the target data
      * warehouse).
      * 
* * string database = 1; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -766,18 +821,20 @@ public Builder setDatabaseBytes( private java.lang.Object schema_ = ""; /** + * + * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -786,20 +843,21 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -807,54 +865,61 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; + * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** + * + * *
      * The schema name (BigQuery dataset equivalent in the target data warehouse).
      * 
* * string schema = 2; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -862,19 +927,21 @@ public Builder setSchemaBytes( private java.lang.Object relation_ = ""; /** + * + * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; + * * @return The relation. */ public java.lang.String getRelation() { java.lang.Object ref = relation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; @@ -883,21 +950,22 @@ public java.lang.String getRelation() { } } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; + * * @return The bytes for relation. */ - public com.google.protobuf.ByteString - getRelationBytes() { + public com.google.protobuf.ByteString getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relation_ = b; return b; } else { @@ -905,57 +973,64 @@ public java.lang.String getRelation() { } } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; + * * @param value The relation to set. * @return This builder for chaining. */ - public Builder setRelation( - java.lang.String value) { + public Builder setRelation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relation_ = value; onChanged(); return this; } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; + * * @return This builder for chaining. */ public Builder clearRelation() { - + relation_ = getDefaultInstance().getRelation(); onChanged(); return this; } /** + * + * *
      * The relation name (BigQuery table or view equivalent in the target data
      * warehouse).
      * 
* * string relation = 3; + * * @param value The bytes for relation to set. * @return This builder for chaining. */ - public Builder setRelationBytes( - com.google.protobuf.ByteString value) { + public Builder setRelationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relation_ = value; onChanged(); return this; @@ -963,19 +1038,21 @@ public Builder setRelationBytes( private java.lang.Object attribute_ = ""; /** + * + * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; + * * @return The attribute. */ public java.lang.String getAttribute() { java.lang.Object ref = attribute_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attribute_ = s; return s; @@ -984,21 +1061,22 @@ public java.lang.String getAttribute() { } } /** + * + * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; + * * @return The bytes for attribute. */ - public com.google.protobuf.ByteString - getAttributeBytes() { + public com.google.protobuf.ByteString getAttributeBytes() { java.lang.Object ref = attribute_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attribute_ = b; return b; } else { @@ -1006,64 +1084,71 @@ public java.lang.String getAttribute() { } } /** + * + * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; + * * @param value The attribute to set. * @return This builder for chaining. */ - public Builder setAttribute( - java.lang.String value) { + public Builder setAttribute(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attribute_ = value; onChanged(); return this; } /** + * + * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; + * * @return This builder for chaining. */ public Builder clearAttribute() { - + attribute_ = getDefaultInstance().getAttribute(); onChanged(); return this; } /** + * + * *
      * The attribute name (BigQuery column equivalent in the target data
      * warehouse).
      * 
* * string attribute = 4; + * * @param value The bytes for attribute to set. * @return This builder for chaining. */ - public Builder setAttributeBytes( - com.google.protobuf.ByteString value) { + public Builder setAttributeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attribute_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1073,12 +1158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.NameMappingValue) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.NameMappingValue) private static final com.google.cloud.bigquery.migration.v2.NameMappingValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.NameMappingValue(); } @@ -1087,16 +1172,16 @@ public static com.google.cloud.bigquery.migration.v2.NameMappingValue getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NameMappingValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NameMappingValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NameMappingValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NameMappingValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,6 +1196,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.NameMappingValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java index 6915b33..4086b85 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NameMappingValueOrBuilder.java @@ -1,95 +1,131 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface NameMappingValueOrBuilder extends +public interface NameMappingValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NameMappingValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The database name (BigQuery project ID equivalent in the target data
    * warehouse).
    * 
* * string database = 1; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
    * The schema name (BigQuery dataset equivalent in the target data warehouse).
    * 
* * string schema = 2; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); /** + * + * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; + * * @return The relation. */ java.lang.String getRelation(); /** + * + * *
    * The relation name (BigQuery table or view equivalent in the target data
    * warehouse).
    * 
* * string relation = 3; + * * @return The bytes for relation. */ - com.google.protobuf.ByteString - getRelationBytes(); + com.google.protobuf.ByteString getRelationBytes(); /** + * + * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; + * * @return The attribute. */ java.lang.String getAttribute(); /** + * + * *
    * The attribute name (BigQuery column equivalent in the target data
    * warehouse).
    * 
* * string attribute = 4; + * * @return The bytes for attribute. */ - com.google.protobuf.ByteString - getAttributeBytes(); + com.google.protobuf.ByteString getAttributeBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java index 16d227c..200372c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Netezza.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.NetezzaDialect} */ -public final class NetezzaDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NetezzaDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.NetezzaDialect) NetezzaDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetezzaDialect.newBuilder() to construct. private NetezzaDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetezzaDialect() { - } + + private NetezzaDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetezzaDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private NetezzaDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private NetezzaDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private NetezzaDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.NetezzaDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.NetezzaDialect other = (com.google.cloud.bigquery.migration.v2.NetezzaDialect) obj; + com.google.cloud.bigquery.migration.v2.NetezzaDialect other = + (com.google.cloud.bigquery.migration.v2.NetezzaDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.NetezzaDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.NetezzaDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.NetezzaDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Netezza.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.NetezzaDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.NetezzaDialect) com.google.cloud.bigquery.migration.v2.NetezzaDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.NetezzaDialect.class, + com.google.cloud.bigquery.migration.v2.NetezzaDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.NetezzaDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.NetezzaDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.NetezzaDialect result = new com.google.cloud.bigquery.migration.v2.NetezzaDialect(this); + com.google.cloud.bigquery.migration.v2.NetezzaDialect result = + new com.google.cloud.bigquery.migration.v2.NetezzaDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.NetezzaDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.NetezzaDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.NetezzaDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.NetezzaDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.NetezzaDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.NetezzaDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.NetezzaDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.NetezzaDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.NetezzaDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.NetezzaDialect) private static final com.google.cloud.bigquery.migration.v2.NetezzaDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.NetezzaDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.NetezzaDialect getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetezzaDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetezzaDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetezzaDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetezzaDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.NetezzaDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java new file mode 100644 index 0000000..62278fd --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface NetezzaDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NetezzaDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java index 889408f..0b8ac22 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMapping.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Represents a key-value pair of NameMappingKey to NameMappingValue to
  * represent the mapping of SQL names from the input value to desired output.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMapping}
  */
-public final class ObjectNameMapping extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ObjectNameMapping extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ObjectNameMapping)
     ObjectNameMappingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ObjectNameMapping.newBuilder() to construct.
   private ObjectNameMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ObjectNameMapping() {
-  }
+
+  private ObjectNameMapping() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ObjectNameMapping();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ObjectNameMapping(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,47 @@ private ObjectNameMapping(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder subBuilder = null;
-            if (source_ != null) {
-              subBuilder = source_.toBuilder();
-            }
-            source_ = input.readMessage(com.google.cloud.bigquery.migration.v2.NameMappingKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(source_);
-              source_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 18: {
-            com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder subBuilder = null;
-            if (target_ != null) {
-              subBuilder = target_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder subBuilder = null;
+              if (source_ != null) {
+                subBuilder = source_.toBuilder();
+              }
+              source_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.NameMappingKey.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(source_);
+                source_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            target_ = input.readMessage(com.google.cloud.bigquery.migration.v2.NameMappingValue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(target_);
-              target_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder subBuilder = null;
+              if (target_ != null) {
+                subBuilder = target_.toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.NameMappingValue.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(target_);
+                target_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,34 +117,39 @@ private ObjectNameMapping(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
+            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class,
+            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
   }
 
   public static final int SOURCE_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.migration.v2.NameMappingKey source_;
   /**
+   *
+   *
    * 
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; + * * @return Whether the source field is set. */ @java.lang.Override @@ -128,18 +157,25 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; + * * @return The source. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingKey getSource() { - return source_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() + : source_; } /** + * + * *
    * The name of the object in source that is being mapped.
    * 
@@ -154,11 +190,14 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO public static final int TARGET_FIELD_NUMBER = 2; private com.google.cloud.bigquery.migration.v2.NameMappingValue target_; /** + * + * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; + * * @return Whether the target field is set. */ @java.lang.Override @@ -166,18 +205,25 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; + * * @return The target. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.NameMappingValue getTarget() { - return target_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() + : target_; } /** + * + * *
    * The desired target name of the object that is being mapped.
    * 
@@ -190,6 +236,7 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder getTarge } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -219,12 +265,10 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTarget()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +278,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMapping)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ObjectNameMapping other = (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) obj; + com.google.cloud.bigquery.migration.v2.ObjectNameMapping other = + (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getTarget().equals(other.getTarget())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +319,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ObjectNameMapping prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ObjectNameMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a key-value pair of NameMappingKey to NameMappingValue to
    * represent the mapping of SQL names from the input value to desired output.
@@ -373,21 +424,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMapping}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ObjectNameMapping)
       com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
+              com.google.cloud.bigquery.migration.v2.ObjectNameMapping.class,
+              com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.ObjectNameMapping.newBuilder()
@@ -395,16 +448,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +476,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +497,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.ObjectNameMapping buildPartial() {
-      com.google.cloud.bigquery.migration.v2.ObjectNameMapping result = new com.google.cloud.bigquery.migration.v2.ObjectNameMapping(this);
+      com.google.cloud.bigquery.migration.v2.ObjectNameMapping result =
+          new com.google.cloud.bigquery.migration.v2.ObjectNameMapping(this);
       if (sourceBuilder_ == null) {
         result.source_ = source_;
       } else {
@@ -464,38 +517,39 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMapping) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMapping)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMapping) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ObjectNameMapping other) {
-      if (other == com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance())
+        return this;
       if (other.hasSource()) {
         mergeSource(other.getSource());
       }
@@ -529,7 +584,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.ObjectNameMapping) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -541,34 +597,47 @@ public Builder mergeFrom(
 
     private com.google.cloud.bigquery.migration.v2.NameMappingKey source_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2.NameMappingKey, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder> sourceBuilder_;
+            com.google.cloud.bigquery.migration.v2.NameMappingKey,
+            com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder,
+            com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder>
+        sourceBuilder_;
     /**
+     *
+     *
      * 
      * The name of the object in source that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; + * * @return The source. */ public com.google.cloud.bigquery.migration.v2.NameMappingKey getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -589,6 +658,8 @@ public Builder setSource(com.google.cloud.bigquery.migration.v2.NameMappingKey v return this; } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -607,6 +678,8 @@ public Builder setSource( return this; } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -617,7 +690,9 @@ public Builder mergeSource(com.google.cloud.bigquery.migration.v2.NameMappingKey if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.bigquery.migration.v2.NameMappingKey.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.NameMappingKey.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -629,6 +704,8 @@ public Builder mergeSource(com.google.cloud.bigquery.migration.v2.NameMappingKey return this; } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -647,6 +724,8 @@ public Builder clearSource() { return this; } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -654,11 +733,13 @@ public Builder clearSource() { * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; */ public com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -669,11 +750,14 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.bigquery.migration.v2.NameMappingKey.getDefaultInstance() + : source_; } } /** + * + * *
      * The name of the object in source that is being mapped.
      * 
@@ -681,14 +765,17 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingKey, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder> + com.google.cloud.bigquery.migration.v2.NameMappingKey, + com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, + com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingKey, com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.NameMappingKey, + com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder, + com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; @@ -696,34 +783,47 @@ public com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceO private com.google.cloud.bigquery.migration.v2.NameMappingValue target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingValue, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> targetBuilder_; + com.google.cloud.bigquery.migration.v2.NameMappingValue, + com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, + com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> + targetBuilder_; /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; + * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; + * * @return The target. */ public com.google.cloud.bigquery.migration.v2.NameMappingValue getTarget() { if (targetBuilder_ == null) { - return target_ == null ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() + : target_; } else { return targetBuilder_.getMessage(); } } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -744,6 +844,8 @@ public Builder setTarget(com.google.cloud.bigquery.migration.v2.NameMappingValue return this; } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -762,6 +864,8 @@ public Builder setTarget( return this; } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -772,7 +876,9 @@ public Builder mergeTarget(com.google.cloud.bigquery.migration.v2.NameMappingVal if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.bigquery.migration.v2.NameMappingValue.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.NameMappingValue.newBuilder(target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -784,6 +890,8 @@ public Builder mergeTarget(com.google.cloud.bigquery.migration.v2.NameMappingVal return this; } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -802,6 +910,8 @@ public Builder clearTarget() { return this; } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -809,11 +919,13 @@ public Builder clearTarget() { * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; */ public com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -824,11 +936,14 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder getTarge if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.bigquery.migration.v2.NameMappingValue.getDefaultInstance() + : target_; } } /** + * + * *
      * The desired target name of the object that is being mapped.
      * 
@@ -836,21 +951,24 @@ public com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder getTarge * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingValue, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> + com.google.cloud.bigquery.migration.v2.NameMappingValue, + com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, + com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.NameMappingValue, com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.NameMappingValue, + com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder, + com.google.cloud.bigquery.migration.v2.NameMappingValueOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ObjectNameMapping) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ObjectNameMapping) private static final com.google.cloud.bigquery.migration.v2.ObjectNameMapping DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ObjectNameMapping(); } @@ -874,16 +992,16 @@ public static com.google.cloud.bigquery.migration.v2.ObjectNameMapping getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectNameMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectNameMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectNameMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectNameMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ObjectNameMapping getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java index aaff01d..9519e2d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingList.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Represents a map of name mappings using a list of key:value proto messages of
  * existing name to desired output name.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMappingList}
  */
-public final class ObjectNameMappingList extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ObjectNameMappingList extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ObjectNameMappingList)
     ObjectNameMappingListOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ObjectNameMappingList.newBuilder() to construct.
   private ObjectNameMappingList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ObjectNameMappingList() {
     nameMap_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ObjectNameMappingList();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ObjectNameMappingList(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,22 +72,27 @@ private ObjectNameMappingList(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              nameMap_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                nameMap_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.bigquery.migration.v2.ObjectNameMapping>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              nameMap_.add(
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.ObjectNameMapping.parser(),
+                      extensionRegistry));
+              break;
             }
-            nameMap_.add(
-                input.readMessage(com.google.cloud.bigquery.migration.v2.ObjectNameMapping.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,8 +100,7 @@ private ObjectNameMappingList(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         nameMap_ = java.util.Collections.unmodifiableList(nameMap_);
@@ -88,22 +109,27 @@ private ObjectNameMappingList(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
+            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class,
+            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
   }
 
   public static final int NAME_MAP_FIELD_NUMBER = 1;
   private java.util.List nameMap_;
   /**
+   *
+   *
    * 
    * The elements of the object name map.
    * 
@@ -115,6 +141,8 @@ public java.util.List return nameMap_; } /** + * + * *
    * The elements of the object name map.
    * 
@@ -122,11 +150,13 @@ public java.util.List * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNameMapOrBuilderList() { return nameMap_; } /** + * + * *
    * The elements of the object name map.
    * 
@@ -138,6 +168,8 @@ public int getNameMapCount() { return nameMap_.size(); } /** + * + * *
    * The elements of the object name map.
    * 
@@ -149,6 +181,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping getNameMap(int i return nameMap_.get(index); } /** + * + * *
    * The elements of the object name map.
    * 
@@ -162,6 +196,7 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getName } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nameMap_.size(); i++) { output.writeMessage(1, nameMap_.get(i)); } @@ -188,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < nameMap_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nameMap_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nameMap_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -199,15 +232,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList other = (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) obj; + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList other = + (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) obj; - if (!getNameMapList() - .equals(other.getNameMapList())) return false; + if (!getNameMapList().equals(other.getNameMapList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,96 +262,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a map of name mappings using a list of key:value proto messages of
    * existing name to desired output name.
@@ -326,21 +367,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.ObjectNameMappingList}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ObjectNameMappingList)
       com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
+              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.class,
+              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.newBuilder()
@@ -348,17 +391,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getNameMapFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -372,13 +415,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance();
     }
 
@@ -393,7 +437,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList buildPartial() {
-      com.google.cloud.bigquery.migration.v2.ObjectNameMappingList result = new com.google.cloud.bigquery.migration.v2.ObjectNameMappingList(this);
+      com.google.cloud.bigquery.migration.v2.ObjectNameMappingList result =
+          new com.google.cloud.bigquery.migration.v2.ObjectNameMappingList(this);
       int from_bitField0_ = bitField0_;
       if (nameMapBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -412,38 +457,39 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,7 +497,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList other) {
-      if (other == com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance())
+        return this;
       if (nameMapBuilder_ == null) {
         if (!other.nameMap_.isEmpty()) {
           if (nameMap_.isEmpty()) {
@@ -470,9 +518,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ObjectNameMappin
             nameMapBuilder_ = null;
             nameMap_ = other.nameMap_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            nameMapBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNameMapFieldBuilder() : null;
+            nameMapBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNameMapFieldBuilder()
+                    : null;
           } else {
             nameMapBuilder_.addAllMessages(other.nameMap_);
           }
@@ -497,7 +546,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -506,28 +556,38 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List nameMap_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureNameMapIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        nameMap_ = new java.util.ArrayList(nameMap_);
+        nameMap_ =
+            new java.util.ArrayList(
+                nameMap_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2.ObjectNameMapping, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> nameMapBuilder_;
+            com.google.cloud.bigquery.migration.v2.ObjectNameMapping,
+            com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder,
+            com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>
+        nameMapBuilder_;
 
     /**
+     *
+     *
      * 
      * The elements of the object name map.
      * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - public java.util.List getNameMapList() { + public java.util.List + getNameMapList() { if (nameMapBuilder_ == null) { return java.util.Collections.unmodifiableList(nameMap_); } else { @@ -535,6 +595,8 @@ public java.util.List } } /** + * + * *
      * The elements of the object name map.
      * 
@@ -549,6 +611,8 @@ public int getNameMapCount() { } } /** + * + * *
      * The elements of the object name map.
      * 
@@ -563,6 +627,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping getNameMap(int i } } /** + * + * *
      * The elements of the object name map.
      * 
@@ -584,6 +650,8 @@ public Builder setNameMap( return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -591,7 +659,8 @@ public Builder setNameMap( * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public Builder setNameMap( - int index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { if (nameMapBuilder_ == null) { ensureNameMapIsMutable(); nameMap_.set(index, builderForValue.build()); @@ -602,6 +671,8 @@ public Builder setNameMap( return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -622,6 +693,8 @@ public Builder addNameMap(com.google.cloud.bigquery.migration.v2.ObjectNameMappi return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -643,6 +716,8 @@ public Builder addNameMap( return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -661,6 +736,8 @@ public Builder addNameMap( return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -668,7 +745,8 @@ public Builder addNameMap( * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public Builder addNameMap( - int index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder builderForValue) { if (nameMapBuilder_ == null) { ensureNameMapIsMutable(); nameMap_.add(index, builderForValue.build()); @@ -679,6 +757,8 @@ public Builder addNameMap( return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -686,11 +766,11 @@ public Builder addNameMap( * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public Builder addAllNameMap( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (nameMapBuilder_ == null) { ensureNameMapIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameMap_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameMap_); onChanged(); } else { nameMapBuilder_.addAllMessages(values); @@ -698,6 +778,8 @@ public Builder addAllNameMap( return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -715,6 +797,8 @@ public Builder clearNameMap() { return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -732,6 +816,8 @@ public Builder removeNameMap(int index) { return this; } /** + * + * *
      * The elements of the object name map.
      * 
@@ -743,6 +829,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder getNameM return getNameMapFieldBuilder().getBuilder(index); } /** + * + * *
      * The elements of the object name map.
      * 
@@ -752,19 +840,23 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder getNameM public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getNameMapOrBuilder( int index) { if (nameMapBuilder_ == null) { - return nameMap_.get(index); } else { + return nameMap_.get(index); + } else { return nameMapBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The elements of the object name map.
      * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - public java.util.List - getNameMapOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> + getNameMapOrBuilderList() { if (nameMapBuilder_ != null) { return nameMapBuilder_.getMessageOrBuilderList(); } else { @@ -772,6 +864,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getName } } /** + * + * *
      * The elements of the object name map.
      * 
@@ -779,10 +873,13 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getName * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder addNameMapBuilder() { - return getNameMapFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); + return getNameMapFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); } /** + * + * *
      * The elements of the object name map.
      * 
@@ -791,37 +888,43 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder addNameM */ public com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder addNameMapBuilder( int index) { - return getNameMapFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); + return getNameMapFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.getDefaultInstance()); } /** + * + * *
      * The elements of the object name map.
      * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - public java.util.List - getNameMapBuilderList() { + public java.util.List + getNameMapBuilderList() { return getNameMapFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMapping, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> + com.google.cloud.bigquery.migration.v2.ObjectNameMapping, + com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder> getNameMapFieldBuilder() { if (nameMapBuilder_ == null) { - nameMapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMapping, com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>( - nameMap_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + nameMapBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ObjectNameMapping, + com.google.cloud.bigquery.migration.v2.ObjectNameMapping.Builder, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>( + nameMap_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nameMap_ = null; } return nameMapBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -831,12 +934,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ObjectNameMappingList) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ObjectNameMappingList) - private static final com.google.cloud.bigquery.migration.v2.ObjectNameMappingList DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.ObjectNameMappingList + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ObjectNameMappingList(); } @@ -845,16 +949,16 @@ public static com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectNameMappingList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectNameMappingList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectNameMappingList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectNameMappingList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +973,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java index f2ae9b8..58a4cbb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingListOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface ObjectNameMappingListOrBuilder extends +public interface ObjectNameMappingListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ObjectNameMappingList) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The elements of the object name map.
    * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - java.util.List - getNameMapList(); + java.util.List getNameMapList(); /** + * + * *
    * The elements of the object name map.
    * 
@@ -25,6 +44,8 @@ public interface ObjectNameMappingListOrBuilder extends */ com.google.cloud.bigquery.migration.v2.ObjectNameMapping getNameMap(int index); /** + * + * *
    * The elements of the object name map.
    * 
@@ -33,21 +54,24 @@ public interface ObjectNameMappingListOrBuilder extends */ int getNameMapCount(); /** + * + * *
    * The elements of the object name map.
    * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - java.util.List + java.util.List getNameMapOrBuilderList(); /** + * + * *
    * The elements of the object name map.
    * 
* * repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1; */ - com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getNameMapOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder getNameMapOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java index c7dfed0..fed6a25 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ObjectNameMappingOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface ObjectNameMappingOrBuilder extends +public interface ObjectNameMappingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ObjectNameMapping) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
    * The name of the object in source that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingKey source = 1; + * * @return The source. */ com.google.cloud.bigquery.migration.v2.NameMappingKey getSource(); /** + * + * *
    * The name of the object in source that is being mapped.
    * 
@@ -35,24 +59,32 @@ public interface ObjectNameMappingOrBuilder extends com.google.cloud.bigquery.migration.v2.NameMappingKeyOrBuilder getSourceOrBuilder(); /** + * + * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * The desired target name of the object that is being mapped.
    * 
* * .google.cloud.bigquery.migration.v2.NameMappingValue target = 2; + * * @return The target. */ com.google.cloud.bigquery.migration.v2.NameMappingValue getTarget(); /** + * + * *
    * The desired target name of the object that is being mapped.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java index 6a6389a..c0bf481 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Oracle.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.OracleDialect} */ -public final class OracleDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OracleDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.OracleDialect) OracleDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OracleDialect.newBuilder() to construct. private OracleDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleDialect() { - } + + private OracleDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OracleDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OracleDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OracleDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OracleDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.OracleDialect.class, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.OracleDialect.class, + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.OracleDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.OracleDialect other = (com.google.cloud.bigquery.migration.v2.OracleDialect) obj; + com.google.cloud.bigquery.migration.v2.OracleDialect other = + (com.google.cloud.bigquery.migration.v2.OracleDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.OracleDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.OracleDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.OracleDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Oracle.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.OracleDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.OracleDialect) com.google.cloud.bigquery.migration.v2.OracleDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.OracleDialect.class, com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.OracleDialect.class, + com.google.cloud.bigquery.migration.v2.OracleDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.OracleDialect.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.OracleDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.OracleDialect result = new com.google.cloud.bigquery.migration.v2.OracleDialect(this); + com.google.cloud.bigquery.migration.v2.OracleDialect result = + new com.google.cloud.bigquery.migration.v2.OracleDialect(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.bigquery.migration.v2.OracleDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.OracleDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.OracleDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.OracleDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.OracleDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.OracleDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.OracleDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.OracleDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.OracleDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.OracleDialect) private static final com.google.cloud.bigquery.migration.v2.OracleDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.OracleDialect(); } @@ -400,16 +431,16 @@ public static com.google.cloud.bigquery.migration.v2.OracleDialect getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.OracleDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java new file mode 100644 index 0000000..e0a4cac --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface OracleDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.OracleDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java index 830d276..4f2a0cb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Point.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A single data point in a time series.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Point} */ -public final class Point extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Point extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.Point) PointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Point.newBuilder() to construct. private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Point() { - } + + private Point() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Point(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,47 @@ private Point( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.migration.v2.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = input.readMessage(com.google.cloud.bigquery.migration.v2.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.bigquery.migration.v2.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.TimeInterval.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.bigquery.migration.v2.TypedValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(com.google.cloud.bigquery.migration.v2.TypedValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.bigquery.migration.v2.TypedValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.TypedValue.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +116,33 @@ private Point( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Point.class, com.google.cloud.bigquery.migration.v2.Point.Builder.class); + com.google.cloud.bigquery.migration.v2.Point.class, + com.google.cloud.bigquery.migration.v2.Point.Builder.class); } public static final int INTERVAL_FIELD_NUMBER = 1; private com.google.cloud.bigquery.migration.v2.TimeInterval interval_; /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -128,6 +156,7 @@ private Point(
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ @java.lang.Override @@ -135,6 +164,8 @@ public boolean hasInterval() { return interval_ != null; } /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -148,13 +179,18 @@ public boolean hasInterval() {
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; + * * @return The interval. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TimeInterval getInterval() { - return interval_ == null ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() + : interval_; } /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -177,11 +213,14 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
   public static final int VALUE_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.migration.v2.TypedValue value_;
   /**
+   *
+   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -189,18 +228,25 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; + * * @return The value. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TypedValue getValue() { - return value_ == null ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() + : value_; } /** + * + * *
    * The value of the data point.
    * 
@@ -213,6 +259,7 @@ public com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder getValueOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (interval_ != null) { output.writeMessage(1, getInterval()); } @@ -242,12 +288,10 @@ public int getSerializedSize() { size = 0; if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInterval()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInterval()); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -257,22 +301,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.Point)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.Point other = (com.google.cloud.bigquery.migration.v2.Point) obj; + com.google.cloud.bigquery.migration.v2.Point other = + (com.google.cloud.bigquery.migration.v2.Point) obj; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval() - .equals(other.getInterval())) return false; + if (!getInterval().equals(other.getInterval())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -298,118 +341,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.migration.v2.Point parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.Point parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.Point parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.Point parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A single data point in a time series.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.Point} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.Point) com.google.cloud.bigquery.migration.v2.PointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.Point.class, com.google.cloud.bigquery.migration.v2.Point.Builder.class); + com.google.cloud.bigquery.migration.v2.Point.class, + com.google.cloud.bigquery.migration.v2.Point.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.Point.newBuilder() @@ -417,16 +469,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +497,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_Point_descriptor; } @java.lang.Override @@ -467,7 +518,8 @@ public com.google.cloud.bigquery.migration.v2.Point build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.Point buildPartial() { - com.google.cloud.bigquery.migration.v2.Point result = new com.google.cloud.bigquery.migration.v2.Point(this); + com.google.cloud.bigquery.migration.v2.Point result = + new com.google.cloud.bigquery.migration.v2.Point(this); if (intervalBuilder_ == null) { result.interval_ = interval_; } else { @@ -486,38 +538,39 @@ public com.google.cloud.bigquery.migration.v2.Point buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.Point) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.Point)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.Point) other); } else { super.mergeFrom(other); return this; @@ -563,8 +616,13 @@ public Builder mergeFrom( private com.google.cloud.bigquery.migration.v2.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TimeInterval, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder> intervalBuilder_; + com.google.cloud.bigquery.migration.v2.TimeInterval, + com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, + com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder> + intervalBuilder_; /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -578,12 +636,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -597,16 +658,21 @@ public boolean hasInterval() {
      * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; + * * @return The interval. */ public com.google.cloud.bigquery.migration.v2.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() + : interval_; } else { return intervalBuilder_.getMessage(); } } /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -635,6 +701,8 @@ public Builder setInterval(com.google.cloud.bigquery.migration.v2.TimeInterval v
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -661,6 +729,8 @@ public Builder setInterval(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -679,7 +749,9 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2.TimeInterval
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-            com.google.cloud.bigquery.migration.v2.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.migration.v2.TimeInterval.newBuilder(interval_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           interval_ = value;
         }
@@ -691,6 +763,8 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2.TimeInterval
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -717,6 +791,8 @@ public Builder clearInterval() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -732,11 +808,13 @@ public Builder clearInterval() {
      * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      */
     public com.google.cloud.bigquery.migration.v2.TimeInterval.Builder getIntervalBuilder() {
-      
+
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -755,11 +833,14 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null ?
-            com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance() : interval_;
+        return interval_ == null
+            ? com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance()
+            : interval_;
       }
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -775,14 +856,17 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
      * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2.TimeInterval, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder> 
+            com.google.cloud.bigquery.migration.v2.TimeInterval,
+            com.google.cloud.bigquery.migration.v2.TimeInterval.Builder,
+            com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder>
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2.TimeInterval, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder>(
-                getInterval(),
-                getParentForChildren(),
-                isClean());
+        intervalBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.migration.v2.TimeInterval,
+                com.google.cloud.bigquery.migration.v2.TimeInterval.Builder,
+                com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder>(
+                getInterval(), getParentForChildren(), isClean());
         interval_ = null;
       }
       return intervalBuilder_;
@@ -790,34 +874,47 @@ public com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalO
 
     private com.google.cloud.bigquery.migration.v2.TypedValue value_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2.TypedValue, com.google.cloud.bigquery.migration.v2.TypedValue.Builder, com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder> valueBuilder_;
+            com.google.cloud.bigquery.migration.v2.TypedValue,
+            com.google.cloud.bigquery.migration.v2.TypedValue.Builder,
+            com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder>
+        valueBuilder_;
     /**
+     *
+     *
      * 
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; + * * @return The value. */ public com.google.cloud.bigquery.migration.v2.TypedValue getValue() { if (valueBuilder_ == null) { - return value_ == null ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() + : value_; } else { return valueBuilder_.getMessage(); } } /** + * + * *
      * The value of the data point.
      * 
@@ -838,6 +935,8 @@ public Builder setValue(com.google.cloud.bigquery.migration.v2.TypedValue value) return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -856,6 +955,8 @@ public Builder setValue( return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -866,7 +967,9 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2.TypedValue valu if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.cloud.bigquery.migration.v2.TypedValue.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.TypedValue.newBuilder(value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -878,6 +981,8 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2.TypedValue valu return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -896,6 +1001,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -903,11 +1010,13 @@ public Builder clearValue() { * .google.cloud.bigquery.migration.v2.TypedValue value = 2; */ public com.google.cloud.bigquery.migration.v2.TypedValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * The value of the data point.
      * 
@@ -918,11 +1027,14 @@ public com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder getValueOrBuil if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance() + : value_; } } /** + * + * *
      * The value of the data point.
      * 
@@ -930,21 +1042,24 @@ public com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder getValueOrBuil * .google.cloud.bigquery.migration.v2.TypedValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TypedValue, com.google.cloud.bigquery.migration.v2.TypedValue.Builder, com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder> + com.google.cloud.bigquery.migration.v2.TypedValue, + com.google.cloud.bigquery.migration.v2.TypedValue.Builder, + com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.TypedValue, com.google.cloud.bigquery.migration.v2.TypedValue.Builder, com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.TypedValue, + com.google.cloud.bigquery.migration.v2.TypedValue.Builder, + com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +1069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.Point) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.Point) private static final com.google.cloud.bigquery.migration.v2.Point DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.Point(); } @@ -968,16 +1083,16 @@ public static com.google.cloud.bigquery.migration.v2.Point getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Point parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Point(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1107,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java index 6f3468f..ac1c1b9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PointOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface PointOrBuilder extends +public interface PointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.Point) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -21,10 +39,13 @@ public interface PointOrBuilder extends
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ boolean hasInterval(); /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -38,10 +59,13 @@ public interface PointOrBuilder extends
    * 
* * .google.cloud.bigquery.migration.v2.TimeInterval interval = 1; + * * @return The interval. */ com.google.cloud.bigquery.migration.v2.TimeInterval getInterval(); /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -59,24 +83,32 @@ public interface PointOrBuilder extends
   com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder getIntervalOrBuilder();
 
   /**
+   *
+   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2.TypedValue value = 2; + * * @return The value. */ com.google.cloud.bigquery.migration.v2.TypedValue getValue(); /** + * + * *
    * The value of the data point.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java index 125ae94..087b2b9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Postgresql.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.PostgresqlDialect} */ -public final class PostgresqlDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PostgresqlDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.PostgresqlDialect) PostgresqlDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostgresqlDialect.newBuilder() to construct. private PostgresqlDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PostgresqlDialect() { - } + + private PostgresqlDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostgresqlDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PostgresqlDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private PostgresqlDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private PostgresqlDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.PostgresqlDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.PostgresqlDialect other = (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) obj; + com.google.cloud.bigquery.migration.v2.PostgresqlDialect other = + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.PostgresqlDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Postgresql.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.PostgresqlDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.PostgresqlDialect) com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.PostgresqlDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.PostgresqlDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.PostgresqlDialect result = new com.google.cloud.bigquery.migration.v2.PostgresqlDialect(this); + com.google.cloud.bigquery.migration.v2.PostgresqlDialect result = + new com.google.cloud.bigquery.migration.v2.PostgresqlDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.PostgresqlDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.PostgresqlDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.PostgresqlDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.PostgresqlDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.PostgresqlDialect) private static final com.google.cloud.bigquery.migration.v2.PostgresqlDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.PostgresqlDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostgresqlDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PostgresqlDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java new file mode 100644 index 0000000..7088835 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface PostgresqlDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PostgresqlDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java index 699ac9c..40aa4eb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Presto.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.PrestoDialect} */ -public final class PrestoDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrestoDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.PrestoDialect) PrestoDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrestoDialect.newBuilder() to construct. private PrestoDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrestoDialect() { - } + + private PrestoDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrestoDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PrestoDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private PrestoDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private PrestoDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.PrestoDialect.class, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.PrestoDialect.class, + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.PrestoDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.PrestoDialect other = (com.google.cloud.bigquery.migration.v2.PrestoDialect) obj; + com.google.cloud.bigquery.migration.v2.PrestoDialect other = + (com.google.cloud.bigquery.migration.v2.PrestoDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.PrestoDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Presto.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.PrestoDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.PrestoDialect) com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.PrestoDialect.class, com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.PrestoDialect.class, + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.PrestoDialect.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.PrestoDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.PrestoDialect result = new com.google.cloud.bigquery.migration.v2.PrestoDialect(this); + com.google.cloud.bigquery.migration.v2.PrestoDialect result = + new com.google.cloud.bigquery.migration.v2.PrestoDialect(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.bigquery.migration.v2.PrestoDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.PrestoDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.PrestoDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.PrestoDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.PrestoDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.PrestoDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.PrestoDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.PrestoDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.PrestoDialect) private static final com.google.cloud.bigquery.migration.v2.PrestoDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.PrestoDialect(); } @@ -400,16 +431,16 @@ public static com.google.cloud.bigquery.migration.v2.PrestoDialect getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrestoDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrestoDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrestoDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrestoDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.PrestoDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java new file mode 100644 index 0000000..f0aad24 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface PrestoDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PrestoDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java index afdfd78..583c067 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Redshift.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.RedshiftDialect} */ -public final class RedshiftDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RedshiftDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.RedshiftDialect) RedshiftDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RedshiftDialect.newBuilder() to construct. private RedshiftDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RedshiftDialect() { - } + + private RedshiftDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RedshiftDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RedshiftDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private RedshiftDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private RedshiftDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.RedshiftDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.RedshiftDialect other = (com.google.cloud.bigquery.migration.v2.RedshiftDialect) obj; + com.google.cloud.bigquery.migration.v2.RedshiftDialect other = + (com.google.cloud.bigquery.migration.v2.RedshiftDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.RedshiftDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.RedshiftDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.RedshiftDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Redshift.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.RedshiftDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.RedshiftDialect) com.google.cloud.bigquery.migration.v2.RedshiftDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.RedshiftDialect.class, + com.google.cloud.bigquery.migration.v2.RedshiftDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.RedshiftDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.RedshiftDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.RedshiftDialect result = new com.google.cloud.bigquery.migration.v2.RedshiftDialect(this); + com.google.cloud.bigquery.migration.v2.RedshiftDialect result = + new com.google.cloud.bigquery.migration.v2.RedshiftDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.RedshiftDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.RedshiftDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.RedshiftDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.RedshiftDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.RedshiftDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.RedshiftDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.RedshiftDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.RedshiftDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.RedshiftDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.RedshiftDialect) private static final com.google.cloud.bigquery.migration.v2.RedshiftDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.RedshiftDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.RedshiftDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedshiftDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RedshiftDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedshiftDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RedshiftDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.RedshiftDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java new file mode 100644 index 0000000..25b6013 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface RedshiftDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.RedshiftDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java index ac011ec..6e4fe9a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetail.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Provides details for errors and the corresponding resources.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ResourceErrorDetail} */ -public final class ResourceErrorDetail extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceErrorDetail extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.ResourceErrorDetail) ResourceErrorDetailOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceErrorDetail.newBuilder() to construct. private ResourceErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceErrorDetail() { errorDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceErrorDetail(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResourceErrorDetail( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,46 @@ private ResourceErrorDetail( case 0: done = true; break; - case 10: { - com.google.rpc.ResourceInfo.Builder subBuilder = null; - if (resourceInfo_ != null) { - subBuilder = resourceInfo_.toBuilder(); + case 10: + { + com.google.rpc.ResourceInfo.Builder subBuilder = null; + if (resourceInfo_ != null) { + subBuilder = resourceInfo_.toBuilder(); + } + resourceInfo_ = + input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceInfo_); + resourceInfo_ = subBuilder.buildPartial(); + } + + break; } - resourceInfo_ = input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceInfo_); - resourceInfo_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorDetails_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + errorDetails_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2.ErrorDetail.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorDetails_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 24: + { + errorCount_ = input.readInt32(); + break; } - errorDetails_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2.ErrorDetail.parser(), extensionRegistry)); - break; - } - case 24: { - - errorCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,8 +118,7 @@ private ResourceErrorDetail( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorDetails_ = java.util.Collections.unmodifiableList(errorDetails_); @@ -105,27 +127,34 @@ private ResourceErrorDetail( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); } public static final int RESOURCE_INFO_FIELD_NUMBER = 1; private com.google.rpc.ResourceInfo resourceInfo_; /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceInfo field is set. */ @java.lang.Override @@ -133,11 +162,15 @@ public boolean hasResourceInfo() { return resourceInfo_ != null; } /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceInfo. */ @java.lang.Override @@ -145,11 +178,14 @@ public com.google.rpc.ResourceInfo getResourceInfo() { return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { @@ -159,56 +195,76 @@ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { public static final int ERROR_DETAILS_FIELD_NUMBER = 2; private java.util.List errorDetails_; /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getErrorDetailsList() { return errorDetails_; } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorDetailsOrBuilderList() { return errorDetails_; } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getErrorDetailsCount() { return errorDetails_.size(); } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int index) { return errorDetails_.get(index); } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder( @@ -219,6 +275,8 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetai public static final int ERROR_COUNT_FIELD_NUMBER = 3; private int errorCount_; /** + * + * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -226,6 +284,7 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetai
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ @java.lang.Override @@ -234,6 +293,7 @@ public int getErrorCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resourceInfo_ != null) { output.writeMessage(1, getResourceInfo()); } @@ -266,16 +325,13 @@ public int getSerializedSize() { size = 0; if (resourceInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResourceInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResourceInfo()); } for (int i = 0; i < errorDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errorDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errorDetails_.get(i)); } if (errorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, errorCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, errorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,22 +341,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.ResourceErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail other = (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) obj; + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail other = + (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) obj; if (hasResourceInfo() != other.hasResourceInfo()) return false; if (hasResourceInfo()) { - if (!getResourceInfo() - .equals(other.getResourceInfo())) return false; + if (!getResourceInfo().equals(other.getResourceInfo())) return false; } - if (!getErrorDetailsList() - .equals(other.getErrorDetailsList())) return false; - if (getErrorCount() - != other.getErrorCount()) return false; + if (!getErrorDetailsList().equals(other.getErrorDetailsList())) return false; + if (getErrorCount() != other.getErrorCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,117 +382,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Provides details for errors and the corresponding resources.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.ResourceErrorDetail} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.ResourceErrorDetail) com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.class, + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.newBuilder() @@ -446,17 +510,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getErrorDetailsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2_ResourceErrorDetail_descriptor; } @java.lang.Override @@ -499,7 +563,8 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail buildPartial() { - com.google.cloud.bigquery.migration.v2.ResourceErrorDetail result = new com.google.cloud.bigquery.migration.v2.ResourceErrorDetail(this); + com.google.cloud.bigquery.migration.v2.ResourceErrorDetail result = + new com.google.cloud.bigquery.migration.v2.ResourceErrorDetail(this); int from_bitField0_ = bitField0_; if (resourceInfoBuilder_ == null) { result.resourceInfo_ = resourceInfo_; @@ -524,38 +589,39 @@ public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.ResourceErrorDetail)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) other); } else { super.mergeFrom(other); return this; @@ -563,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ResourceErrorDetail other) { - if (other == com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.getDefaultInstance()) + return this; if (other.hasResourceInfo()) { mergeResourceInfo(other.getResourceInfo()); } @@ -585,9 +652,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.ResourceErrorDet errorDetailsBuilder_ = null; errorDetails_ = other.errorDetails_; bitField0_ = (bitField0_ & ~0x00000001); - errorDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorDetailsFieldBuilder() : null; + errorDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorDetailsFieldBuilder() + : null; } else { errorDetailsBuilder_.addAllMessages(other.errorDetails_); } @@ -615,7 +683,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.ResourceErrorDetail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,43 +693,60 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.rpc.ResourceInfo resourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> resourceInfoBuilder_; + com.google.rpc.ResourceInfo, + com.google.rpc.ResourceInfo.Builder, + com.google.rpc.ResourceInfoOrBuilder> + resourceInfoBuilder_; /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceInfo field is set. */ public boolean hasResourceInfo() { return resourceInfoBuilder_ != null || resourceInfo_ != null; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceInfo. */ public com.google.rpc.ResourceInfo getResourceInfo() { if (resourceInfoBuilder_ == null) { - return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; + return resourceInfo_ == null + ? com.google.rpc.ResourceInfo.getDefaultInstance() + : resourceInfo_; } else { return resourceInfoBuilder_.getMessage(); } } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { @@ -676,14 +762,16 @@ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setResourceInfo( - com.google.rpc.ResourceInfo.Builder builderForValue) { + public Builder setResourceInfo(com.google.rpc.ResourceInfo.Builder builderForValue) { if (resourceInfoBuilder_ == null) { resourceInfo_ = builderForValue.build(); onChanged(); @@ -694,17 +782,20 @@ public Builder setResourceInfo( return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { if (resourceInfo_ != null) { resourceInfo_ = - com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); } else { resourceInfo_ = value; } @@ -716,11 +807,14 @@ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResourceInfo() { if (resourceInfoBuilder_ == null) { @@ -734,73 +828,97 @@ public Builder clearResourceInfo() { return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.rpc.ResourceInfo.Builder getResourceInfoBuilder() { - + onChanged(); return getResourceInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { if (resourceInfoBuilder_ != null) { return resourceInfoBuilder_.getMessageOrBuilder(); } else { - return resourceInfo_ == null ? - com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; + return resourceInfo_ == null + ? com.google.rpc.ResourceInfo.getDefaultInstance() + : resourceInfo_; } } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> + com.google.rpc.ResourceInfo, + com.google.rpc.ResourceInfo.Builder, + com.google.rpc.ResourceInfoOrBuilder> getResourceInfoFieldBuilder() { if (resourceInfoBuilder_ == null) { - resourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder>( - getResourceInfo(), - getParentForChildren(), - isClean()); + resourceInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ResourceInfo, + com.google.rpc.ResourceInfo.Builder, + com.google.rpc.ResourceInfoOrBuilder>( + getResourceInfo(), getParentForChildren(), isClean()); resourceInfo_ = null; } return resourceInfoBuilder_; } private java.util.List errorDetails_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorDetails_ = new java.util.ArrayList(errorDetails_); + errorDetails_ = + new java.util.ArrayList( + errorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorDetail, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> errorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2.ErrorDetail, + com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> + errorDetailsBuilder_; /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getErrorDetailsList() { + public java.util.List + getErrorDetailsList() { if (errorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(errorDetails_); } else { @@ -808,11 +926,15 @@ public java.util.List getErr } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getErrorDetailsCount() { if (errorDetailsBuilder_ == null) { @@ -822,11 +944,15 @@ public int getErrorDetailsCount() { } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -836,11 +962,15 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int in } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail value) { @@ -857,11 +987,15 @@ public Builder setErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder builderForValue) { @@ -875,11 +1009,15 @@ public Builder setErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2.ErrorDetail value) { if (errorDetailsBuilder_ == null) { @@ -895,11 +1033,15 @@ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2.ErrorDetai return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail value) { @@ -916,11 +1058,15 @@ public Builder addErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails( com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder builderForValue) { @@ -934,11 +1080,15 @@ public Builder addErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails( int index, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder builderForValue) { @@ -952,18 +1102,21 @@ public Builder addErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllErrorDetails( java.lang.Iterable values) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorDetails_); onChanged(); } else { errorDetailsBuilder_.addAllMessages(values); @@ -971,11 +1124,15 @@ public Builder addAllErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearErrorDetails() { if (errorDetailsBuilder_ == null) { @@ -988,11 +1145,15 @@ public Builder clearErrorDetails() { return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -1005,39 +1166,52 @@ public Builder removeErrorDetails(int index) { return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder getErrorDetailsBuilder( int index) { return getErrorDetailsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder( int index) { if (errorDetailsBuilder_ == null) { - return errorDetails_.get(index); } else { + return errorDetails_.get(index); + } else { return errorDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getErrorDetailsOrBuilderList() { + public java.util.List + getErrorDetailsOrBuilderList() { if (errorDetailsBuilder_ != null) { return errorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,56 +1219,74 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetai } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder addErrorDetailsBuilder() { - return getErrorDetailsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); + return getErrorDetailsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder addErrorDetailsBuilder( int index) { - return getErrorDetailsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); + return getErrorDetailsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2.ErrorDetail.getDefaultInstance()); } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getErrorDetailsBuilderList() { + public java.util.List + getErrorDetailsBuilderList() { return getErrorDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorDetail, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2.ErrorDetail, + com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> getErrorDetailsFieldBuilder() { if (errorDetailsBuilder_ == null) { - errorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ErrorDetail, com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder>( - errorDetails_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + errorDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ErrorDetail, + com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder>( + errorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); errorDetails_ = null; } return errorDetailsBuilder_; } - private int errorCount_ ; + private int errorCount_; /** + * + * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1102,6 +1294,7 @@ public com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder addErrorDetail
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ @java.lang.Override @@ -1109,6 +1302,8 @@ public int getErrorCount() { return errorCount_; } /** + * + * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1116,16 +1311,19 @@ public int getErrorCount() {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The errorCount to set. * @return This builder for chaining. */ public Builder setErrorCount(int value) { - + errorCount_ = value; onChanged(); return this; } /** + * + * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1133,17 +1331,18 @@ public Builder setErrorCount(int value) {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearErrorCount() { - + errorCount_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.ResourceErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.ResourceErrorDetail) private static final com.google.cloud.bigquery.migration.v2.ResourceErrorDetail DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.ResourceErrorDetail(); } @@ -1167,16 +1366,16 @@ public static com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.ResourceErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java index 2945efc..398d807 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/ResourceErrorDetailOrBuilder.java @@ -1,84 +1,131 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_error_details.proto package com.google.cloud.bigquery.migration.v2; -public interface ResourceErrorDetailOrBuilder extends +public interface ResourceErrorDetailOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.ResourceErrorDetail) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceInfo field is set. */ boolean hasResourceInfo(); /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceInfo. */ com.google.rpc.ResourceInfo getResourceInfo(); /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getErrorDetailsList(); + java.util.List getErrorDetailsList(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.migration.v2.ErrorDetail getErrorDetails(int index); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getErrorDetailsCount(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getErrorDetailsOrBuilderList(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBuilder(int index); /** + * + * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -86,6 +133,7 @@ com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder getErrorDetailsOrBui
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ int getErrorCount(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java index be7a3cf..9df41f4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for SQL Server.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SQLServerDialect} */ -public final class SQLServerDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SQLServerDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SQLServerDialect) SQLServerDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SQLServerDialect.newBuilder() to construct. private SQLServerDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SQLServerDialect() { - } + + private SQLServerDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SQLServerDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SQLServerDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private SQLServerDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private SQLServerDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SQLServerDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SQLServerDialect other = (com.google.cloud.bigquery.migration.v2.SQLServerDialect) obj; + com.google.cloud.bigquery.migration.v2.SQLServerDialect other = + (com.google.cloud.bigquery.migration.v2.SQLServerDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SQLServerDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.SQLServerDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for SQL Server.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SQLServerDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SQLServerDialect) com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SQLServerDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.SQLServerDialect result = new com.google.cloud.bigquery.migration.v2.SQLServerDialect(this); + com.google.cloud.bigquery.migration.v2.SQLServerDialect result = + new com.google.cloud.bigquery.migration.v2.SQLServerDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SQLServerDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SQLServerDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SQLServerDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SQLServerDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.SQLServerDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.SQLServerDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SQLServerDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SQLServerDialect) private static final com.google.cloud.bigquery.migration.v2.SQLServerDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SQLServerDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.SQLServerDialect getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SQLServerDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SQLServerDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQLServerDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SQLServerDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SQLServerDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java new file mode 100644 index 0000000..3e4147e --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface SQLServerDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SQLServerDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java index d9703d6..be05dd2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Snowflake.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SnowflakeDialect} */ -public final class SnowflakeDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SnowflakeDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SnowflakeDialect) SnowflakeDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SnowflakeDialect.newBuilder() to construct. private SnowflakeDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SnowflakeDialect() { - } + + private SnowflakeDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SnowflakeDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SnowflakeDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private SnowflakeDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private SnowflakeDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SnowflakeDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SnowflakeDialect other = (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) obj; + com.google.cloud.bigquery.migration.v2.SnowflakeDialect other = + (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SnowflakeDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.SnowflakeDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Snowflake.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SnowflakeDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SnowflakeDialect) com.google.cloud.bigquery.migration.v2.SnowflakeDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.class, + com.google.cloud.bigquery.migration.v2.SnowflakeDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SnowflakeDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SnowflakeDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.SnowflakeDialect result = new com.google.cloud.bigquery.migration.v2.SnowflakeDialect(this); + com.google.cloud.bigquery.migration.v2.SnowflakeDialect result = + new com.google.cloud.bigquery.migration.v2.SnowflakeDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.SnowflakeDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SnowflakeDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SnowflakeDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SnowflakeDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SnowflakeDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.SnowflakeDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.SnowflakeDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SnowflakeDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SnowflakeDialect) private static final com.google.cloud.bigquery.migration.v2.SnowflakeDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SnowflakeDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.SnowflakeDialect getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnowflakeDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SnowflakeDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnowflakeDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SnowflakeDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SnowflakeDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java new file mode 100644 index 0000000..33e90dd --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface SnowflakeDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SnowflakeDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java index 8092ce8..bae4716 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnv.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * Represents the default source environment values for the translation.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SourceEnv} */ -public final class SourceEnv extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SourceEnv extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SourceEnv) SourceEnvOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourceEnv.newBuilder() to construct. private SourceEnv(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SourceEnv() { defaultDatabase_ = ""; schemaSearchPath_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private SourceEnv() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SourceEnv(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SourceEnv( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private SourceEnv( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultDatabase_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - schemaSearchPath_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + defaultDatabase_ = s; + break; } - schemaSearchPath_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + schemaSearchPath_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + schemaSearchPath_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private SourceEnv( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { schemaSearchPath_ = schemaSearchPath_.getUnmodifiableView(); @@ -94,28 +112,34 @@ private SourceEnv( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SourceEnv.class, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); + com.google.cloud.bigquery.migration.v2.SourceEnv.class, + com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); } public static final int DEFAULT_DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object defaultDatabase_; /** + * + * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; + * * @return The defaultDatabase. */ @java.lang.Override @@ -124,30 +148,30 @@ public java.lang.String getDefaultDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; } } /** + * + * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; + * * @return The bytes for defaultDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -158,37 +182,45 @@ public java.lang.String getDefaultDatabase() { public static final int SCHEMA_SEARCH_PATH_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList schemaSearchPath_; /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @return A list containing the schemaSearchPath. */ - public com.google.protobuf.ProtocolStringList - getSchemaSearchPathList() { + public com.google.protobuf.ProtocolStringList getSchemaSearchPathList() { return schemaSearchPath_; } /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @return The count of schemaSearchPath. */ public int getSchemaSearchPathCount() { return schemaSearchPath_.size(); } /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @param index The index of the element to return. * @return The schemaSearchPath at the given index. */ @@ -196,21 +228,24 @@ public java.lang.String getSchemaSearchPath(int index) { return schemaSearchPath_.get(index); } /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @param index The index of the value to return. * @return The bytes of the schemaSearchPath at the given index. */ - public com.google.protobuf.ByteString - getSchemaSearchPathBytes(int index) { + public com.google.protobuf.ByteString getSchemaSearchPathBytes(int index) { return schemaSearchPath_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultDatabase_); } @@ -258,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SourceEnv)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SourceEnv other = (com.google.cloud.bigquery.migration.v2.SourceEnv) obj; + com.google.cloud.bigquery.migration.v2.SourceEnv other = + (com.google.cloud.bigquery.migration.v2.SourceEnv) obj; - if (!getDefaultDatabase() - .equals(other.getDefaultDatabase())) return false; - if (!getSchemaSearchPathList() - .equals(other.getSchemaSearchPathList())) return false; + if (!getDefaultDatabase().equals(other.getDefaultDatabase())) return false; + if (!getSchemaSearchPathList().equals(other.getSchemaSearchPathList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,118 +324,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SourceEnv parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SourceEnv parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SourceEnv prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the default source environment values for the translation.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SourceEnv} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SourceEnv) com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SourceEnv.class, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); + com.google.cloud.bigquery.migration.v2.SourceEnv.class, + com.google.cloud.bigquery.migration.v2.SourceEnv.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SourceEnv.newBuilder() @@ -410,16 +452,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; } @java.lang.Override @@ -452,7 +493,8 @@ public com.google.cloud.bigquery.migration.v2.SourceEnv build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SourceEnv buildPartial() { - com.google.cloud.bigquery.migration.v2.SourceEnv result = new com.google.cloud.bigquery.migration.v2.SourceEnv(this); + com.google.cloud.bigquery.migration.v2.SourceEnv result = + new com.google.cloud.bigquery.migration.v2.SourceEnv(this); int from_bitField0_ = bitField0_; result.defaultDatabase_ = defaultDatabase_; if (((bitField0_ & 0x00000001) != 0)) { @@ -468,38 +510,39 @@ public com.google.cloud.bigquery.migration.v2.SourceEnv buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SourceEnv) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SourceEnv)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SourceEnv) other); } else { super.mergeFrom(other); return this; @@ -507,7 +550,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SourceEnv other) { - if (other == com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance()) + return this; if (!other.getDefaultDatabase().isEmpty()) { defaultDatabase_ = other.defaultDatabase_; onChanged(); @@ -550,23 +594,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object defaultDatabase_ = ""; /** + * + * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; + * * @return The defaultDatabase. */ public java.lang.String getDefaultDatabase() { java.lang.Object ref = defaultDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; @@ -575,21 +622,22 @@ public java.lang.String getDefaultDatabase() { } } /** + * + * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; + * * @return The bytes for defaultDatabase. */ - public com.google.protobuf.ByteString - getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -597,101 +645,118 @@ public java.lang.String getDefaultDatabase() { } } /** + * + * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; + * * @param value The defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabase( - java.lang.String value) { + public Builder setDefaultDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultDatabase_ = value; onChanged(); return this; } /** + * + * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; + * * @return This builder for chaining. */ public Builder clearDefaultDatabase() { - + defaultDatabase_ = getDefaultInstance().getDefaultDatabase(); onChanged(); return this; } /** + * + * *
      * The default database name to fully qualify SQL objects when their database
      * name is missing.
      * 
* * string default_database = 1; + * * @param value The bytes for defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultDatabase_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList schemaSearchPath_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList schemaSearchPath_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSchemaSearchPathIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { schemaSearchPath_ = new com.google.protobuf.LazyStringArrayList(schemaSearchPath_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @return A list containing the schemaSearchPath. */ - public com.google.protobuf.ProtocolStringList - getSchemaSearchPathList() { + public com.google.protobuf.ProtocolStringList getSchemaSearchPathList() { return schemaSearchPath_.getUnmodifiableView(); } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @return The count of schemaSearchPath. */ public int getSchemaSearchPathCount() { return schemaSearchPath_.size(); } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @param index The index of the element to return. * @return The schemaSearchPath at the given index. */ @@ -699,85 +764,95 @@ public java.lang.String getSchemaSearchPath(int index) { return schemaSearchPath_.get(index); } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @param index The index of the value to return. * @return The bytes of the schemaSearchPath at the given index. */ - public com.google.protobuf.ByteString - getSchemaSearchPathBytes(int index) { + public com.google.protobuf.ByteString getSchemaSearchPathBytes(int index) { return schemaSearchPath_.getByteString(index); } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @param index The index to set the value at. * @param value The schemaSearchPath to set. * @return This builder for chaining. */ - public Builder setSchemaSearchPath( - int index, java.lang.String value) { + public Builder setSchemaSearchPath(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSchemaSearchPathIsMutable(); + throw new NullPointerException(); + } + ensureSchemaSearchPathIsMutable(); schemaSearchPath_.set(index, value); onChanged(); return this; } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @param value The schemaSearchPath to add. * @return This builder for chaining. */ - public Builder addSchemaSearchPath( - java.lang.String value) { + public Builder addSchemaSearchPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSchemaSearchPathIsMutable(); + throw new NullPointerException(); + } + ensureSchemaSearchPathIsMutable(); schemaSearchPath_.add(value); onChanged(); return this; } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @param values The schemaSearchPath to add. * @return This builder for chaining. */ - public Builder addAllSchemaSearchPath( - java.lang.Iterable values) { + public Builder addAllSchemaSearchPath(java.lang.Iterable values) { ensureSchemaSearchPathIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, schemaSearchPath_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, schemaSearchPath_); onChanged(); return this; } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @return This builder for chaining. */ public Builder clearSchemaSearchPath() { @@ -787,29 +862,31 @@ public Builder clearSchemaSearchPath() { return this; } /** + * + * *
      * The schema search path. When SQL objects are missing schema name,
      * translation engine will search through this list to find the value.
      * 
* * repeated string schema_search_path = 2; + * * @param value The bytes of the schemaSearchPath to add. * @return This builder for chaining. */ - public Builder addSchemaSearchPathBytes( - com.google.protobuf.ByteString value) { + public Builder addSchemaSearchPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSchemaSearchPathIsMutable(); schemaSearchPath_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SourceEnv) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SourceEnv) private static final com.google.cloud.bigquery.migration.v2.SourceEnv DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SourceEnv(); } @@ -833,16 +910,16 @@ public static com.google.cloud.bigquery.migration.v2.SourceEnv getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourceEnv parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceEnv(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceEnv parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourceEnv(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +934,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SourceEnv getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java index 000d46f..3067621 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SourceEnvOrBuilder.java @@ -1,76 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface SourceEnvOrBuilder extends +public interface SourceEnvOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SourceEnv) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; + * * @return The defaultDatabase. */ java.lang.String getDefaultDatabase(); /** + * + * *
    * The default database name to fully qualify SQL objects when their database
    * name is missing.
    * 
* * string default_database = 1; + * * @return The bytes for defaultDatabase. */ - com.google.protobuf.ByteString - getDefaultDatabaseBytes(); + com.google.protobuf.ByteString getDefaultDatabaseBytes(); /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @return A list containing the schemaSearchPath. */ - java.util.List - getSchemaSearchPathList(); + java.util.List getSchemaSearchPathList(); /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @return The count of schemaSearchPath. */ int getSchemaSearchPathCount(); /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @param index The index of the element to return. * @return The schemaSearchPath at the given index. */ java.lang.String getSchemaSearchPath(int index); /** + * + * *
    * The schema search path. When SQL objects are missing schema name,
    * translation engine will search through this list to find the value.
    * 
* * repeated string schema_search_path = 2; + * * @param index The index of the value to return. * @return The bytes of the schemaSearchPath at the given index. */ - com.google.protobuf.ByteString - getSchemaSearchPathBytes(int index); + com.google.protobuf.ByteString getSchemaSearchPathBytes(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java index baede8c..e654ae3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for SparkSQL.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SparkSQLDialect} */ -public final class SparkSQLDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SparkSQLDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SparkSQLDialect) SparkSQLDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SparkSQLDialect.newBuilder() to construct. private SparkSQLDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SparkSQLDialect() { - } + + private SparkSQLDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SparkSQLDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SparkSQLDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private SparkSQLDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private SparkSQLDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.SparkSQLDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.SparkSQLDialect other = (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) obj; + com.google.cloud.bigquery.migration.v2.SparkSQLDialect other = + (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.SparkSQLDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.SparkSQLDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for SparkSQL.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.SparkSQLDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.SparkSQLDialect) com.google.cloud.bigquery.migration.v2.SparkSQLDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.class, + com.google.cloud.bigquery.migration.v2.SparkSQLDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.SparkSQLDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.SparkSQLDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.SparkSQLDialect result = new com.google.cloud.bigquery.migration.v2.SparkSQLDialect(this); + com.google.cloud.bigquery.migration.v2.SparkSQLDialect result = + new com.google.cloud.bigquery.migration.v2.SparkSQLDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.SparkSQLDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.SparkSQLDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.SparkSQLDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.SparkSQLDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.SparkSQLDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.SparkSQLDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.SparkSQLDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.SparkSQLDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.SparkSQLDialect) private static final com.google.cloud.bigquery.migration.v2.SparkSQLDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.SparkSQLDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.SparkSQLDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SparkSQLDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SparkSQLDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SparkSQLDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SparkSQLDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.SparkSQLDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java new file mode 100644 index 0000000..c514a14 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface SparkSQLDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SparkSQLDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java index 7d64220..b91ad90 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_service.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A request to start a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest} */ -public final class StartMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) StartMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartMigrationWorkflowRequest.newBuilder() to construct. private StartMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StartMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private StartMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private StartMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +233,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to start a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +381,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override @@ -364,7 +404,8 @@ public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest buil @java.lang.Override public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +415,51 @@ public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +483,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +497,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +522,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +547,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,30 +627,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +664,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..c308258 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/migration_service.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface StartMigrationWorkflowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java index 203e3de..e801b76 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialect.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Teradata.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TeradataDialect} */ -public final class TeradataDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TeradataDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TeradataDialect) TeradataDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TeradataDialect.newBuilder() to construct. private TeradataDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TeradataDialect() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TeradataDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TeradataDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private TeradataDialect( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + mode_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,41 @@ private TeradataDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TeradataDialect.class, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.TeradataDialect.class, + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); } /** + * + * *
    * The sub-dialect options for Teradata.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2.TeradataDialect.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified mode.
      * 
@@ -111,6 +134,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * Teradata SQL mode.
      * 
@@ -119,6 +144,8 @@ public enum Mode */ SQL(1), /** + * + * *
      * BTEQ mode (which includes SQL).
      * 
@@ -130,6 +157,8 @@ public enum Mode ; /** + * + * *
      * Unspecified mode.
      * 
@@ -138,6 +167,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Teradata SQL mode.
      * 
@@ -146,6 +177,8 @@ public enum Mode */ public static final int SQL_VALUE = 1; /** + * + * *
      * BTEQ mode (which includes SQL).
      * 
@@ -154,7 +187,6 @@ public enum Mode */ public static final int BTEQ_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -179,49 +211,51 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return SQL; - case 2: return BTEQ; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return SQL; + case 2: + return BTEQ; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TeradataDialect.getDescriptor() + .getEnumTypes() + .get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -241,31 +275,43 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** + * + * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return The mode. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); - return result == null ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = + com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,9 +323,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (mode_ != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (mode_ + != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, mode_); } unknownFields.writeTo(output); @@ -291,9 +338,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, mode_); + if (mode_ + != com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,12 +351,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TeradataDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TeradataDialect other = (com.google.cloud.bigquery.migration.v2.TeradataDialect) obj; + com.google.cloud.bigquery.migration.v2.TeradataDialect other = + (com.google.cloud.bigquery.migration.v2.TeradataDialect) obj; if (mode_ != other.mode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -330,117 +379,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TeradataDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TeradataDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.TeradataDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Teradata.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TeradataDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TeradataDialect) com.google.cloud.bigquery.migration.v2.TeradataDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TeradataDialect.class, com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.TeradataDialect.class, + com.google.cloud.bigquery.migration.v2.TeradataDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.TeradataDialect.newBuilder() @@ -448,16 +507,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; } @java.lang.Override @@ -488,7 +546,8 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.TeradataDialect result = new com.google.cloud.bigquery.migration.v2.TeradataDialect(this); + com.google.cloud.bigquery.migration.v2.TeradataDialect result = + new com.google.cloud.bigquery.migration.v2.TeradataDialect(this); result.mode_ = mode_; onBuilt(); return result; @@ -498,38 +557,39 @@ public com.google.cloud.bigquery.migration.v2.TeradataDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.TeradataDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.TeradataDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.TeradataDialect) other); } else { super.mergeFrom(other); return this; @@ -537,7 +597,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TeradataDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.TeradataDialect.getDefaultInstance()) + return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -560,7 +621,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.TeradataDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.TeradataDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -572,51 +634,67 @@ public Builder mergeFrom( private int mode_ = 0; /** + * + * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** + * + * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return The mode. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); - return result == null ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode result = + com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode.UNRECOGNIZED + : result; } /** + * + * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -624,28 +702,31 @@ public Builder setMode(com.google.cloud.bigquery.migration.v2.TeradataDialect.Mo if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Which Teradata sub-dialect mode the user specifies.
      * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -655,12 +736,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TeradataDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TeradataDialect) private static final com.google.cloud.bigquery.migration.v2.TeradataDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TeradataDialect(); } @@ -669,16 +750,16 @@ public static com.google.cloud.bigquery.migration.v2.TeradataDialect getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TeradataDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TeradataDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TeradataDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TeradataDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -693,6 +774,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TeradataDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java index 27bfd7d..bf63208 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TeradataDialectOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface TeradataDialectOrBuilder extends +public interface TeradataDialectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TeradataDialect) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Which Teradata sub-dialect mode the user specifies.
    * 
* * .google.cloud.bigquery.migration.v2.TeradataDialect.Mode mode = 1; + * * @return The mode. */ com.google.cloud.bigquery.migration.v2.TeradataDialect.Mode getMode(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java index d7e212c..9dba885 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeInterval.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A time interval extending just after a start time through an end time.
  * If the start time is the same as the end time, then the interval
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeInterval}
  */
-public final class TimeInterval extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimeInterval extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TimeInterval)
     TimeIntervalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimeInterval.newBuilder() to construct.
   private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TimeInterval() {
-  }
+
+  private TimeInterval() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeInterval();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimeInterval(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,43 @@ private TimeInterval(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,36 +114,42 @@ private TimeInterval(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
+        .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
+        .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.TimeInterval.class, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
+            com.google.cloud.bigquery.migration.v2.TimeInterval.class,
+            com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -131,13 +157,17 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ @java.lang.Override @@ -145,13 +175,16 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -161,11 +194,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -173,11 +209,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ @java.lang.Override @@ -185,6 +224,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Required. The end of the time interval.
    * 
@@ -197,6 +238,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -226,12 +267,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -241,22 +280,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TimeInterval)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TimeInterval other = (com.google.cloud.bigquery.migration.v2.TimeInterval) obj; + com.google.cloud.bigquery.migration.v2.TimeInterval other = + (com.google.cloud.bigquery.migration.v2.TimeInterval) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -283,96 +321,103 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeInterval parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TimeInterval parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TimeInterval prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A time interval extending just after a start time through an end time.
    * If the start time is the same as the end time, then the interval
@@ -381,21 +426,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeInterval}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TimeInterval)
       com.google.cloud.bigquery.migration.v2.TimeIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
+          .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
+          .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.TimeInterval.class, com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
+              com.google.cloud.bigquery.migration.v2.TimeInterval.class,
+              com.google.cloud.bigquery.migration.v2.TimeInterval.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.TimeInterval.newBuilder()
@@ -403,16 +450,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,9 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto
+          .internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor;
     }
 
     @java.lang.Override
@@ -453,7 +499,8 @@ public com.google.cloud.bigquery.migration.v2.TimeInterval build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.TimeInterval buildPartial() {
-      com.google.cloud.bigquery.migration.v2.TimeInterval result = new com.google.cloud.bigquery.migration.v2.TimeInterval(this);
+      com.google.cloud.bigquery.migration.v2.TimeInterval result =
+          new com.google.cloud.bigquery.migration.v2.TimeInterval(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -472,38 +519,39 @@ public com.google.cloud.bigquery.migration.v2.TimeInterval buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.TimeInterval) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeInterval)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeInterval) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TimeInterval other) {
-      if (other == com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2.TimeInterval.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -537,7 +586,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.TimeInterval) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.TimeInterval) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -549,28 +599,39 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -581,13 +642,16 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -603,16 +667,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -623,19 +689,22 @@ public Builder setStartTime( return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -647,13 +716,16 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -667,54 +739,65 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -722,24 +805,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -750,11 +844,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -770,14 +867,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -788,17 +887,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -810,11 +912,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -828,55 +933,66 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TimeInterval) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TimeInterval) private static final com.google.cloud.bigquery.migration.v2.TimeInterval DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TimeInterval(); } @@ -900,16 +1016,16 @@ public static com.google.cloud.bigquery.migration.v2.TimeInterval getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeInterval parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeInterval(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeInterval parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeInterval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,6 +1040,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TimeInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java index 737ce43..2b110bf 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeIntervalOrBuilder.java @@ -1,64 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface TimeIntervalOrBuilder extends +public interface TimeIntervalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TimeInterval) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Required. The end of the time interval.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java index 29fcc2b..8cd0c2e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeries.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The metrics object for a SubTask.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeSeries} */ -public final class TimeSeries extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TimeSeries) TimeSeriesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TimeSeries() { metric_ = ""; valueType_ = 0; @@ -28,16 +46,15 @@ private TimeSeries() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,40 +74,45 @@ private TimeSeries( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - metric_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + metric_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - valueType_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); + valueType_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); - metricKind_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + metricKind_ = rawValue; + break; } - points_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2.Point.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + points_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2.Point.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,8 +120,7 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -108,28 +129,34 @@ private TimeSeries( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TimeSeries.class, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2.TimeSeries.class, + com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); } public static final int METRIC_FIELD_NUMBER = 1; private volatile java.lang.Object metric_; /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The metric. */ @java.lang.Override @@ -138,30 +165,30 @@ public java.lang.String getMetric() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; } } /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for metric. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricBytes() { + public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metric_ = b; return b; } else { @@ -172,33 +199,48 @@ public java.lang.String getMetric() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_; /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The valueType. */ - @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override + public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int METRIC_KIND_FIELD_NUMBER = 3; private int metricKind_; /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -207,13 +249,19 @@ public java.lang.String getMetric() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -222,18 +270,25 @@ public java.lang.String getMetric() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metricKind. */ - @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override + public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int POINTS_FIELD_NUMBER = 4; private java.util.List points_; /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -244,13 +299,17 @@ public java.lang.String getMetric() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getPointsList() { return points_; } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -261,14 +320,18 @@ public java.util.List getPointsLis
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPointsOrBuilderList() { return points_; } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -279,13 +342,17 @@ public java.util.List getPointsLis
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -296,13 +363,17 @@ public int getPointsCount() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) { return points_.get(index); } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -313,15 +384,17 @@ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(int index) { return points_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,15 +406,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metric_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, valueType_); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { @@ -359,17 +433,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metric_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, valueType_); + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, metricKind_); + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, points_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, points_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,19 +452,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TimeSeries)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TimeSeries other = (com.google.cloud.bigquery.migration.v2.TimeSeries) obj; + com.google.cloud.bigquery.migration.v2.TimeSeries other = + (com.google.cloud.bigquery.migration.v2.TimeSeries) obj; - if (!getMetric() - .equals(other.getMetric())) return false; + if (!getMetric().equals(other.getMetric())) return false; if (valueType_ != other.valueType_) return false; if (metricKind_ != other.metricKind_) return false; - if (!getPointsList() - .equals(other.getPointsList())) return false; + if (!getPointsList().equals(other.getPointsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -419,117 +491,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TimeSeries parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metrics object for a SubTask.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TimeSeries} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TimeSeries) com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TimeSeries.class, com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2.TimeSeries.class, + com.google.cloud.bigquery.migration.v2.TimeSeries.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.TimeSeries.newBuilder() @@ -537,17 +618,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor; } @java.lang.Override @@ -588,7 +669,8 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.TimeSeries buildPartial() { - com.google.cloud.bigquery.migration.v2.TimeSeries result = new com.google.cloud.bigquery.migration.v2.TimeSeries(this); + com.google.cloud.bigquery.migration.v2.TimeSeries result = + new com.google.cloud.bigquery.migration.v2.TimeSeries(this); int from_bitField0_ = bitField0_; result.metric_ = metric_; result.valueType_ = valueType_; @@ -610,38 +692,39 @@ public com.google.cloud.bigquery.migration.v2.TimeSeries buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.TimeSeries) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeSeries)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.TimeSeries) other); } else { super.mergeFrom(other); return this; @@ -649,7 +732,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TimeSeries other) { - if (other == com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.TimeSeries.getDefaultInstance()) + return this; if (!other.getMetric().isEmpty()) { metric_ = other.metric_; onChanged(); @@ -678,9 +762,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TimeSeries other pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointsFieldBuilder() : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPointsFieldBuilder() + : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -705,7 +790,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.TimeSeries) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -714,23 +800,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object metric_ = ""; /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The metric. */ public java.lang.String getMetric() { java.lang.Object ref = metric_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; @@ -739,21 +828,22 @@ public java.lang.String getMetric() { } } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for metric. */ - public com.google.protobuf.ByteString - getMetricBytes() { + public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metric_ = b; return b; } else { @@ -761,57 +851,64 @@ public java.lang.String getMetric() { } } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The metric to set. * @return This builder for chaining. */ - public Builder setMetric( - java.lang.String value) { + public Builder setMetric(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metric_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMetric() { - + metric_ = getDefaultInstance().getMetric(); onChanged(); return this; } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for metric to set. * @return This builder for chaining. */ - public Builder setMetricBytes( - com.google.protobuf.ByteString value) { + public Builder setMetricBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metric_ = value; onChanged(); return this; @@ -819,51 +916,73 @@ public Builder setMetricBytes( private int valueType_ = 0; /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -871,21 +990,26 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; @@ -893,6 +1017,8 @@ public Builder clearValueType() { private int metricKind_ = 0; /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -901,13 +1027,19 @@ public Builder clearValueType() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -916,17 +1048,22 @@ public Builder clearValueType() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -935,16 +1072,22 @@ public Builder setMetricKindValue(int value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -953,7 +1096,10 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -961,12 +1107,14 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -975,29 +1123,38 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; } private java.util.List points_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Point, com.google.cloud.bigquery.migration.v2.Point.Builder, com.google.cloud.bigquery.migration.v2.PointOrBuilder> pointsBuilder_; + com.google.cloud.bigquery.migration.v2.Point, + com.google.cloud.bigquery.migration.v2.Point.Builder, + com.google.cloud.bigquery.migration.v2.PointOrBuilder> + pointsBuilder_; /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1008,7 +1165,9 @@ private void ensurePointsIsMutable() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getPointsList() { if (pointsBuilder_ == null) { @@ -1018,6 +1177,8 @@ public java.util.List getPointsLis } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1028,7 +1189,9 @@ public java.util.List getPointsLis
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getPointsCount() { if (pointsBuilder_ == null) { @@ -1038,6 +1201,8 @@ public int getPointsCount() { } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1048,7 +1213,9 @@ public int getPointsCount() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) { if (pointsBuilder_ == null) { @@ -1058,6 +1225,8 @@ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) { } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1068,10 +1237,11 @@ public com.google.cloud.bigquery.migration.v2.Point getPoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPoints( - int index, com.google.cloud.bigquery.migration.v2.Point value) { + public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1085,6 +1255,8 @@ public Builder setPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1095,7 +1267,9 @@ public Builder setPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPoints( int index, com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { @@ -1109,6 +1283,8 @@ public Builder setPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1119,7 +1295,9 @@ public Builder setPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point value) { if (pointsBuilder_ == null) { @@ -1135,6 +1313,8 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point value) { return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1145,10 +1325,11 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point value) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addPoints( - int index, com.google.cloud.bigquery.migration.v2.Point value) { + public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1162,6 +1343,8 @@ public Builder addPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1172,10 +1355,11 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addPoints( - com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { + public Builder addPoints(com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(builderForValue.build()); @@ -1186,6 +1370,8 @@ public Builder addPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1196,7 +1382,9 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPoints( int index, com.google.cloud.bigquery.migration.v2.Point.Builder builderForValue) { @@ -1210,6 +1398,8 @@ public Builder addPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1220,14 +1410,15 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllPoints( java.lang.Iterable values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, points_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); @@ -1235,6 +1426,8 @@ public Builder addAllPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1245,7 +1438,9 @@ public Builder addAllPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPoints() { if (pointsBuilder_ == null) { @@ -1258,6 +1453,8 @@ public Builder clearPoints() { return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1268,7 +1465,9 @@ public Builder clearPoints() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { @@ -1281,6 +1480,8 @@ public Builder removePoints(int index) { return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1291,13 +1492,16 @@ public Builder removePoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2.Point.Builder getPointsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.Point.Builder getPointsBuilder(int index) { return getPointsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1308,16 +1512,20 @@ public com.google.cloud.bigquery.migration.v2.Point.Builder getPointsBuilder(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(int index) { if (pointsBuilder_ == null) { - return points_.get(index); } else { + return points_.get(index); + } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1328,10 +1536,12 @@ public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPointsOrBuilderList() { + public java.util.List + getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { @@ -1339,6 +1549,8 @@ public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1349,13 +1561,17 @@ public com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder() { - return getPointsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); + return getPointsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1366,14 +1582,17 @@ public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder( - int index) { - return getPointsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder(int index) { + return getPointsFieldBuilder() + .addBuilder(index, com.google.cloud.bigquery.migration.v2.Point.getDefaultInstance()); } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1384,29 +1603,34 @@ public com.google.cloud.bigquery.migration.v2.Point.Builder addPointsBuilder(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPointsBuilderList() { + public java.util.List + getPointsBuilderList() { return getPointsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Point, com.google.cloud.bigquery.migration.v2.Point.Builder, com.google.cloud.bigquery.migration.v2.PointOrBuilder> + com.google.cloud.bigquery.migration.v2.Point, + com.google.cloud.bigquery.migration.v2.Point.Builder, + com.google.cloud.bigquery.migration.v2.PointOrBuilder> getPointsFieldBuilder() { if (pointsBuilder_ == null) { - pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Point, com.google.cloud.bigquery.migration.v2.Point.Builder, com.google.cloud.bigquery.migration.v2.PointOrBuilder>( - points_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + pointsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.Point, + com.google.cloud.bigquery.migration.v2.Point.Builder, + com.google.cloud.bigquery.migration.v2.PointOrBuilder>( + points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); points_ = null; } return pointsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1416,12 +1640,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TimeSeries) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TimeSeries) private static final com.google.cloud.bigquery.migration.v2.TimeSeries DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TimeSeries(); } @@ -1430,16 +1654,16 @@ public static com.google.cloud.bigquery.migration.v2.TimeSeries getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1454,6 +1678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java index f0f3d45..984b161 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TimeSeriesOrBuilder.java @@ -1,54 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface TimeSeriesOrBuilder extends +public interface TimeSeriesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TimeSeries) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The metric. */ java.lang.String getMetric(); /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for metric. */ - com.google.protobuf.ByteString - getMetricBytes(); + com.google.protobuf.ByteString getMetricBytes(); /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -57,11 +90,16 @@ public interface TimeSeriesOrBuilder extends
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -70,12 +108,17 @@ public interface TimeSeriesOrBuilder extends
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -86,11 +129,14 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getPointsList(); + java.util.List getPointsList(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -101,10 +147,14 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.migration.v2.Point getPoints(int index); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -115,10 +165,14 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getPointsCount(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -129,11 +183,15 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getPointsOrBuilderList(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -144,8 +202,9 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2.PointOrBuilder getPointsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java index 205934e..0541bc1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetails.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The translation config to capture necessary settings for a translation task
  * and subtask.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2.TranslationConfigDetails}
  */
-public final class TranslationConfigDetails extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TranslationConfigDetails extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TranslationConfigDetails)
     TranslationConfigDetailsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TranslationConfigDetails.newBuilder() to construct.
   private TranslationConfigDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TranslationConfigDetails() {
-  }
+
+  private TranslationConfigDetails() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TranslationConfigDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TranslationConfigDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,78 +69,98 @@ private TranslationConfigDetails(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-            sourceLocationCase_ = 1;
-            sourceLocation_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-            targetLocationCase_ = 2;
-            targetLocation_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
-            if (sourceDialect_ != null) {
-              subBuilder = sourceDialect_.toBuilder();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceLocationCase_ = 1;
+              sourceLocation_ = s;
+              break;
             }
-            sourceDialect_ = input.readMessage(com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sourceDialect_);
-              sourceDialect_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              targetLocationCase_ = 2;
+              targetLocation_ = s;
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
-            if (targetDialect_ != null) {
-              subBuilder = targetDialect_.toBuilder();
+          case 26:
+            {
+              com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
+              if (sourceDialect_ != null) {
+                subBuilder = sourceDialect_.toBuilder();
+              }
+              sourceDialect_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sourceDialect_);
+                sourceDialect_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            targetDialect_ = input.readMessage(com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(targetDialect_);
-              targetDialect_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.bigquery.migration.v2.Dialect.Builder subBuilder = null;
+              if (targetDialect_ != null) {
+                subBuilder = targetDialect_.toBuilder();
+              }
+              targetDialect_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.Dialect.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(targetDialect_);
+                targetDialect_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 42: {
-            com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder subBuilder = null;
-            if (outputNameMappingCase_ == 5) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_).toBuilder();
-            }
-            outputNameMapping_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_);
-              outputNameMapping_ = subBuilder.buildPartial();
-            }
-            outputNameMappingCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.bigquery.migration.v2.SourceEnv.Builder subBuilder = null;
-            if (sourceEnv_ != null) {
-              subBuilder = sourceEnv_.toBuilder();
+          case 42:
+            {
+              com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder subBuilder =
+                  null;
+              if (outputNameMappingCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)
+                            outputNameMapping_)
+                        .toBuilder();
+              }
+              outputNameMapping_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList)
+                        outputNameMapping_);
+                outputNameMapping_ = subBuilder.buildPartial();
+              }
+              outputNameMappingCase_ = 5;
+              break;
             }
-            sourceEnv_ = input.readMessage(com.google.cloud.bigquery.migration.v2.SourceEnv.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sourceEnv_);
-              sourceEnv_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.cloud.bigquery.migration.v2.SourceEnv.Builder subBuilder = null;
+              if (sourceEnv_ != null) {
+                subBuilder = sourceEnv_.toBuilder();
+              }
+              sourceEnv_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2.SourceEnv.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sourceEnv_);
+                sourceEnv_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,34 +168,39 @@ private TranslationConfigDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+        .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class,
+            com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
   }
 
   private int sourceLocationCase_ = 0;
   private java.lang.Object sourceLocation_;
+
   public enum SourceLocationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_SOURCE_PATH(1),
     SOURCELOCATION_NOT_SET(0);
     private final int value;
+
     private SourceLocationCase(int value) {
       this.value = value;
     }
@@ -175,30 +216,35 @@ public static SourceLocationCase valueOf(int value) {
 
     public static SourceLocationCase forNumber(int value) {
       switch (value) {
-        case 1: return GCS_SOURCE_PATH;
-        case 0: return SOURCELOCATION_NOT_SET;
-        default: return null;
+        case 1:
+          return GCS_SOURCE_PATH;
+        case 0:
+          return SOURCELOCATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceLocationCase
-  getSourceLocationCase() {
-    return SourceLocationCase.forNumber(
-        sourceLocationCase_);
+  public SourceLocationCase getSourceLocationCase() {
+    return SourceLocationCase.forNumber(sourceLocationCase_);
   }
 
   private int targetLocationCase_ = 0;
   private java.lang.Object targetLocation_;
+
   public enum TargetLocationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_TARGET_PATH(2),
     TARGETLOCATION_NOT_SET(0);
     private final int value;
+
     private TargetLocationCase(int value) {
       this.value = value;
     }
@@ -214,30 +260,35 @@ public static TargetLocationCase valueOf(int value) {
 
     public static TargetLocationCase forNumber(int value) {
       switch (value) {
-        case 2: return GCS_TARGET_PATH;
-        case 0: return TARGETLOCATION_NOT_SET;
-        default: return null;
+        case 2:
+          return GCS_TARGET_PATH;
+        case 0:
+          return TARGETLOCATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetLocationCase
-  getTargetLocationCase() {
-    return TargetLocationCase.forNumber(
-        targetLocationCase_);
+  public TargetLocationCase getTargetLocationCase() {
+    return TargetLocationCase.forNumber(targetLocationCase_);
   }
 
   private int outputNameMappingCase_ = 0;
   private java.lang.Object outputNameMapping_;
+
   public enum OutputNameMappingCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NAME_MAPPING_LIST(5),
     OUTPUTNAMEMAPPING_NOT_SET(0);
     private final int value;
+
     private OutputNameMappingCase(int value) {
       this.value = value;
     }
@@ -253,40 +304,48 @@ public static OutputNameMappingCase valueOf(int value) {
 
     public static OutputNameMappingCase forNumber(int value) {
       switch (value) {
-        case 5: return NAME_MAPPING_LIST;
-        case 0: return OUTPUTNAMEMAPPING_NOT_SET;
-        default: return null;
+        case 5:
+          return NAME_MAPPING_LIST;
+        case 0:
+          return OUTPUTNAMEMAPPING_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public OutputNameMappingCase
-  getOutputNameMappingCase() {
-    return OutputNameMappingCase.forNumber(
-        outputNameMappingCase_);
+  public OutputNameMappingCase getOutputNameMappingCase() {
+    return OutputNameMappingCase.forNumber(outputNameMappingCase_);
   }
 
   public static final int GCS_SOURCE_PATH_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; + * * @return Whether the gcsSourcePath field is set. */ public boolean hasGcsSourcePath() { return sourceLocationCase_ == 1; } /** + * + * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; + * * @return The gcsSourcePath. */ public java.lang.String getGcsSourcePath() { @@ -297,8 +356,7 @@ public java.lang.String getGcsSourcePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceLocationCase_ == 1) { sourceLocation_ = s; @@ -307,23 +365,24 @@ public java.lang.String getGcsSourcePath() { } } /** + * + * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; + * * @return The bytes for gcsSourcePath. */ - public com.google.protobuf.ByteString - getGcsSourcePathBytes() { + public com.google.protobuf.ByteString getGcsSourcePathBytes() { java.lang.Object ref = ""; if (sourceLocationCase_ == 1) { ref = sourceLocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceLocationCase_ == 1) { sourceLocation_ = b; } @@ -335,22 +394,28 @@ public java.lang.String getGcsSourcePath() { public static final int GCS_TARGET_PATH_FIELD_NUMBER = 2; /** + * + * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; + * * @return Whether the gcsTargetPath field is set. */ public boolean hasGcsTargetPath() { return targetLocationCase_ == 2; } /** + * + * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; + * * @return The gcsTargetPath. */ public java.lang.String getGcsTargetPath() { @@ -361,8 +426,7 @@ public java.lang.String getGcsTargetPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetLocationCase_ == 2) { targetLocation_ = s; @@ -371,23 +435,24 @@ public java.lang.String getGcsTargetPath() { } } /** + * + * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; + * * @return The bytes for gcsTargetPath. */ - public com.google.protobuf.ByteString - getGcsTargetPathBytes() { + public com.google.protobuf.ByteString getGcsTargetPathBytes() { java.lang.Object ref = ""; if (targetLocationCase_ == 2) { ref = targetLocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (targetLocationCase_ == 2) { targetLocation_ = b; } @@ -400,11 +465,14 @@ public java.lang.String getGcsTargetPath() { public static final int SOURCE_DIALECT_FIELD_NUMBER = 3; private com.google.cloud.bigquery.migration.v2.Dialect sourceDialect_; /** + * + * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; + * * @return Whether the sourceDialect field is set. */ @java.lang.Override @@ -412,18 +480,25 @@ public boolean hasSourceDialect() { return sourceDialect_ != null; } /** + * + * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; + * * @return The sourceDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.Dialect getSourceDialect() { - return sourceDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : sourceDialect_; + return sourceDialect_ == null + ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() + : sourceDialect_; } /** + * + * *
    * The dialect of the input files.
    * 
@@ -438,11 +513,14 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO public static final int TARGET_DIALECT_FIELD_NUMBER = 4; private com.google.cloud.bigquery.migration.v2.Dialect targetDialect_; /** + * + * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; + * * @return Whether the targetDialect field is set. */ @java.lang.Override @@ -450,18 +528,25 @@ public boolean hasTargetDialect() { return targetDialect_ != null; } /** + * + * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; + * * @return The targetDialect. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.Dialect getTargetDialect() { - return targetDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : targetDialect_; + return targetDialect_ == null + ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() + : targetDialect_; } /** + * + * *
    * The target dialect for the engine to translate the input to.
    * 
@@ -475,11 +560,14 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectO public static final int NAME_MAPPING_LIST_FIELD_NUMBER = 5; /** + * + * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; + * * @return Whether the nameMappingList field is set. */ @java.lang.Override @@ -487,21 +575,26 @@ public boolean hasNameMappingList() { return outputNameMappingCase_ == 5; } /** + * + * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; + * * @return The nameMappingList. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappingList() { if (outputNameMappingCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; + return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; } return com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); } /** + * + * *
    * The mapping of objects to their desired output names in list form.
    * 
@@ -509,9 +602,10 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappi * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder getNameMappingListOrBuilder() { + public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder + getNameMappingListOrBuilder() { if (outputNameMappingCase_ == 5) { - return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; + return (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_; } return com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); } @@ -519,11 +613,14 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder get public static final int SOURCE_ENV_FIELD_NUMBER = 6; private com.google.cloud.bigquery.migration.v2.SourceEnv sourceEnv_; /** + * + * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; + * * @return Whether the sourceEnv field is set. */ @java.lang.Override @@ -531,18 +628,25 @@ public boolean hasSourceEnv() { return sourceEnv_ != null; } /** + * + * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; + * * @return The sourceEnv. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2.SourceEnv getSourceEnv() { - return sourceEnv_ == null ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() : sourceEnv_; + return sourceEnv_ == null + ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() + : sourceEnv_; } /** + * + * *
    * The default source environment values for the translation.
    * 
@@ -555,6 +659,7 @@ public com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -566,8 +671,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sourceLocationCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceLocation_); } @@ -581,7 +685,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(4, getTargetDialect()); } if (outputNameMappingCase_ == 5) { - output.writeMessage(5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); + output.writeMessage( + 5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); } if (sourceEnv_ != null) { output.writeMessage(6, getSourceEnv()); @@ -602,20 +707,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetLocation_); } if (sourceDialect_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSourceDialect()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSourceDialect()); } if (targetDialect_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTargetDialect()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTargetDialect()); } if (outputNameMappingCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_); } if (sourceEnv_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getSourceEnv()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSourceEnv()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -625,33 +728,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TranslationConfigDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other = (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) obj; + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other = + (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) obj; if (hasSourceDialect() != other.hasSourceDialect()) return false; if (hasSourceDialect()) { - if (!getSourceDialect() - .equals(other.getSourceDialect())) return false; + if (!getSourceDialect().equals(other.getSourceDialect())) return false; } if (hasTargetDialect() != other.hasTargetDialect()) return false; if (hasTargetDialect()) { - if (!getTargetDialect() - .equals(other.getTargetDialect())) return false; + if (!getTargetDialect().equals(other.getTargetDialect())) return false; } if (hasSourceEnv() != other.hasSourceEnv()) return false; if (hasSourceEnv()) { - if (!getSourceEnv() - .equals(other.getSourceEnv())) return false; + if (!getSourceEnv().equals(other.getSourceEnv())) return false; } if (!getSourceLocationCase().equals(other.getSourceLocationCase())) return false; switch (sourceLocationCase_) { case 1: - if (!getGcsSourcePath() - .equals(other.getGcsSourcePath())) return false; + if (!getGcsSourcePath().equals(other.getGcsSourcePath())) return false; break; case 0: default: @@ -659,8 +759,7 @@ public boolean equals(final java.lang.Object obj) { if (!getTargetLocationCase().equals(other.getTargetLocationCase())) return false; switch (targetLocationCase_) { case 2: - if (!getGcsTargetPath() - .equals(other.getGcsTargetPath())) return false; + if (!getGcsTargetPath().equals(other.getGcsTargetPath())) return false; break; case 0: default: @@ -668,8 +767,7 @@ public boolean equals(final java.lang.Object obj) { if (!getOutputNameMappingCase().equals(other.getOutputNameMappingCase())) return false; switch (outputNameMappingCase_) { case 5: - if (!getNameMappingList() - .equals(other.getNameMappingList())) return false; + if (!getNameMappingList().equals(other.getNameMappingList())) return false; break; case 0: default: @@ -727,96 +825,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.TranslationConfigDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The translation config to capture necessary settings for a translation task
    * and subtask.
@@ -824,21 +930,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2.TranslationConfigDetails}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TranslationConfigDetails)
       com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class, com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
+              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.class,
+              com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.newBuilder()
@@ -846,16 +954,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -887,13 +994,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2.TranslationConfigProto
+          .internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance();
     }
 
@@ -908,7 +1016,8 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails buildPartial() {
-      com.google.cloud.bigquery.migration.v2.TranslationConfigDetails result = new com.google.cloud.bigquery.migration.v2.TranslationConfigDetails(this);
+      com.google.cloud.bigquery.migration.v2.TranslationConfigDetails result =
+          new com.google.cloud.bigquery.migration.v2.TranslationConfigDetails(this);
       if (sourceLocationCase_ == 1) {
         result.sourceLocation_ = sourceLocation_;
       }
@@ -948,46 +1057,50 @@ public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other) {
-      if (other == com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.migration.v2.TranslationConfigDetails other) {
+      if (other
+          == com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.getDefaultInstance())
+        return this;
       if (other.hasSourceDialect()) {
         mergeSourceDialect(other.getSourceDialect());
       }
@@ -998,35 +1111,41 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TranslationConfi
         mergeSourceEnv(other.getSourceEnv());
       }
       switch (other.getSourceLocationCase()) {
-        case GCS_SOURCE_PATH: {
-          sourceLocationCase_ = 1;
-          sourceLocation_ = other.sourceLocation_;
-          onChanged();
-          break;
-        }
-        case SOURCELOCATION_NOT_SET: {
-          break;
-        }
+        case GCS_SOURCE_PATH:
+          {
+            sourceLocationCase_ = 1;
+            sourceLocation_ = other.sourceLocation_;
+            onChanged();
+            break;
+          }
+        case SOURCELOCATION_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getTargetLocationCase()) {
-        case GCS_TARGET_PATH: {
-          targetLocationCase_ = 2;
-          targetLocation_ = other.targetLocation_;
-          onChanged();
-          break;
-        }
-        case TARGETLOCATION_NOT_SET: {
-          break;
-        }
+        case GCS_TARGET_PATH:
+          {
+            targetLocationCase_ = 2;
+            targetLocation_ = other.targetLocation_;
+            onChanged();
+            break;
+          }
+        case TARGETLOCATION_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getOutputNameMappingCase()) {
-        case NAME_MAPPING_LIST: {
-          mergeNameMappingList(other.getNameMappingList());
-          break;
-        }
-        case OUTPUTNAMEMAPPING_NOT_SET: {
-          break;
-        }
+        case NAME_MAPPING_LIST:
+          {
+            mergeNameMappingList(other.getNameMappingList());
+            break;
+          }
+        case OUTPUTNAMEMAPPING_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1047,7 +1166,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2.TranslationConfigDetails)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1056,12 +1177,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int sourceLocationCase_ = 0;
     private java.lang.Object sourceLocation_;
-    public SourceLocationCase
-        getSourceLocationCase() {
-      return SourceLocationCase.forNumber(
-          sourceLocationCase_);
+
+    public SourceLocationCase getSourceLocationCase() {
+      return SourceLocationCase.forNumber(sourceLocationCase_);
     }
 
     public Builder clearSourceLocation() {
@@ -1073,10 +1194,9 @@ public Builder clearSourceLocation() {
 
     private int targetLocationCase_ = 0;
     private java.lang.Object targetLocation_;
-    public TargetLocationCase
-        getTargetLocationCase() {
-      return TargetLocationCase.forNumber(
-          targetLocationCase_);
+
+    public TargetLocationCase getTargetLocationCase() {
+      return TargetLocationCase.forNumber(targetLocationCase_);
     }
 
     public Builder clearTargetLocation() {
@@ -1088,10 +1208,9 @@ public Builder clearTargetLocation() {
 
     private int outputNameMappingCase_ = 0;
     private java.lang.Object outputNameMapping_;
-    public OutputNameMappingCase
-        getOutputNameMappingCase() {
-      return OutputNameMappingCase.forNumber(
-          outputNameMappingCase_);
+
+    public OutputNameMappingCase getOutputNameMappingCase() {
+      return OutputNameMappingCase.forNumber(outputNameMappingCase_);
     }
 
     public Builder clearOutputNameMapping() {
@@ -1101,13 +1220,15 @@ public Builder clearOutputNameMapping() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; + * * @return Whether the gcsSourcePath field is set. */ @java.lang.Override @@ -1115,11 +1236,14 @@ public boolean hasGcsSourcePath() { return sourceLocationCase_ == 1; } /** + * + * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; + * * @return The gcsSourcePath. */ @java.lang.Override @@ -1129,8 +1253,7 @@ public java.lang.String getGcsSourcePath() { ref = sourceLocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceLocationCase_ == 1) { sourceLocation_ = s; @@ -1141,24 +1264,25 @@ public java.lang.String getGcsSourcePath() { } } /** + * + * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; + * * @return The bytes for gcsSourcePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcsSourcePathBytes() { + public com.google.protobuf.ByteString getGcsSourcePathBytes() { java.lang.Object ref = ""; if (sourceLocationCase_ == 1) { ref = sourceLocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceLocationCase_ == 1) { sourceLocation_ = b; } @@ -1168,30 +1292,35 @@ public java.lang.String getGcsSourcePath() { } } /** + * + * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; + * * @param value The gcsSourcePath to set. * @return This builder for chaining. */ - public Builder setGcsSourcePath( - java.lang.String value) { + public Builder setGcsSourcePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceLocationCase_ = 1; + throw new NullPointerException(); + } + sourceLocationCase_ = 1; sourceLocation_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; + * * @return This builder for chaining. */ public Builder clearGcsSourcePath() { @@ -1203,20 +1332,22 @@ public Builder clearGcsSourcePath() { return this; } /** + * + * *
      * The Cloud Storage path for a directory of files to translate in a task.
      * 
* * string gcs_source_path = 1; + * * @param value The bytes for gcsSourcePath to set. * @return This builder for chaining. */ - public Builder setGcsSourcePathBytes( - com.google.protobuf.ByteString value) { + public Builder setGcsSourcePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceLocationCase_ = 1; sourceLocation_ = value; onChanged(); @@ -1224,11 +1355,14 @@ public Builder setGcsSourcePathBytes( } /** + * + * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; + * * @return Whether the gcsTargetPath field is set. */ @java.lang.Override @@ -1236,11 +1370,14 @@ public boolean hasGcsTargetPath() { return targetLocationCase_ == 2; } /** + * + * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; + * * @return The gcsTargetPath. */ @java.lang.Override @@ -1250,8 +1387,7 @@ public java.lang.String getGcsTargetPath() { ref = targetLocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetLocationCase_ == 2) { targetLocation_ = s; @@ -1262,24 +1398,25 @@ public java.lang.String getGcsTargetPath() { } } /** + * + * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; + * * @return The bytes for gcsTargetPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcsTargetPathBytes() { + public com.google.protobuf.ByteString getGcsTargetPathBytes() { java.lang.Object ref = ""; if (targetLocationCase_ == 2) { ref = targetLocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (targetLocationCase_ == 2) { targetLocation_ = b; } @@ -1289,30 +1426,35 @@ public java.lang.String getGcsTargetPath() { } } /** + * + * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; + * * @param value The gcsTargetPath to set. * @return This builder for chaining. */ - public Builder setGcsTargetPath( - java.lang.String value) { + public Builder setGcsTargetPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetLocationCase_ = 2; + throw new NullPointerException(); + } + targetLocationCase_ = 2; targetLocation_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; + * * @return This builder for chaining. */ public Builder clearGcsTargetPath() { @@ -1324,20 +1466,22 @@ public Builder clearGcsTargetPath() { return this; } /** + * + * *
      * The Cloud Storage path to write back the corresponding input files to.
      * 
* * string gcs_target_path = 2; + * * @param value The bytes for gcsTargetPath to set. * @return This builder for chaining. */ - public Builder setGcsTargetPathBytes( - com.google.protobuf.ByteString value) { + public Builder setGcsTargetPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetLocationCase_ = 2; targetLocation_ = value; onChanged(); @@ -1346,34 +1490,47 @@ public Builder setGcsTargetPathBytes( private com.google.cloud.bigquery.migration.v2.Dialect sourceDialect_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> sourceDialectBuilder_; + com.google.cloud.bigquery.migration.v2.Dialect, + com.google.cloud.bigquery.migration.v2.Dialect.Builder, + com.google.cloud.bigquery.migration.v2.DialectOrBuilder> + sourceDialectBuilder_; /** + * + * *
      * The dialect of the input files.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; + * * @return Whether the sourceDialect field is set. */ public boolean hasSourceDialect() { return sourceDialectBuilder_ != null || sourceDialect_ != null; } /** + * + * *
      * The dialect of the input files.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; + * * @return The sourceDialect. */ public com.google.cloud.bigquery.migration.v2.Dialect getSourceDialect() { if (sourceDialectBuilder_ == null) { - return sourceDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : sourceDialect_; + return sourceDialect_ == null + ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() + : sourceDialect_; } else { return sourceDialectBuilder_.getMessage(); } } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1394,6 +1551,8 @@ public Builder setSourceDialect(com.google.cloud.bigquery.migration.v2.Dialect v return this; } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1412,6 +1571,8 @@ public Builder setSourceDialect( return this; } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1422,7 +1583,9 @@ public Builder mergeSourceDialect(com.google.cloud.bigquery.migration.v2.Dialect if (sourceDialectBuilder_ == null) { if (sourceDialect_ != null) { sourceDialect_ = - com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(sourceDialect_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(sourceDialect_) + .mergeFrom(value) + .buildPartial(); } else { sourceDialect_ = value; } @@ -1434,6 +1597,8 @@ public Builder mergeSourceDialect(com.google.cloud.bigquery.migration.v2.Dialect return this; } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1452,6 +1617,8 @@ public Builder clearSourceDialect() { return this; } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1459,11 +1626,13 @@ public Builder clearSourceDialect() { * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; */ public com.google.cloud.bigquery.migration.v2.Dialect.Builder getSourceDialectBuilder() { - + onChanged(); return getSourceDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1474,11 +1643,14 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO if (sourceDialectBuilder_ != null) { return sourceDialectBuilder_.getMessageOrBuilder(); } else { - return sourceDialect_ == null ? - com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : sourceDialect_; + return sourceDialect_ == null + ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() + : sourceDialect_; } } /** + * + * *
      * The dialect of the input files.
      * 
@@ -1486,14 +1658,17 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> + com.google.cloud.bigquery.migration.v2.Dialect, + com.google.cloud.bigquery.migration.v2.Dialect.Builder, + com.google.cloud.bigquery.migration.v2.DialectOrBuilder> getSourceDialectFieldBuilder() { if (sourceDialectBuilder_ == null) { - sourceDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( - getSourceDialect(), - getParentForChildren(), - isClean()); + sourceDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.Dialect, + com.google.cloud.bigquery.migration.v2.Dialect.Builder, + com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( + getSourceDialect(), getParentForChildren(), isClean()); sourceDialect_ = null; } return sourceDialectBuilder_; @@ -1501,34 +1676,47 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectO private com.google.cloud.bigquery.migration.v2.Dialect targetDialect_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> targetDialectBuilder_; + com.google.cloud.bigquery.migration.v2.Dialect, + com.google.cloud.bigquery.migration.v2.Dialect.Builder, + com.google.cloud.bigquery.migration.v2.DialectOrBuilder> + targetDialectBuilder_; /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; + * * @return Whether the targetDialect field is set. */ public boolean hasTargetDialect() { return targetDialectBuilder_ != null || targetDialect_ != null; } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; + * * @return The targetDialect. */ public com.google.cloud.bigquery.migration.v2.Dialect getTargetDialect() { if (targetDialectBuilder_ == null) { - return targetDialect_ == null ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : targetDialect_; + return targetDialect_ == null + ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() + : targetDialect_; } else { return targetDialectBuilder_.getMessage(); } } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1549,6 +1737,8 @@ public Builder setTargetDialect(com.google.cloud.bigquery.migration.v2.Dialect v return this; } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1567,6 +1757,8 @@ public Builder setTargetDialect( return this; } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1577,7 +1769,9 @@ public Builder mergeTargetDialect(com.google.cloud.bigquery.migration.v2.Dialect if (targetDialectBuilder_ == null) { if (targetDialect_ != null) { targetDialect_ = - com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(targetDialect_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.Dialect.newBuilder(targetDialect_) + .mergeFrom(value) + .buildPartial(); } else { targetDialect_ = value; } @@ -1589,6 +1783,8 @@ public Builder mergeTargetDialect(com.google.cloud.bigquery.migration.v2.Dialect return this; } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1607,6 +1803,8 @@ public Builder clearTargetDialect() { return this; } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1614,11 +1812,13 @@ public Builder clearTargetDialect() { * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; */ public com.google.cloud.bigquery.migration.v2.Dialect.Builder getTargetDialectBuilder() { - + onChanged(); return getTargetDialectFieldBuilder().getBuilder(); } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1629,11 +1829,14 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectO if (targetDialectBuilder_ != null) { return targetDialectBuilder_.getMessageOrBuilder(); } else { - return targetDialect_ == null ? - com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() : targetDialect_; + return targetDialect_ == null + ? com.google.cloud.bigquery.migration.v2.Dialect.getDefaultInstance() + : targetDialect_; } } /** + * + * *
      * The target dialect for the engine to translate the input to.
      * 
@@ -1641,27 +1844,36 @@ public com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectO * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder> + com.google.cloud.bigquery.migration.v2.Dialect, + com.google.cloud.bigquery.migration.v2.Dialect.Builder, + com.google.cloud.bigquery.migration.v2.DialectOrBuilder> getTargetDialectFieldBuilder() { if (targetDialectBuilder_ == null) { - targetDialectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.Dialect, com.google.cloud.bigquery.migration.v2.Dialect.Builder, com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( - getTargetDialect(), - getParentForChildren(), - isClean()); + targetDialectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.Dialect, + com.google.cloud.bigquery.migration.v2.Dialect.Builder, + com.google.cloud.bigquery.migration.v2.DialectOrBuilder>( + getTargetDialect(), getParentForChildren(), isClean()); targetDialect_ = null; } return targetDialectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> nameMappingListBuilder_; + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> + nameMappingListBuilder_; /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; + * * @return Whether the nameMappingList field is set. */ @java.lang.Override @@ -1669,11 +1881,14 @@ public boolean hasNameMappingList() { return outputNameMappingCase_ == 5; } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; + * * @return The nameMappingList. */ @java.lang.Override @@ -1691,13 +1906,16 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappi } } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - public Builder setNameMappingList(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { + public Builder setNameMappingList( + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { if (nameMappingListBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1711,6 +1929,8 @@ public Builder setNameMappingList(com.google.cloud.bigquery.migration.v2.ObjectN return this; } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -1729,18 +1949,27 @@ public Builder setNameMappingList( return this; } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - public Builder mergeNameMappingList(com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { + public Builder mergeNameMappingList( + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList value) { if (nameMappingListBuilder_ == null) { - if (outputNameMappingCase_ == 5 && - outputNameMapping_ != com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance()) { - outputNameMapping_ = com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.newBuilder((com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_) - .mergeFrom(value).buildPartial(); + if (outputNameMappingCase_ == 5 + && outputNameMapping_ + != com.google.cloud.bigquery.migration.v2.ObjectNameMappingList + .getDefaultInstance()) { + outputNameMapping_ = + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.newBuilder( + (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) + outputNameMapping_) + .mergeFrom(value) + .buildPartial(); } else { outputNameMapping_ = value; } @@ -1756,6 +1985,8 @@ public Builder mergeNameMappingList(com.google.cloud.bigquery.migration.v2.Objec return this; } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -1779,16 +2010,21 @@ public Builder clearNameMappingList() { return this; } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder getNameMappingListBuilder() { + public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder + getNameMappingListBuilder() { return getNameMappingListFieldBuilder().getBuilder(); } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -1796,7 +2032,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder getN * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder getNameMappingListOrBuilder() { + public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder + getNameMappingListOrBuilder() { if ((outputNameMappingCase_ == 5) && (nameMappingListBuilder_ != null)) { return nameMappingListBuilder_.getMessageOrBuilder(); } else { @@ -1807,6 +2044,8 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder get } } /** + * + * *
      * The mapping of objects to their desired output names in list form.
      * 
@@ -1814,54 +2053,74 @@ public com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder get * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder> getNameMappingListFieldBuilder() { if (nameMappingListBuilder_ == null) { if (!(outputNameMappingCase_ == 5)) { - outputNameMapping_ = com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); + outputNameMapping_ = + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.getDefaultInstance(); } - nameMappingListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder>( + nameMappingListBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingList.Builder, + com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder>( (com.google.cloud.bigquery.migration.v2.ObjectNameMappingList) outputNameMapping_, getParentForChildren(), isClean()); outputNameMapping_ = null; } outputNameMappingCase_ = 5; - onChanged();; + onChanged(); + ; return nameMappingListBuilder_; } private com.google.cloud.bigquery.migration.v2.SourceEnv sourceEnv_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SourceEnv, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> sourceEnvBuilder_; + com.google.cloud.bigquery.migration.v2.SourceEnv, + com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, + com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> + sourceEnvBuilder_; /** + * + * *
      * The default source environment values for the translation.
      * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; + * * @return Whether the sourceEnv field is set. */ public boolean hasSourceEnv() { return sourceEnvBuilder_ != null || sourceEnv_ != null; } /** + * + * *
      * The default source environment values for the translation.
      * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; + * * @return The sourceEnv. */ public com.google.cloud.bigquery.migration.v2.SourceEnv getSourceEnv() { if (sourceEnvBuilder_ == null) { - return sourceEnv_ == null ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() : sourceEnv_; + return sourceEnv_ == null + ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() + : sourceEnv_; } else { return sourceEnvBuilder_.getMessage(); } } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1882,6 +2141,8 @@ public Builder setSourceEnv(com.google.cloud.bigquery.migration.v2.SourceEnv val return this; } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1900,6 +2161,8 @@ public Builder setSourceEnv( return this; } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1910,7 +2173,9 @@ public Builder mergeSourceEnv(com.google.cloud.bigquery.migration.v2.SourceEnv v if (sourceEnvBuilder_ == null) { if (sourceEnv_ != null) { sourceEnv_ = - com.google.cloud.bigquery.migration.v2.SourceEnv.newBuilder(sourceEnv_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2.SourceEnv.newBuilder(sourceEnv_) + .mergeFrom(value) + .buildPartial(); } else { sourceEnv_ = value; } @@ -1922,6 +2187,8 @@ public Builder mergeSourceEnv(com.google.cloud.bigquery.migration.v2.SourceEnv v return this; } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1940,6 +2207,8 @@ public Builder clearSourceEnv() { return this; } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1947,11 +2216,13 @@ public Builder clearSourceEnv() { * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; */ public com.google.cloud.bigquery.migration.v2.SourceEnv.Builder getSourceEnvBuilder() { - + onChanged(); return getSourceEnvFieldBuilder().getBuilder(); } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1962,11 +2233,14 @@ public com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrB if (sourceEnvBuilder_ != null) { return sourceEnvBuilder_.getMessageOrBuilder(); } else { - return sourceEnv_ == null ? - com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() : sourceEnv_; + return sourceEnv_ == null + ? com.google.cloud.bigquery.migration.v2.SourceEnv.getDefaultInstance() + : sourceEnv_; } } /** + * + * *
      * The default source environment values for the translation.
      * 
@@ -1974,21 +2248,24 @@ public com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrB * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SourceEnv, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> + com.google.cloud.bigquery.migration.v2.SourceEnv, + com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, + com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder> getSourceEnvFieldBuilder() { if (sourceEnvBuilder_ == null) { - sourceEnvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2.SourceEnv, com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder>( - getSourceEnv(), - getParentForChildren(), - isClean()); + sourceEnvBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2.SourceEnv, + com.google.cloud.bigquery.migration.v2.SourceEnv.Builder, + com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder>( + getSourceEnv(), getParentForChildren(), isClean()); sourceEnv_ = null; } return sourceEnvBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1998,30 +2275,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TranslationConfigDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TranslationConfigDetails) - private static final com.google.cloud.bigquery.migration.v2.TranslationConfigDetails DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2.TranslationConfigDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TranslationConfigDetails(); } - public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2.TranslationConfigDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranslationConfigDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TranslationConfigDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranslationConfigDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TranslationConfigDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2033,9 +2312,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java index 06d295c..762e04c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigDetailsOrBuilder.java @@ -1,89 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; -public interface TranslationConfigDetailsOrBuilder extends +public interface TranslationConfigDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TranslationConfigDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; + * * @return Whether the gcsSourcePath field is set. */ boolean hasGcsSourcePath(); /** + * + * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; + * * @return The gcsSourcePath. */ java.lang.String getGcsSourcePath(); /** + * + * *
    * The Cloud Storage path for a directory of files to translate in a task.
    * 
* * string gcs_source_path = 1; + * * @return The bytes for gcsSourcePath. */ - com.google.protobuf.ByteString - getGcsSourcePathBytes(); + com.google.protobuf.ByteString getGcsSourcePathBytes(); /** + * + * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; + * * @return Whether the gcsTargetPath field is set. */ boolean hasGcsTargetPath(); /** + * + * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; + * * @return The gcsTargetPath. */ java.lang.String getGcsTargetPath(); /** + * + * *
    * The Cloud Storage path to write back the corresponding input files to.
    * 
* * string gcs_target_path = 2; + * * @return The bytes for gcsTargetPath. */ - com.google.protobuf.ByteString - getGcsTargetPathBytes(); + com.google.protobuf.ByteString getGcsTargetPathBytes(); /** + * + * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; + * * @return Whether the sourceDialect field is set. */ boolean hasSourceDialect(); /** + * + * *
    * The dialect of the input files.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3; + * * @return The sourceDialect. */ com.google.cloud.bigquery.migration.v2.Dialect getSourceDialect(); /** + * + * *
    * The dialect of the input files.
    * 
@@ -93,24 +133,32 @@ public interface TranslationConfigDetailsOrBuilder extends com.google.cloud.bigquery.migration.v2.DialectOrBuilder getSourceDialectOrBuilder(); /** + * + * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; + * * @return Whether the targetDialect field is set. */ boolean hasTargetDialect(); /** + * + * *
    * The target dialect for the engine to translate the input to.
    * 
* * .google.cloud.bigquery.migration.v2.Dialect target_dialect = 4; + * * @return The targetDialect. */ com.google.cloud.bigquery.migration.v2.Dialect getTargetDialect(); /** + * + * *
    * The target dialect for the engine to translate the input to.
    * 
@@ -120,51 +168,68 @@ public interface TranslationConfigDetailsOrBuilder extends com.google.cloud.bigquery.migration.v2.DialectOrBuilder getTargetDialectOrBuilder(); /** + * + * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; + * * @return Whether the nameMappingList field is set. */ boolean hasNameMappingList(); /** + * + * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; + * * @return The nameMappingList. */ com.google.cloud.bigquery.migration.v2.ObjectNameMappingList getNameMappingList(); /** + * + * *
    * The mapping of objects to their desired output names in list form.
    * 
* * .google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5; */ - com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder getNameMappingListOrBuilder(); + com.google.cloud.bigquery.migration.v2.ObjectNameMappingListOrBuilder + getNameMappingListOrBuilder(); /** + * + * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; + * * @return Whether the sourceEnv field is set. */ boolean hasSourceEnv(); /** + * + * *
    * The default source environment values for the translation.
    * 
* * .google.cloud.bigquery.migration.v2.SourceEnv source_env = 6; + * * @return The sourceEnv. */ com.google.cloud.bigquery.migration.v2.SourceEnv getSourceEnv(); /** + * + * *
    * The default source environment values for the translation.
    * 
@@ -173,9 +238,12 @@ public interface TranslationConfigDetailsOrBuilder extends */ com.google.cloud.bigquery.migration.v2.SourceEnvOrBuilder getSourceEnvOrBuilder(); - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.SourceLocationCase getSourceLocationCase(); + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.SourceLocationCase + getSourceLocationCase(); - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.TargetLocationCase getTargetLocationCase(); + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.TargetLocationCase + getTargetLocationCase(); - public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase(); + public com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.OutputNameMappingCase + getOutputNameMappingCase(); } diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java new file mode 100644 index 0000000..8a542e7 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java @@ -0,0 +1,357 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public final class TranslationConfigProto { + private TranslationConfigProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n;google/cloud/bigquery/migration/v2/tra" + + "nslation_config.proto\022\"google.cloud.bigq" + + "uery.migration.v2\"\262\003\n\030TranslationConfigD" + + "etails\022\031\n\017gcs_source_path\030\001 \001(\tH\000\022\031\n\017gcs" + + "_target_path\030\002 \001(\tH\001\022C\n\016source_dialect\030\003" + + " \001(\0132+.google.cloud.bigquery.migration.v" + + "2.Dialect\022C\n\016target_dialect\030\004 \001(\0132+.goog" + + "le.cloud.bigquery.migration.v2.Dialect\022V" + + "\n\021name_mapping_list\030\005 \001(\01329.google.cloud" + + ".bigquery.migration.v2.ObjectNameMapping" + + "ListH\002\022A\n\nsource_env\030\006 \001(\0132-.google.clou" + + "d.bigquery.migration.v2.SourceEnvB\021\n\017sou" + + "rce_locationB\021\n\017target_locationB\025\n\023outpu" + + "t_name_mapping\"\271\010\n\007Dialect\022O\n\020bigquery_d" + + "ialect\030\001 \001(\01323.google.cloud.bigquery.mig" + + "ration.v2.BigQueryDialectH\000\022K\n\016hiveql_di" + + "alect\030\002 \001(\01321.google.cloud.bigquery.migr" + + "ation.v2.HiveQLDialectH\000\022O\n\020redshift_dia" + + "lect\030\003 \001(\01323.google.cloud.bigquery.migra" + + "tion.v2.RedshiftDialectH\000\022O\n\020teradata_di" + + "alect\030\004 \001(\01323.google.cloud.bigquery.migr" + + "ation.v2.TeradataDialectH\000\022K\n\016oracle_dia" + + "lect\030\005 \001(\01321.google.cloud.bigquery.migra" + + "tion.v2.OracleDialectH\000\022O\n\020sparksql_dial" + + "ect\030\006 \001(\01323.google.cloud.bigquery.migrat" + + "ion.v2.SparkSQLDialectH\000\022Q\n\021snowflake_di" + + "alect\030\007 \001(\01324.google.cloud.bigquery.migr" + + "ation.v2.SnowflakeDialectH\000\022M\n\017netezza_d" + + "ialect\030\010 \001(\01322.google.cloud.bigquery.mig" + + "ration.v2.NetezzaDialectH\000\022X\n\025azure_syna" + + "pse_dialect\030\t \001(\01327.google.cloud.bigquer" + + "y.migration.v2.AzureSynapseDialectH\000\022M\n\017" + + "vertica_dialect\030\n \001(\01322.google.cloud.big" + + "query.migration.v2.VerticaDialectH\000\022R\n\022s" + + "ql_server_dialect\030\013 \001(\01324.google.cloud.b" + + "igquery.migration.v2.SQLServerDialectH\000\022" + + "S\n\022postgresql_dialect\030\014 \001(\01325.google.clo" + + "ud.bigquery.migration.v2.PostgresqlDiale" + + "ctH\000\022K\n\016presto_dialect\030\r \001(\01321.google.cl" + + "oud.bigquery.migration.v2.PrestoDialectH" + + "\000B\017\n\rdialect_value\"\021\n\017BigQueryDialect\"\017\n" + + "\rHiveQLDialect\"\021\n\017RedshiftDialect\"\212\001\n\017Te" + + "radataDialect\022F\n\004mode\030\001 \001(\01628.google.clo" + + "ud.bigquery.migration.v2.TeradataDialect" + + ".Mode\"/\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\007\n\003S" + + "QL\020\001\022\010\n\004BTEQ\020\002\"\017\n\rOracleDialect\"\021\n\017Spark" + + "SQLDialect\"\022\n\020SnowflakeDialect\"\020\n\016Netezz" + + "aDialect\"\025\n\023AzureSynapseDialect\"\020\n\016Verti" + + "caDialect\"\022\n\020SQLServerDialect\"\023\n\021Postgre" + + "sqlDialect\"\017\n\rPrestoDialect\"`\n\025ObjectNam" + + "eMappingList\022G\n\010name_map\030\001 \003(\01325.google." + + "cloud.bigquery.migration.v2.ObjectNameMa" + + "pping\"\235\001\n\021ObjectNameMapping\022B\n\006source\030\001 " + + "\001(\01322.google.cloud.bigquery.migration.v2" + + ".NameMappingKey\022D\n\006target\030\002 \001(\01324.google" + + ".cloud.bigquery.migration.v2.NameMapping" + + "Value\"\253\002\n\016NameMappingKey\022E\n\004type\030\001 \001(\01627" + + ".google.cloud.bigquery.migration.v2.Name" + + "MappingKey.Type\022\020\n\010database\030\002 \001(\t\022\016\n\006sch" + + "ema\030\003 \001(\t\022\020\n\010relation\030\004 \001(\t\022\021\n\tattribute" + + "\030\005 \001(\t\"\212\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\014\n" + + "\010DATABASE\020\001\022\n\n\006SCHEMA\020\002\022\014\n\010RELATION\020\003\022\r\n" + + "\tATTRIBUTE\020\004\022\022\n\016RELATION_ALIAS\020\005\022\023\n\017ATTR" + + "IBUTE_ALIAS\020\006\022\014\n\010FUNCTION\020\007\"Y\n\020NameMappi" + + "ngValue\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(" + + "\t\022\020\n\010relation\030\003 \001(\t\022\021\n\tattribute\030\004 \001(\t\"A" + + "\n\tSourceEnv\022\030\n\020default_database\030\001 \001(\t\022\032\n" + + "\022schema_search_path\030\002 \003(\tB\331\001\n&com.google" + + ".cloud.bigquery.migration.v2B\026Translatio" + + "nConfigProtoP\001ZKgoogle.golang.org/genpro" + + "to/googleapis/cloud/bigquery/migration/v" + + "2;migration\252\002\"Google.Cloud.BigQuery.Migr" + + "ation.V2\312\002\"Google\\Cloud\\BigQuery\\Migrati" + + "on\\V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor, + new java.lang.String[] { + "GcsSourcePath", + "GcsTargetPath", + "SourceDialect", + "TargetDialect", + "NameMappingList", + "SourceEnv", + "SourceLocation", + "TargetLocation", + "OutputNameMapping", + }); + internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor, + new java.lang.String[] { + "BigqueryDialect", + "HiveqlDialect", + "RedshiftDialect", + "TeradataDialect", + "OracleDialect", + "SparksqlDialect", + "SnowflakeDialect", + "NetezzaDialect", + "AzureSynapseDialect", + "VerticaDialect", + "SqlServerDialect", + "PostgresqlDialect", + "PrestoDialect", + "DialectValue", + }); + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor, + new java.lang.String[] { + "Mode", + }); + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor, + new java.lang.String[] { + "NameMap", + }); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor, + new java.lang.String[] { + "Source", "Target", + }); + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor, + new java.lang.String[] { + "Type", "Database", "Schema", "Relation", "Attribute", + }); + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor, + new java.lang.String[] { + "Database", "Schema", "Relation", "Attribute", + }); + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor, + new java.lang.String[] { + "DefaultDatabase", "SchemaSearchPath", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java index 96c200f..1e7a4e4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValue.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * A single strongly-typed value.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TypedValue} */ -public final class TypedValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TypedValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.TypedValue) TypedValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TypedValue.newBuilder() to construct. private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TypedValue() { - } + + private TypedValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TypedValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TypedValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,48 +68,52 @@ private TypedValue( case 0: done = true; break; - case 8: { - value_ = input.readBool(); - valueCase_ = 1; - break; - } - case 16: { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } - case 25: { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } - case 42: { - com.google.api.Distribution.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.api.Distribution) value_).toBuilder(); + case 8: + { + value_ = input.readBool(); + valueCase_ = 1; + break; } - value_ = - input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.api.Distribution) value_); - value_ = subBuilder.buildPartial(); + case 16: + { + value_ = input.readInt64(); + valueCase_ = 2; + break; } - valueCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 25: + { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + break; + } + case 42: + { + com.google.api.Distribution.Builder subBuilder = null; + if (valueCase_ == 5) { + subBuilder = ((com.google.api.Distribution) value_).toBuilder(); + } + value_ = input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.api.Distribution) value_); + value_ = subBuilder.buildPartial(); + } + valueCase_ = 5; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,30 +121,34 @@ private TypedValue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TypedValue.class, com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2.TypedValue.class, + com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), @@ -133,6 +157,7 @@ public enum ValueCase DISTRIBUTION_VALUE(5), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -148,33 +173,42 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: return BOOL_VALUE; - case 2: return INT64_VALUE; - case 3: return DOUBLE_VALUE; - case 4: return STRING_VALUE; - case 5: return DISTRIBUTION_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 1: + return BOOL_VALUE; + case 2: + return INT64_VALUE; + case 3: + return DOUBLE_VALUE; + case 4: + return STRING_VALUE; + case 5: + return DISTRIBUTION_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -182,11 +216,14 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ @java.lang.Override @@ -199,11 +236,14 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -211,11 +251,14 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ @java.lang.Override @@ -228,6 +271,8 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -235,6 +280,7 @@ public long getInt64Value() {
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -242,6 +288,8 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -249,6 +297,7 @@ public boolean hasDoubleValue() {
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -261,22 +310,28 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -287,8 +342,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -297,23 +351,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -325,11 +380,14 @@ public java.lang.String getStringValue() { public static final int DISTRIBUTION_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -337,21 +395,26 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ @java.lang.Override public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /** + * + * *
    * A distribution value.
    * 
@@ -361,12 +424,13 @@ public com.google.api.Distribution getDistributionValue() { @java.lang.Override public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,19 +442,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueCase_ == 1) { - output.writeBool( - 1, (boolean)((java.lang.Boolean) value_)); + output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) value_)); + output.writeInt64(2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) value_)); + output.writeDouble(3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -408,26 +468,27 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 1, (boolean)((java.lang.Boolean) value_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) value_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) value_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); } if (valueCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.api.Distribution) value_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.api.Distribution) value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -437,35 +498,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.TypedValue)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.TypedValue other = (com.google.cloud.bigquery.migration.v2.TypedValue) obj; + com.google.cloud.bigquery.migration.v2.TypedValue other = + (com.google.cloud.bigquery.migration.v2.TypedValue) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 4: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 5: - if (!getDistributionValue() - .equals(other.getDistributionValue())) return false; + if (!getDistributionValue().equals(other.getDistributionValue())) return false; break; case 0: default: @@ -484,18 +541,18 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -514,117 +571,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.TypedValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.TypedValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.TypedValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.TypedValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A single strongly-typed value.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.TypedValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.TypedValue) com.google.cloud.bigquery.migration.v2.TypedValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.TypedValue.class, com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2.TypedValue.class, + com.google.cloud.bigquery.migration.v2.TypedValue.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.TypedValue.newBuilder() @@ -632,16 +698,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -651,9 +716,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor; } @java.lang.Override @@ -672,7 +737,8 @@ public com.google.cloud.bigquery.migration.v2.TypedValue build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.TypedValue buildPartial() { - com.google.cloud.bigquery.migration.v2.TypedValue result = new com.google.cloud.bigquery.migration.v2.TypedValue(this); + com.google.cloud.bigquery.migration.v2.TypedValue result = + new com.google.cloud.bigquery.migration.v2.TypedValue(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -701,38 +767,39 @@ public com.google.cloud.bigquery.migration.v2.TypedValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.TypedValue) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.TypedValue)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.TypedValue) other); } else { super.mergeFrom(other); return this; @@ -740,33 +807,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.TypedValue other) { - if (other == com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.TypedValue.getDefaultInstance()) + return this; switch (other.getValueCase()) { - case BOOL_VALUE: { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case DISTRIBUTION_VALUE: { - mergeDistributionValue(other.getDistributionValue()); - break; - } - case VALUE_NOT_SET: { - break; - } + case BOOL_VALUE: + { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: + { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case DISTRIBUTION_VALUE: + { + mergeDistributionValue(other.getDistributionValue()); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -787,7 +861,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.TypedValue) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.TypedValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -796,12 +871,12 @@ public Builder mergeFrom( } return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -811,24 +886,29 @@ public Builder clearValue() { return this; } - /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -838,11 +918,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -853,11 +936,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -870,22 +956,28 @@ public Builder clearBoolValue() { } /** + * + * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; + * * @return The int64Value. */ public long getInt64Value() { @@ -895,11 +987,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -910,11 +1005,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
      * 
* * int64 int64_value = 2; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -927,6 +1025,8 @@ public Builder clearInt64Value() { } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -934,12 +1034,15 @@ public Builder clearInt64Value() {
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -947,6 +1050,7 @@ public boolean hasDoubleValue() {
      * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -956,6 +1060,8 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -963,6 +1069,7 @@ public double getDoubleValue() {
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -973,6 +1080,8 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -980,6 +1089,7 @@ public Builder setDoubleValue(double value) {
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -992,11 +1102,14 @@ public Builder clearDoubleValue() { } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1004,11 +1117,14 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return The stringValue. */ @java.lang.Override @@ -1018,8 +1134,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1030,24 +1145,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1057,30 +1173,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1092,20 +1213,22 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); @@ -1113,13 +1236,19 @@ public Builder setStringValueBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> distributionValueBuilder_; + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder> + distributionValueBuilder_; /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -1127,11 +1256,14 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ @java.lang.Override @@ -1149,6 +1281,8 @@ public com.google.api.Distribution getDistributionValue() { } } /** + * + * *
      * A distribution value.
      * 
@@ -1169,14 +1303,15 @@ public Builder setDistributionValue(com.google.api.Distribution value) { return this; } /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; */ - public Builder setDistributionValue( - com.google.api.Distribution.Builder builderForValue) { + public Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue) { if (distributionValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1187,6 +1322,8 @@ public Builder setDistributionValue( return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1195,10 +1332,11 @@ public Builder setDistributionValue( */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { - if (valueCase_ == 5 && - value_ != com.google.api.Distribution.getDefaultInstance()) { - value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) - .mergeFrom(value).buildPartial(); + if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { + value_ = + com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -1214,6 +1352,8 @@ public Builder mergeDistributionValue(com.google.api.Distribution value) { return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1237,6 +1377,8 @@ public Builder clearDistributionValue() { return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1247,6 +1389,8 @@ public com.google.api.Distribution.Builder getDistributionValueBuilder() { return getDistributionValueFieldBuilder().getBuilder(); } /** + * + * *
      * A distribution value.
      * 
@@ -1265,6 +1409,8 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { } } /** + * + * *
      * A distribution value.
      * 
@@ -1272,26 +1418,30 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { * .google.api.Distribution distribution_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } - distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( - (com.google.api.Distribution) value_, - getParentForChildren(), - isClean()); + distributionValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder>( + (com.google.api.Distribution) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 5; - onChanged();; + onChanged(); + ; return distributionValueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1301,12 +1451,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.TypedValue) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.TypedValue) private static final com.google.cloud.bigquery.migration.v2.TypedValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.TypedValue(); } @@ -1315,16 +1465,16 @@ public static com.google.cloud.bigquery.migration.v2.TypedValue getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TypedValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TypedValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1339,6 +1489,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.TypedValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java index fd25249..e1df035 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TypedValueOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/migration_metrics.proto package com.google.cloud.bigquery.migration.v2; -public interface TypedValueOrBuilder extends +public interface TypedValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.TypedValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ boolean getBoolValue(); /** + * + * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -53,10 +83,13 @@ public interface TypedValueOrBuilder extends
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately `+/-10^(+/-300)` and it has 16 significant digits of
@@ -64,58 +97,75 @@ public interface TypedValueOrBuilder extends
    * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ boolean hasDistributionValue(); /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ com.google.api.Distribution getDistributionValue(); /** + * + * *
    * A distribution value.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java rename to proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java index c433bfe..fd91d9a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialect.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2/translation_config.proto package com.google.cloud.bigquery.migration.v2; /** + * + * *
  * The dialect definition for Vertica.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.VerticaDialect} */ -public final class VerticaDialect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VerticaDialect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.VerticaDialect) VerticaDialectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VerticaDialect.newBuilder() to construct. private VerticaDialect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VerticaDialect() { - } + + private VerticaDialect() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VerticaDialect(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VerticaDialect( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private VerticaDialect( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private VerticaDialect( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.VerticaDialect.class, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.VerticaDialect.class, + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2.VerticaDialect)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2.VerticaDialect other = (com.google.cloud.bigquery.migration.v2.VerticaDialect) obj; + com.google.cloud.bigquery.migration.v2.VerticaDialect other = + (com.google.cloud.bigquery.migration.v2.VerticaDialect) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2.VerticaDialect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.VerticaDialect prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.VerticaDialect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The dialect definition for Vertica.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2.VerticaDialect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2.VerticaDialect) com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2.VerticaDialect.class, com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); + com.google.cloud.bigquery.migration.v2.VerticaDialect.class, + com.google.cloud.bigquery.migration.v2.VerticaDialect.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2.VerticaDialect.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2.TranslationConfigProto.internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2.VerticaDialect buildPartial() { - com.google.cloud.bigquery.migration.v2.VerticaDialect result = new com.google.cloud.bigquery.migration.v2.VerticaDialect(this); + com.google.cloud.bigquery.migration.v2.VerticaDialect result = + new com.google.cloud.bigquery.migration.v2.VerticaDialect(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2.VerticaDialect) { - return mergeFrom((com.google.cloud.bigquery.migration.v2.VerticaDialect)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2.VerticaDialect) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.VerticaDialect other) { - if (other == com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2.VerticaDialect) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2.VerticaDialect) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2.VerticaDialect) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2.VerticaDialect) private static final com.google.cloud.bigquery.migration.v2.VerticaDialect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2.VerticaDialect(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2.VerticaDialect getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerticaDialect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VerticaDialect(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerticaDialect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VerticaDialect(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2.VerticaDialect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java new file mode 100644 index 0000000..803bc0f --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2/translation_config.proto + +package com.google.cloud.bigquery.migration.v2; + +public interface VerticaDialectOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.VerticaDialect) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto b/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto rename to proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto b/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto rename to proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto b/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto rename to proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto b/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto rename to proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto b/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto rename to proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java similarity index 57% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java index 31ff759..62750f2 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetails.java @@ -1,40 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Details for an assessment task orchestration result.
  * 
* - * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} + * Protobuf type {@code + * google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} */ -public final class AssessmentOrchestrationResultDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AssessmentOrchestrationResultDetails + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) AssessmentOrchestrationResultDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AssessmentOrchestrationResultDetails.newBuilder() to construct. - private AssessmentOrchestrationResultDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AssessmentOrchestrationResultDetails( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AssessmentOrchestrationResultDetails() { outputTablesSchemaVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AssessmentOrchestrationResultDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AssessmentOrchestrationResultDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +73,20 @@ private AssessmentOrchestrationResultDetails( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - outputTablesSchemaVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + outputTablesSchemaVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +94,40 @@ private AssessmentOrchestrationResultDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.class, + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder + .class); } public static final int OUTPUT_TABLES_SCHEMA_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object outputTablesSchemaVersion_; /** + * + * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputTablesSchemaVersion. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getOutputTablesSchemaVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputTablesSchemaVersion_ = s; return s; } } /** + * + * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputTablesSchemaVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputTablesSchemaVersionBytes() { + public com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes() { java.lang.Object ref = outputTablesSchemaVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputTablesSchemaVersion_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getOutputTablesSchemaVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputTablesSchemaVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputTablesSchemaVersion_); } @@ -166,7 +193,8 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputTablesSchemaVersion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputTablesSchemaVersion_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputTablesSchemaVersion_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,15 +204,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails)) { + if (!(obj + instanceof + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other = (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) obj; + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other = + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) obj; - if (!getOutputTablesSchemaVersion() - .equals(other.getOutputTablesSchemaVersion())) return false; + if (!getOutputTablesSchemaVersion().equals(other.getOutputTablesSchemaVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,135 +233,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details for an assessment task orchestration result.
    * 
* - * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} + * Protobuf type {@code + * google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .class, + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +390,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails build() { - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = buildPartial(); + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + build() { + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -361,8 +414,11 @@ public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResult } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails(this); + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails result = + new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails( + this); result.outputTablesSchemaVersion_ = outputTablesSchemaVersion_; onBuilt(); return result; @@ -372,46 +428,54 @@ public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResult public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails)other); + if (other + instanceof + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance()) return this; if (!other.getOutputTablesSchemaVersion().isEmpty()) { outputTablesSchemaVersion_ = other.outputTablesSchemaVersion_; onChanged(); @@ -431,11 +495,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +514,21 @@ public Builder mergeFrom( private java.lang.Object outputTablesSchemaVersion_ = ""; /** + * + * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The outputTablesSchemaVersion. */ public java.lang.String getOutputTablesSchemaVersion() { java.lang.Object ref = outputTablesSchemaVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputTablesSchemaVersion_ = s; return s; @@ -467,20 +537,22 @@ public java.lang.String getOutputTablesSchemaVersion() { } } /** + * + * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for outputTablesSchemaVersion. */ - public com.google.protobuf.ByteString - getOutputTablesSchemaVersionBytes() { + public com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes() { java.lang.Object ref = outputTablesSchemaVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputTablesSchemaVersion_ = b; return b; } else { @@ -488,61 +560,71 @@ public java.lang.String getOutputTablesSchemaVersion() { } } /** + * + * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The outputTablesSchemaVersion to set. * @return This builder for chaining. */ - public Builder setOutputTablesSchemaVersion( - java.lang.String value) { + public Builder setOutputTablesSchemaVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputTablesSchemaVersion_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearOutputTablesSchemaVersion() { - + outputTablesSchemaVersion_ = getDefaultInstance().getOutputTablesSchemaVersion(); onChanged(); return this; } /** + * + * *
      * Optional. The version used for the output table schemas.
      * 
* - * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for outputTablesSchemaVersion to set. * @return This builder for chaining. */ - public Builder setOutputTablesSchemaVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOutputTablesSchemaVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputTablesSchemaVersion_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +634,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) - private static final com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha + .AssessmentOrchestrationResultDetails + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails(); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssessmentOrchestrationResultDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AssessmentOrchestrationResultDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssessmentOrchestrationResultDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AssessmentOrchestrationResultDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +673,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java similarity index 54% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java index 8746bb7..eabde20 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentOrchestrationResultDetailsOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface AssessmentOrchestrationResultDetailsOrBuilder extends +public interface AssessmentOrchestrationResultDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputTablesSchemaVersion. */ java.lang.String getOutputTablesSchemaVersion(); /** + * + * *
    * Optional. The version used for the output table schemas.
    * 
* * string output_tables_schema_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputTablesSchemaVersion. */ - com.google.protobuf.ByteString - getOutputTablesSchemaVersionBytes(); + com.google.protobuf.ByteString getOutputTablesSchemaVersionBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java index 19c80ec..81f97e4 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetails.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Assessment task config.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails} */ -public final class AssessmentTaskDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AssessmentTaskDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) AssessmentTaskDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AssessmentTaskDetails.newBuilder() to construct. private AssessmentTaskDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AssessmentTaskDetails() { inputPath_ = ""; outputDataset_ = ""; @@ -28,16 +46,15 @@ private AssessmentTaskDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AssessmentTaskDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AssessmentTaskDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private AssessmentTaskDetails( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputPath_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + inputPath_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - outputDataset_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + outputDataset_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - querylogsPath_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + querylogsPath_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - dataSource_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dataSource_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,34 +115,39 @@ private AssessmentTaskDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); } public static final int INPUT_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object inputPath_; /** + * + * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputPath. */ @java.lang.Override @@ -130,29 +156,29 @@ public java.lang.String getInputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; } } /** + * + * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputPathBytes() { + public com.google.protobuf.ByteString getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputPath_ = b; return b; } else { @@ -163,11 +189,14 @@ public java.lang.String getInputPath() { public static final int OUTPUT_DATASET_FIELD_NUMBER = 2; private volatile java.lang.Object outputDataset_; /** + * + * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputDataset. */ @java.lang.Override @@ -176,29 +205,29 @@ public java.lang.String getOutputDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputDataset_ = s; return s; } } /** + * + * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for outputDataset. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputDatasetBytes() { + public com.google.protobuf.ByteString getOutputDatasetBytes() { java.lang.Object ref = outputDataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputDataset_ = b; return b; } else { @@ -209,12 +238,15 @@ public java.lang.String getOutputDataset() { public static final int QUERYLOGS_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object querylogsPath_; /** + * + * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The querylogsPath. */ @java.lang.Override @@ -223,30 +255,30 @@ public java.lang.String getQuerylogsPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); querylogsPath_ = s; return s; } } /** + * + * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for querylogsPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getQuerylogsPathBytes() { + public com.google.protobuf.ByteString getQuerylogsPathBytes() { java.lang.Object ref = querylogsPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); querylogsPath_ = b; return b; } else { @@ -257,12 +289,15 @@ public java.lang.String getQuerylogsPath() { public static final int DATA_SOURCE_FIELD_NUMBER = 4; private volatile java.lang.Object dataSource_; /** + * + * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataSource. */ @java.lang.Override @@ -271,30 +306,30 @@ public java.lang.String getDataSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } } /** + * + * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataSource. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceBytes() { + public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { @@ -303,6 +338,7 @@ public java.lang.String getDataSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +350,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputPath_); } @@ -357,21 +392,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other = (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) obj; - - if (!getInputPath() - .equals(other.getInputPath())) return false; - if (!getOutputDataset() - .equals(other.getOutputDataset())) return false; - if (!getQuerylogsPath() - .equals(other.getQuerylogsPath())) return false; - if (!getDataSource() - .equals(other.getDataSource())) return false; + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other = + (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) obj; + + if (!getInputPath().equals(other.getInputPath())) return false; + if (!getOutputDataset().equals(other.getOutputDataset())) return false; + if (!getQuerylogsPath().equals(other.getQuerylogsPath())) return false; + if (!getDataSource().equals(other.getDataSource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -397,134 +429,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Assessment task config.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.class, + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -540,13 +583,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } @@ -561,7 +605,8 @@ public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails build() @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails result = new com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails(this); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails result = + new com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails(this); result.inputPath_ = inputPath_; result.outputDataset_ = outputDataset_; result.querylogsPath_ = querylogsPath_; @@ -574,46 +619,50 @@ public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance()) + return this; if (!other.getInputPath().isEmpty()) { inputPath_ = other.inputPath_; onChanged(); @@ -649,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,18 +712,20 @@ public Builder mergeFrom( private java.lang.Object inputPath_ = ""; /** + * + * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputPath. */ public java.lang.String getInputPath() { java.lang.Object ref = inputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; @@ -681,20 +734,21 @@ public java.lang.String getInputPath() { } } /** + * + * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputPath. */ - public com.google.protobuf.ByteString - getInputPathBytes() { + public com.google.protobuf.ByteString getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputPath_ = b; return b; } else { @@ -702,54 +756,61 @@ public java.lang.String getInputPath() { } } /** + * + * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The inputPath to set. * @return This builder for chaining. */ - public Builder setInputPath( - java.lang.String value) { + public Builder setInputPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputPath_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInputPath() { - + inputPath_ = getDefaultInstance().getInputPath(); onChanged(); return this; } /** + * + * *
      * Required. The Cloud Storage path for assessment input files.
      * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for inputPath to set. * @return This builder for chaining. */ - public Builder setInputPathBytes( - com.google.protobuf.ByteString value) { + public Builder setInputPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputPath_ = value; onChanged(); return this; @@ -757,18 +818,20 @@ public Builder setInputPathBytes( private java.lang.Object outputDataset_ = ""; /** + * + * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputDataset. */ public java.lang.String getOutputDataset() { java.lang.Object ref = outputDataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputDataset_ = s; return s; @@ -777,20 +840,21 @@ public java.lang.String getOutputDataset() { } } /** + * + * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for outputDataset. */ - public com.google.protobuf.ByteString - getOutputDatasetBytes() { + public com.google.protobuf.ByteString getOutputDatasetBytes() { java.lang.Object ref = outputDataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputDataset_ = b; return b; } else { @@ -798,54 +862,61 @@ public java.lang.String getOutputDataset() { } } /** + * + * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The outputDataset to set. * @return This builder for chaining. */ - public Builder setOutputDataset( - java.lang.String value) { + public Builder setOutputDataset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputDataset_ = value; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOutputDataset() { - + outputDataset_ = getDefaultInstance().getOutputDataset(); onChanged(); return this; } /** + * + * *
      * Required. The BigQuery dataset for output.
      * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for outputDataset to set. * @return This builder for chaining. */ - public Builder setOutputDatasetBytes( - com.google.protobuf.ByteString value) { + public Builder setOutputDatasetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputDataset_ = value; onChanged(); return this; @@ -853,19 +924,21 @@ public Builder setOutputDatasetBytes( private java.lang.Object querylogsPath_ = ""; /** + * + * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The querylogsPath. */ public java.lang.String getQuerylogsPath() { java.lang.Object ref = querylogsPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); querylogsPath_ = s; return s; @@ -874,21 +947,22 @@ public java.lang.String getQuerylogsPath() { } } /** + * + * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for querylogsPath. */ - public com.google.protobuf.ByteString - getQuerylogsPathBytes() { + public com.google.protobuf.ByteString getQuerylogsPathBytes() { java.lang.Object ref = querylogsPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); querylogsPath_ = b; return b; } else { @@ -896,57 +970,64 @@ public java.lang.String getQuerylogsPath() { } } /** + * + * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The querylogsPath to set. * @return This builder for chaining. */ - public Builder setQuerylogsPath( - java.lang.String value) { + public Builder setQuerylogsPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + querylogsPath_ = value; onChanged(); return this; } /** + * + * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuerylogsPath() { - + querylogsPath_ = getDefaultInstance().getQuerylogsPath(); onChanged(); return this; } /** + * + * *
      * Optional. An optional Cloud Storage path to write the query logs (which is
      * then used as an input path on the translation task)
      * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for querylogsPath to set. * @return This builder for chaining. */ - public Builder setQuerylogsPathBytes( - com.google.protobuf.ByteString value) { + public Builder setQuerylogsPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + querylogsPath_ = value; onChanged(); return this; @@ -954,19 +1035,21 @@ public Builder setQuerylogsPathBytes( private java.lang.Object dataSource_ = ""; /** + * + * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; @@ -975,21 +1058,22 @@ public java.lang.String getDataSource() { } } /** + * + * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataSource. */ - public com.google.protobuf.ByteString - getDataSourceBytes() { + public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { @@ -997,64 +1081,71 @@ public java.lang.String getDataSource() { } } /** + * + * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataSource to set. * @return This builder for chaining. */ - public Builder setDataSource( - java.lang.String value) { + public Builder setDataSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataSource_ = value; onChanged(); return this; } /** + * + * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataSource() { - + dataSource_ = getDefaultInstance().getDataSource(); onChanged(); return this; } /** + * + * *
      * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
      * from which the input data is extracted.
      * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ - public Builder setDataSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataSource_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1064,30 +1155,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) - private static final com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails(); } - public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssessmentTaskDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AssessmentTaskDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssessmentTaskDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AssessmentTaskDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1099,9 +1192,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java index 7be117b..94cbf10 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskDetailsOrBuilder.java @@ -1,93 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface AssessmentTaskDetailsOrBuilder extends +public interface AssessmentTaskDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputPath. */ java.lang.String getInputPath(); /** + * + * *
    * Required. The Cloud Storage path for assessment input files.
    * 
* * string input_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputPath. */ - com.google.protobuf.ByteString - getInputPathBytes(); + com.google.protobuf.ByteString getInputPathBytes(); /** + * + * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputDataset. */ java.lang.String getOutputDataset(); /** + * + * *
    * Required. The BigQuery dataset for output.
    * 
* * string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for outputDataset. */ - com.google.protobuf.ByteString - getOutputDatasetBytes(); + com.google.protobuf.ByteString getOutputDatasetBytes(); /** + * + * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The querylogsPath. */ java.lang.String getQuerylogsPath(); /** + * + * *
    * Optional. An optional Cloud Storage path to write the query logs (which is
    * then used as an input path on the translation task)
    * 
* * string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for querylogsPath. */ - com.google.protobuf.ByteString - getQuerylogsPathBytes(); + com.google.protobuf.ByteString getQuerylogsPathBytes(); /** + * + * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataSource. */ java.lang.String getDataSource(); /** + * + * *
    * Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    * from which the input data is extracted.
    * 
* * string data_source = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataSource. */ - com.google.protobuf.ByteString - getDataSourceBytes(); + com.google.protobuf.ByteString getDataSourceBytes(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java new file mode 100644 index 0000000..144d5bd --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java @@ -0,0 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class AssessmentTaskProto { + private AssessmentTaskProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n=google/cloud/bigquery/migration/v2alph" + + "a/assessment_task.proto\022\'google.cloud.bi" + + "gquery.migration.v2alpha\032\037google/api/fie" + + "ld_behavior.proto\"\204\001\n\025AssessmentTaskDeta" + + "ils\022\027\n\ninput_path\030\001 \001(\tB\003\340A\002\022\033\n\016output_d" + + "ataset\030\002 \001(\tB\003\340A\002\022\033\n\016querylogs_path\030\003 \001(" + + "\tB\003\340A\001\022\030\n\013data_source\030\004 \001(\tB\003\340A\002\"Q\n$Asse" + + "ssmentOrchestrationResultDetails\022)\n\034outp" + + "ut_tables_schema_version\030\001 \001(\tB\003\340A\001B\352\001\n+" + + "com.google.cloud.bigquery.migration.v2al" + + "phaB\023AssessmentTaskProtoP\001ZPgoogle.golan" + + "g.org/genproto/googleapis/cloud/bigquery" + + "/migration/v2alpha;migration\252\002\'Google.Cl" + + "oud.BigQuery.Migration.V2Alpha\312\002\'Google\\" + + "Cloud\\BigQuery\\Migration\\V2alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentTaskDetails_descriptor, + new java.lang.String[] { + "InputPath", "OutputDataset", "QuerylogsPath", "DataSource", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_AssessmentOrchestrationResultDetails_descriptor, + new java.lang.String[] { + "OutputTablesSchemaVersion", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java similarity index 68% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java index 9a09a2a..897970a 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptions.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * BTEQ translation task related settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.BteqOptions} */ -public final class BteqOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BteqOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.BteqOptions) BteqOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BteqOptions.newBuilder() to construct. private BteqOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BteqOptions() { defaultPathUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BteqOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BteqOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,45 +71,56 @@ private BteqOptions( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder subBuilder = null; - if (projectDataset_ != null) { - subBuilder = projectDataset_.toBuilder(); - } - projectDataset_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.DatasetReference.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectDataset_); - projectDataset_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder subBuilder = + null; + if (projectDataset_ != null) { + subBuilder = projectDataset_.toBuilder(); + } + projectDataset_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectDataset_); + projectDataset_ = subBuilder.buildPartial(); + } + + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - defaultPathUri_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fileReplacementMap_ = com.google.protobuf.MapField.newMapField( - FileReplacementMapDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + defaultPathUri_ = s; + break; } - com.google.protobuf.MapEntry - fileReplacementMap__ = input.readMessage( - FileReplacementMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - fileReplacementMap_.getMutableMap().put( - fileReplacementMap__.getKey(), fileReplacementMap__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fileReplacementMap_ = + com.google.protobuf.MapField.newMapField( + FileReplacementMapDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + fileReplacementMap__ = + input.readMessage( + FileReplacementMapDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + fileReplacementMap_ + .getMutableMap() + .put(fileReplacementMap__.getKey(), fileReplacementMap__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,47 +128,51 @@ private BteqOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetFileReplacementMap(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); } public static final int PROJECT_DATASET_FIELD_NUMBER = 1; private com.google.cloud.bigquery.migration.v2alpha.DatasetReference projectDataset_; /** + * + * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; + * * @return Whether the projectDataset field is set. */ @java.lang.Override @@ -148,19 +180,26 @@ public boolean hasProjectDataset() { return projectDataset_ != null; } /** + * + * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; + * * @return The projectDataset. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDataset() { - return projectDataset_ == null ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() : projectDataset_; + return projectDataset_ == null + ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() + : projectDataset_; } /** + * + * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
@@ -169,19 +208,23 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDa
    * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder getProjectDatasetOrBuilder() {
+  public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder
+      getProjectDatasetOrBuilder() {
     return getProjectDataset();
   }
 
   public static final int DEFAULT_PATH_URI_FIELD_NUMBER = 2;
   private volatile java.lang.Object defaultPathUri_;
   /**
+   *
+   *
    * 
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; + * * @return The defaultPathUri. */ @java.lang.Override @@ -190,30 +233,30 @@ public java.lang.String getDefaultPathUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultPathUri_ = s; return s; } } /** + * + * *
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; + * * @return The bytes for defaultPathUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultPathUriBytes() { + public com.google.protobuf.ByteString getDefaultPathUriBytes() { java.lang.Object ref = defaultPathUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultPathUri_ = b; return b; } else { @@ -222,21 +265,22 @@ public java.lang.String getDefaultPathUri() { } public static final int FILE_REPLACEMENT_MAP_FIELD_NUMBER = 3; + private static final class FileReplacementMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> fileReplacementMap_; + + private com.google.protobuf.MapField fileReplacementMap_; + private com.google.protobuf.MapField - internalGetFileReplacementMap() { + internalGetFileReplacementMap() { if (fileReplacementMap_ == null) { return com.google.protobuf.MapField.emptyMapField( FileReplacementMapDefaultEntryHolder.defaultEntry); @@ -248,6 +292,8 @@ public int getFileReplacementMapCount() { return internalGetFileReplacementMap().getMap().size(); } /** + * + * *
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -256,22 +302,22 @@ public int getFileReplacementMapCount() {
    *
    * map<string, string> file_replacement_map = 3;
    */
-
   @java.lang.Override
-  public boolean containsFileReplacementMap(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsFileReplacementMap(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetFileReplacementMap().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getFileReplacementMapMap()} instead.
-   */
+  /** Use {@link #getFileReplacementMapMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFileReplacementMap() {
     return getFileReplacementMapMap();
   }
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -281,11 +327,12 @@ public java.util.Map getFileReplacementMap()
    * map<string, string> file_replacement_map = 3;
    */
   @java.lang.Override
-
   public java.util.Map getFileReplacementMapMap() {
     return internalGetFileReplacementMap().getMap();
   }
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -295,16 +342,18 @@ public java.util.Map getFileReplacementMapMa
    * map<string, string> file_replacement_map = 3;
    */
   @java.lang.Override
-
   public java.lang.String getFileReplacementMapOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFileReplacementMap().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -314,10 +363,10 @@ public java.lang.String getFileReplacementMapOrDefault(
    * map<string, string> file_replacement_map = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getFileReplacementMapOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public java.lang.String getFileReplacementMapOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFileReplacementMap().getMap();
     if (!map.containsKey(key)) {
@@ -327,6 +376,7 @@ public java.lang.String getFileReplacementMapOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -338,16 +388,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (projectDataset_ != null) {
       output.writeMessage(1, getProjectDataset());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultPathUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultPathUri_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
         output,
         internalGetFileReplacementMap(),
         FileReplacementMapDefaultEntryHolder.defaultEntry,
@@ -362,21 +410,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (projectDataset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getProjectDataset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProjectDataset());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultPathUri_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultPathUri_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetFileReplacementMap().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      fileReplacementMap__ = FileReplacementMapDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, fileReplacementMap__);
+    for (java.util.Map.Entry entry :
+        internalGetFileReplacementMap().getMap().entrySet()) {
+      com.google.protobuf.MapEntry fileReplacementMap__ =
+          FileReplacementMapDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fileReplacementMap__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -386,22 +433,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.BteqOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.migration.v2alpha.BteqOptions other = (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) obj;
+    com.google.cloud.bigquery.migration.v2alpha.BteqOptions other =
+        (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) obj;
 
     if (hasProjectDataset() != other.hasProjectDataset()) return false;
     if (hasProjectDataset()) {
-      if (!getProjectDataset()
-          .equals(other.getProjectDataset())) return false;
+      if (!getProjectDataset().equals(other.getProjectDataset())) return false;
     }
-    if (!getDefaultPathUri()
-        .equals(other.getDefaultPathUri())) return false;
-    if (!internalGetFileReplacementMap().equals(
-        other.internalGetFileReplacementMap())) return false;
+    if (!getDefaultPathUri().equals(other.getDefaultPathUri())) return false;
+    if (!internalGetFileReplacementMap().equals(other.internalGetFileReplacementMap()))
+      return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -429,139 +475,147 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.BteqOptions prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.migration.v2alpha.BteqOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * BTEQ translation task related settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.BteqOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.BteqOptions) com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetFileReplacementMap(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableFileReplacementMap(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.class, + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.BteqOptions.newBuilder() @@ -569,16 +623,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -595,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; } @java.lang.Override @@ -616,7 +669,8 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.BteqOptions buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.BteqOptions result = new com.google.cloud.bigquery.migration.v2alpha.BteqOptions(this); + com.google.cloud.bigquery.migration.v2alpha.BteqOptions result = + new com.google.cloud.bigquery.migration.v2alpha.BteqOptions(this); int from_bitField0_ = bitField0_; if (projectDatasetBuilder_ == null) { result.projectDataset_ = projectDataset_; @@ -634,38 +688,39 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.BteqOptions) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.BteqOptions)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) other); } else { super.mergeFrom(other); return this; @@ -673,7 +728,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.BteqOptions other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) + return this; if (other.hasProjectDataset()) { mergeProjectDataset(other.getProjectDataset()); } @@ -681,8 +737,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.BteqOptions defaultPathUri_ = other.defaultPathUri_; onChanged(); } - internalGetMutableFileReplacementMap().mergeFrom( - other.internalGetFileReplacementMap()); + internalGetMutableFileReplacementMap().mergeFrom(other.internalGetFileReplacementMap()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -702,7 +757,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -711,40 +767,54 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.bigquery.migration.v2alpha.DatasetReference projectDataset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.DatasetReference, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder> projectDatasetBuilder_; + com.google.cloud.bigquery.migration.v2alpha.DatasetReference, + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, + com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder> + projectDatasetBuilder_; /** + * + * *
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
      * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; + * * @return Whether the projectDataset field is set. */ public boolean hasProjectDataset() { return projectDatasetBuilder_ != null || projectDataset_ != null; } /** + * + * *
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
      * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; + * * @return The projectDataset. */ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDataset() { if (projectDatasetBuilder_ == null) { - return projectDataset_ == null ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() : projectDataset_; + return projectDataset_ == null + ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() + : projectDataset_; } else { return projectDatasetBuilder_.getMessage(); } } /** + * + * *
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -752,7 +822,8 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDa
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public Builder setProjectDataset(com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
+    public Builder setProjectDataset(
+        com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
       if (projectDatasetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -766,6 +837,8 @@ public Builder setProjectDataset(com.google.cloud.bigquery.migration.v2alpha.Dat
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -785,6 +858,8 @@ public Builder setProjectDataset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -792,11 +867,15 @@ public Builder setProjectDataset(
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public Builder mergeProjectDataset(com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
+    public Builder mergeProjectDataset(
+        com.google.cloud.bigquery.migration.v2alpha.DatasetReference value) {
       if (projectDatasetBuilder_ == null) {
         if (projectDataset_ != null) {
           projectDataset_ =
-            com.google.cloud.bigquery.migration.v2alpha.DatasetReference.newBuilder(projectDataset_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.migration.v2alpha.DatasetReference.newBuilder(
+                      projectDataset_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           projectDataset_ = value;
         }
@@ -808,6 +887,8 @@ public Builder mergeProjectDataset(com.google.cloud.bigquery.migration.v2alpha.D
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -827,6 +908,8 @@ public Builder clearProjectDataset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -834,12 +917,15 @@ public Builder clearProjectDataset() {
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder getProjectDatasetBuilder() {
-      
+    public com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder
+        getProjectDatasetBuilder() {
+
       onChanged();
       return getProjectDatasetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -847,15 +933,19 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder getP
      *
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
-    public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder getProjectDatasetOrBuilder() {
+    public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder
+        getProjectDatasetOrBuilder() {
       if (projectDatasetBuilder_ != null) {
         return projectDatasetBuilder_.getMessageOrBuilder();
       } else {
-        return projectDataset_ == null ?
-            com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance() : projectDataset_;
+        return projectDataset_ == null
+            ? com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance()
+            : projectDataset_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies the project and dataset in BigQuery that will be used for
      * external table creation during the translation.
@@ -864,14 +954,17 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder get
      * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.DatasetReference, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder> 
+            com.google.cloud.bigquery.migration.v2alpha.DatasetReference,
+            com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder,
+            com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder>
         getProjectDatasetFieldBuilder() {
       if (projectDatasetBuilder_ == null) {
-        projectDatasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.DatasetReference, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder, com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder>(
-                getProjectDataset(),
-                getParentForChildren(),
-                isClean());
+        projectDatasetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.migration.v2alpha.DatasetReference,
+                com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder,
+                com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder>(
+                getProjectDataset(), getParentForChildren(), isClean());
         projectDataset_ = null;
       }
       return projectDatasetBuilder_;
@@ -879,19 +972,21 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder get
 
     private java.lang.Object defaultPathUri_ = "";
     /**
+     *
+     *
      * 
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; + * * @return The defaultPathUri. */ public java.lang.String getDefaultPathUri() { java.lang.Object ref = defaultPathUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultPathUri_ = s; return s; @@ -900,21 +995,22 @@ public java.lang.String getDefaultPathUri() { } } /** + * + * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; + * * @return The bytes for defaultPathUri. */ - public com.google.protobuf.ByteString - getDefaultPathUriBytes() { + public com.google.protobuf.ByteString getDefaultPathUriBytes() { java.lang.Object ref = defaultPathUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultPathUri_ = b; return b; } else { @@ -922,78 +1018,88 @@ public java.lang.String getDefaultPathUri() { } } /** + * + * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; + * * @param value The defaultPathUri to set. * @return This builder for chaining. */ - public Builder setDefaultPathUri( - java.lang.String value) { + public Builder setDefaultPathUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultPathUri_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; + * * @return This builder for chaining. */ public Builder clearDefaultPathUri() { - + defaultPathUri_ = getDefaultInstance().getDefaultPathUri(); onChanged(); return this; } /** + * + * *
      * The Cloud Storage location to be used as the default path for files that
      * are not otherwise specified in the file replacement map.
      * 
* * string default_path_uri = 2; + * * @param value The bytes for defaultPathUri to set. * @return This builder for chaining. */ - public Builder setDefaultPathUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultPathUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultPathUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> fileReplacementMap_; + private com.google.protobuf.MapField fileReplacementMap_; + private com.google.protobuf.MapField - internalGetFileReplacementMap() { + internalGetFileReplacementMap() { if (fileReplacementMap_ == null) { return com.google.protobuf.MapField.emptyMapField( FileReplacementMapDefaultEntryHolder.defaultEntry); } return fileReplacementMap_; } + private com.google.protobuf.MapField - internalGetMutableFileReplacementMap() { - onChanged();; + internalGetMutableFileReplacementMap() { + onChanged(); + ; if (fileReplacementMap_ == null) { - fileReplacementMap_ = com.google.protobuf.MapField.newMapField( - FileReplacementMapDefaultEntryHolder.defaultEntry); + fileReplacementMap_ = + com.google.protobuf.MapField.newMapField( + FileReplacementMapDefaultEntryHolder.defaultEntry); } if (!fileReplacementMap_.isMutable()) { fileReplacementMap_ = fileReplacementMap_.copy(); @@ -1005,6 +1111,8 @@ public int getFileReplacementMapCount() { return internalGetFileReplacementMap().getMap().size(); } /** + * + * *
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1013,22 +1121,22 @@ public int getFileReplacementMapCount() {
      *
      * map<string, string> file_replacement_map = 3;
      */
-
     @java.lang.Override
-    public boolean containsFileReplacementMap(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsFileReplacementMap(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetFileReplacementMap().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getFileReplacementMapMap()} instead.
-     */
+    /** Use {@link #getFileReplacementMapMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFileReplacementMap() {
       return getFileReplacementMapMap();
     }
     /**
+     *
+     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1038,11 +1146,12 @@ public java.util.Map getFileReplacementMap()
      * map<string, string> file_replacement_map = 3;
      */
     @java.lang.Override
-
     public java.util.Map getFileReplacementMapMap() {
       return internalGetFileReplacementMap().getMap();
     }
     /**
+     *
+     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1052,16 +1161,18 @@ public java.util.Map getFileReplacementMapMa
      * map<string, string> file_replacement_map = 3;
      */
     @java.lang.Override
-
     public java.lang.String getFileReplacementMapOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFileReplacementMap().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1071,10 +1182,10 @@ public java.lang.String getFileReplacementMapOrDefault(
      * map<string, string> file_replacement_map = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getFileReplacementMapOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getFileReplacementMapOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFileReplacementMap().getMap();
       if (!map.containsKey(key)) {
@@ -1084,11 +1195,12 @@ public java.lang.String getFileReplacementMapOrThrow(
     }
 
     public Builder clearFileReplacementMap() {
-      internalGetMutableFileReplacementMap().getMutableMap()
-          .clear();
+      internalGetMutableFileReplacementMap().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1097,23 +1209,21 @@ public Builder clearFileReplacementMap() {
      *
      * map<string, string> file_replacement_map = 3;
      */
-
-    public Builder removeFileReplacementMap(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableFileReplacementMap().getMutableMap()
-          .remove(key);
+    public Builder removeFileReplacementMap(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableFileReplacementMap().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableFileReplacementMap() {
+    public java.util.Map getMutableFileReplacementMap() {
       return internalGetMutableFileReplacementMap().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1122,19 +1232,20 @@ public Builder removeFileReplacementMap(
      *
      * map<string, string> file_replacement_map = 3;
      */
-    public Builder putFileReplacementMap(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putFileReplacementMap(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableFileReplacementMap().getMutableMap()
-          .put(key, value);
+      internalGetMutableFileReplacementMap().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
      * in Cloud Storage that should be used in their stead in the translation (the
@@ -1143,16 +1254,14 @@ public Builder putFileReplacementMap(
      *
      * map<string, string> file_replacement_map = 3;
      */
-
     public Builder putAllFileReplacementMap(
         java.util.Map values) {
-      internalGetMutableFileReplacementMap().getMutableMap()
-          .putAll(values);
+      internalGetMutableFileReplacementMap().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1162,12 +1271,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.BteqOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.BteqOptions)
   private static final com.google.cloud.bigquery.migration.v2alpha.BteqOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.BteqOptions();
   }
@@ -1176,16 +1285,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.BteqOptions getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BteqOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new BteqOptions(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BteqOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new BteqOptions(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1200,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
index 303c9fe..5692569 100644
--- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
+++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/BteqOptionsOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto
 
 package com.google.cloud.bigquery.migration.v2alpha;
 
-public interface BteqOptionsOrBuilder extends
+public interface BteqOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.BteqOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; + * * @return Whether the projectDataset field is set. */ boolean hasProjectDataset(); /** + * + * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
    * 
* * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; + * * @return The projectDataset. */ com.google.cloud.bigquery.migration.v2alpha.DatasetReference getProjectDataset(); /** + * + * *
    * Specifies the project and dataset in BigQuery that will be used for
    * external table creation during the translation.
@@ -35,31 +59,39 @@ public interface BteqOptionsOrBuilder extends
    *
    * .google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
    */
-  com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder getProjectDatasetOrBuilder();
+  com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder
+      getProjectDatasetOrBuilder();
 
   /**
+   *
+   *
    * 
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; + * * @return The defaultPathUri. */ java.lang.String getDefaultPathUri(); /** + * + * *
    * The Cloud Storage location to be used as the default path for files that
    * are not otherwise specified in the file replacement map.
    * 
* * string default_path_uri = 2; + * * @return The bytes for defaultPathUri. */ - com.google.protobuf.ByteString - getDefaultPathUriBytes(); + com.google.protobuf.ByteString getDefaultPathUriBytes(); /** + * + * *
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -70,6 +102,8 @@ public interface BteqOptionsOrBuilder extends
    */
   int getFileReplacementMapCount();
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -78,15 +112,13 @@ public interface BteqOptionsOrBuilder extends
    *
    * map<string, string> file_replacement_map = 3;
    */
-  boolean containsFileReplacementMap(
-      java.lang.String key);
-  /**
-   * Use {@link #getFileReplacementMapMap()} instead.
-   */
+  boolean containsFileReplacementMap(java.lang.String key);
+  /** Use {@link #getFileReplacementMapMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getFileReplacementMap();
+  java.util.Map getFileReplacementMap();
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -95,9 +127,10 @@ boolean containsFileReplacementMap(
    *
    * map<string, string> file_replacement_map = 3;
    */
-  java.util.Map
-  getFileReplacementMapMap();
+  java.util.Map getFileReplacementMapMap();
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -108,11 +141,13 @@ boolean containsFileReplacementMap(
    */
 
   /* nullable */
-java.lang.String getFileReplacementMapOrDefault(
+  java.lang.String getFileReplacementMapOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Maps the local paths that are used in BTEQ scripts (the keys) to the paths
    * in Cloud Storage that should be used in their stead in the translation (the
@@ -121,7 +156,5 @@ java.lang.String getFileReplacementMapOrDefault(
    *
    * map<string, string> file_replacement_map = 3;
    */
-
-  java.lang.String getFileReplacementMapOrThrow(
-      java.lang.String key);
+  java.lang.String getFileReplacementMapOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
similarity index 55%
rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
index 604b739..a2ebe5e 100644
--- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
+++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequest.java
@@ -1,40 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto
 
 package com.google.cloud.bigquery.migration.v2alpha;
 
 /**
+ *
+ *
  * 
  * Request to create a migration workflow resource.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest} */ -public final class CreateMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) CreateMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMigrationWorkflowRequest.newBuilder() to construct. - private CreateMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMigrationWorkflowRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMigrationWorkflowRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,38 @@ private CreateMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder subBuilder = null; - if (migrationWorkflow_ != null) { - subBuilder = migrationWorkflow_.toBuilder(); + parent_ = s; + break; } - migrationWorkflow_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migrationWorkflow_); - migrationWorkflow_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder subBuilder = + null; + if (migrationWorkflow_ != null) { + subBuilder = migrationWorkflow_.toBuilder(); + } + migrationWorkflow_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migrationWorkflow_); + migrationWorkflow_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +110,43 @@ private CreateMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +155,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project to which this migration workflow belongs.
    * Example: `projects/foo/locations/bar`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,11 +191,16 @@ public java.lang.String getParent() { public static final int MIGRATION_WORKFLOW_FIELD_NUMBER = 2; private com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migrationWorkflow_; /** + * + * *
    * Required. The migration workflow to create.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migrationWorkflow field is set. */ @java.lang.Override @@ -169,30 +208,43 @@ public boolean hasMigrationWorkflow() { return migrationWorkflow_ != null; } /** + * + * *
    * Required. The migration workflow to create.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migrationWorkflow. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow() { - return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; + return migrationWorkflow_ == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() + : migrationWorkflow_; } /** + * + * *
    * Required. The migration workflow to create.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder + getMigrationWorkflowOrBuilder() { return getMigrationWorkflow(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +276,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (migrationWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMigrationWorkflow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMigrationWorkflow()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +286,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasMigrationWorkflow() != other.hasMigrationWorkflow()) return false; if (hasMigrationWorkflow()) { - if (!getMigrationWorkflow() - .equals(other.getMigrationWorkflow())) return false; + if (!getMigrationWorkflow().equals(other.getMigrationWorkflow())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,135 +322,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a migration workflow resource.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,19 +483,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -436,8 +506,10 @@ public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowReques } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(this); result.parent_ = parent_; if (migrationWorkflowBuilder_ == null) { result.migrationWorkflow_ = migrationWorkflow_; @@ -452,46 +524,52 @@ public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -514,11 +592,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +611,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -551,21 +636,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -573,57 +661,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project to which this migration workflow belongs.
      * Example: `projects/foo/locations/bar`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -631,41 +732,61 @@ public Builder setParentBytes( private com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migrationWorkflow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> migrationWorkflowBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + migrationWorkflowBuilder_; /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migrationWorkflow field is set. */ public boolean hasMigrationWorkflow() { return migrationWorkflowBuilder_ != null || migrationWorkflow_ != null; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migrationWorkflow. */ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { - return migrationWorkflow_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; + return migrationWorkflow_ == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() + : migrationWorkflow_; } else { return migrationWorkflowBuilder_.getMessage(); } } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { + public Builder setMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,11 +800,15 @@ public Builder setMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha. return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMigrationWorkflow( com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { @@ -697,17 +822,25 @@ public Builder setMigrationWorkflow( return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { + public Builder mergeMigrationWorkflow( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { if (migrationWorkflowBuilder_ == null) { if (migrationWorkflow_ != null) { migrationWorkflow_ = - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.newBuilder(migrationWorkflow_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.newBuilder( + migrationWorkflow_) + .mergeFrom(value) + .buildPartial(); } else { migrationWorkflow_ = value; } @@ -719,11 +852,15 @@ public Builder mergeMigrationWorkflow(com.google.cloud.bigquery.migration.v2alph return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMigrationWorkflow() { if (migrationWorkflowBuilder_ == null) { @@ -737,55 +874,73 @@ public Builder clearMigrationWorkflow() { return this; } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder getMigrationWorkflowBuilder() { - + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder + getMigrationWorkflowBuilder() { + onChanged(); return getMigrationWorkflowFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder + getMigrationWorkflowOrBuilder() { if (migrationWorkflowBuilder_ != null) { return migrationWorkflowBuilder_.getMessageOrBuilder(); } else { - return migrationWorkflow_ == null ? - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() : migrationWorkflow_; + return migrationWorkflow_ == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance() + : migrationWorkflow_; } } /** + * + * *
      * Required. The migration workflow to create.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> getMigrationWorkflowFieldBuilder() { if (migrationWorkflowBuilder_ == null) { - migrationWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( - getMigrationWorkflow(), - getParentForChildren(), - isClean()); + migrationWorkflowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( + getMigrationWorkflow(), getParentForChildren(), isClean()); migrationWorkflow_ = null; } return migrationWorkflowBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +950,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +988,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..fff1ec9 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/CreateMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface CreateMigrationWorkflowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The name of the project to which this migration workflow belongs.
+   * Example: `projects/foo/locations/bar`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The migration workflow to create.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the migrationWorkflow field is set. + */ + boolean hasMigrationWorkflow(); + /** + * + * + *
+   * Required. The migration workflow to create.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The migrationWorkflow. + */ + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(); + /** + * + * + *
+   * Required. The migration workflow to create.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder + getMigrationWorkflowOrBuilder(); +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java similarity index 70% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java index ca05b75..28dde68 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReference.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Reference to a BigQuery dataset.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DatasetReference} */ -public final class DatasetReference extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DatasetReference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.DatasetReference) DatasetReferenceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatasetReference.newBuilder() to construct. private DatasetReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DatasetReference() { datasetId_ = ""; projectId_ = ""; @@ -26,16 +44,15 @@ private DatasetReference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatasetReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DatasetReference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DatasetReference( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - datasetId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + datasetId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private DatasetReference( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); } public static final int DATASET_ID_FIELD_NUMBER = 1; private volatile java.lang.Object datasetId_; /** + * + * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -110,6 +133,7 @@ private DatasetReference(
    * 
* * string dataset_id = 1; + * * @return The datasetId. */ @java.lang.Override @@ -118,14 +142,15 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** + * + * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -133,16 +158,15 @@ public java.lang.String getDatasetId() {
    * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -153,11 +177,14 @@ public java.lang.String getDatasetId() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; + * * @return The projectId. */ @java.lang.Override @@ -166,29 +193,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -197,6 +224,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } @@ -239,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.DatasetReference)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.DatasetReference other = (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) obj; + com.google.cloud.bigquery.migration.v2alpha.DatasetReference other = + (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) obj; - if (!getDatasetId() - .equals(other.getDatasetId())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getDatasetId().equals(other.getDatasetId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.DatasetReference prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.DatasetReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Reference to a BigQuery dataset.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DatasetReference} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.DatasetReference) com.google.cloud.bigquery.migration.v2alpha.DatasetReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.class, + com.google.cloud.bigquery.migration.v2alpha.DatasetReference.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.DatasetReference.newBuilder() @@ -389,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,13 +445,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.DatasetReference + getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance(); } @@ -431,7 +467,8 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.DatasetReference buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.DatasetReference result = new com.google.cloud.bigquery.migration.v2alpha.DatasetReference(this); + com.google.cloud.bigquery.migration.v2alpha.DatasetReference result = + new com.google.cloud.bigquery.migration.v2alpha.DatasetReference(this); result.datasetId_ = datasetId_; result.projectId_ = projectId_; onBuilt(); @@ -442,38 +479,39 @@ public com.google.cloud.bigquery.migration.v2alpha.DatasetReference buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.DatasetReference) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.DatasetReference)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.DatasetReference) other); } else { super.mergeFrom(other); return this; @@ -481,7 +519,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.DatasetReference other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.migration.v2alpha.DatasetReference.getDefaultInstance()) + return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); @@ -509,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.DatasetReference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,6 +562,8 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** + * + * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -528,13 +571,13 @@ public Builder mergeFrom(
      * 
* * string dataset_id = 1; + * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -543,6 +586,8 @@ public java.lang.String getDatasetId() { } } /** + * + * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -550,15 +595,14 @@ public java.lang.String getDatasetId() {
      * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -566,6 +610,8 @@ public java.lang.String getDatasetId() { } } /** + * + * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -573,20 +619,22 @@ public java.lang.String getDatasetId() {
      * 
* * string dataset_id = 1; + * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId( - java.lang.String value) { + public Builder setDatasetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** + * + * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -594,15 +642,18 @@ public Builder setDatasetId(
      * 
* * string dataset_id = 1; + * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** + * + * *
      * A unique ID for this dataset, without the project name. The ID
      * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -610,16 +661,16 @@ public Builder clearDatasetId() {
      * 
* * string dataset_id = 1; + * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; @@ -627,18 +678,20 @@ public Builder setDatasetIdBytes( private java.lang.Object projectId_ = ""; /** + * + * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -647,20 +700,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -668,61 +722,68 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * The ID of the project containing this dataset.
      * 
* * string project_id = 2; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +793,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.DatasetReference) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.DatasetReference) - private static final com.google.cloud.bigquery.migration.v2alpha.DatasetReference DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.DatasetReference + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.DatasetReference(); } @@ -746,16 +808,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.DatasetReference getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatasetReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatasetReference(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatasetReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatasetReference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +832,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.DatasetReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java similarity index 62% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java index 18692d6..8b7ef59 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DatasetReferenceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface DatasetReferenceOrBuilder extends +public interface DatasetReferenceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.DatasetReference) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -15,10 +33,13 @@ public interface DatasetReferenceOrBuilder extends
    * 
* * string dataset_id = 1; + * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * *
    * A unique ID for this dataset, without the project name. The ID
    * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
@@ -26,28 +47,33 @@ public interface DatasetReferenceOrBuilder extends
    * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString - getDatasetIdBytes(); + com.google.protobuf.ByteString getDatasetIdBytes(); /** + * + * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * The ID of the project containing this dataset.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java similarity index 55% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java index ba1a8f5..8760f1b 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A request to delete a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest} */ -public final class DeleteMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) DeleteMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMigrationWorkflowRequest.newBuilder() to construct. - private DeleteMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMigrationWorkflowRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +92,43 @@ private DeleteMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +137,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +207,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,135 +235,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to delete a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +390,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +413,10 @@ public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowReques } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +426,52 @@ public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,11 +491,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +510,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +535,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +560,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,30 +640,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +678,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..2e7153d --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/DeleteMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface DeleteMigrationWorkflowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java similarity index 67% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java index e64ca5c..08254ed 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetail.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Provides details for errors, e.g. issues that where encountered when
  * processing a subtask.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorDetail}
  */
-public final class ErrorDetail extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ErrorDetail extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ErrorDetail)
     ErrorDetailOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ErrorDetail.newBuilder() to construct.
   private ErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ErrorDetail() {
-  }
+
+  private ErrorDetail() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ErrorDetail();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ErrorDetail(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,44 @@ private ErrorDetail(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder subBuilder = null;
-            if (location_ != null) {
-              subBuilder = location_.toBuilder();
-            }
-            location_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(location_);
-              location_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder subBuilder = null;
+              if (location_ != null) {
+                subBuilder = location_.toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(location_);
+                location_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.rpc.ErrorInfo.Builder subBuilder = null;
-            if (errorInfo_ != null) {
-              subBuilder = errorInfo_.toBuilder();
-            }
-            errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(errorInfo_);
-              errorInfo_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.rpc.ErrorInfo.Builder subBuilder = null;
+              if (errorInfo_ != null) {
+                subBuilder = errorInfo_.toBuilder();
+              }
+              errorInfo_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(errorInfo_);
+                errorInfo_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,34 +114,41 @@ private ErrorDetail(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class,
+            com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.migration.v2alpha.ErrorLocation location_;
   /**
+   *
+   *
    * 
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the location field is set. */ @java.lang.Override @@ -128,23 +156,34 @@ public boolean hasLocation() { return location_ != null; } /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The location. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getLocation() { - return location_ == null ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() + : location_; } /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLocationOrBuilder() { @@ -154,11 +193,14 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLoc public static final int ERROR_INFO_FIELD_NUMBER = 2; private com.google.rpc.ErrorInfo errorInfo_; /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the errorInfo field is set. */ @java.lang.Override @@ -166,11 +208,14 @@ public boolean hasErrorInfo() { return errorInfo_ != null; } /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorInfo. */ @java.lang.Override @@ -178,6 +223,8 @@ public com.google.rpc.ErrorInfo getErrorInfo() { return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
@@ -190,6 +237,7 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -219,12 +266,10 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); } if (errorInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getErrorInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getErrorInfo()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +279,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail other = (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) obj; + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail other = + (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; } if (hasErrorInfo() != other.hasErrorInfo()) return false; if (hasErrorInfo()) { - if (!getErrorInfo() - .equals(other.getErrorInfo())) return false; + if (!getErrorInfo().equals(other.getErrorInfo())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +320,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Provides details for errors, e.g. issues that where encountered when
    * processing a subtask.
@@ -373,21 +425,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorDetail}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ErrorDetail)
       com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.class,
+              com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.newBuilder()
@@ -395,16 +449,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +477,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +498,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.ErrorDetail result = new com.google.cloud.bigquery.migration.v2alpha.ErrorDetail(this);
+      com.google.cloud.bigquery.migration.v2alpha.ErrorDetail result =
+          new com.google.cloud.bigquery.migration.v2alpha.ErrorDetail(this);
       if (locationBuilder_ == null) {
         result.location_ = location_;
       } else {
@@ -464,38 +518,39 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorDetail)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,7 +558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance())
+        return this;
       if (other.hasLocation()) {
         mergeLocation(other.getLocation());
       }
@@ -529,7 +585,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.ErrorDetail) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -541,39 +598,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.bigquery.migration.v2alpha.ErrorLocation location_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder> locationBuilder_;
+            com.google.cloud.bigquery.migration.v2alpha.ErrorLocation,
+            com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder,
+            com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder>
+        locationBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The location. */ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getLocation() { if (locationBuilder_ == null) { - return location_ == null ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() + : location_; } else { return locationBuilder_.getMessage(); } } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation value) { if (locationBuilder_ == null) { @@ -589,11 +665,15 @@ public Builder setLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLoca return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLocation( com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder builderForValue) { @@ -607,17 +687,23 @@ public Builder setLocation( return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.newBuilder(location_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.newBuilder(location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -629,11 +715,15 @@ public Builder mergeLocation(com.google.cloud.bigquery.migration.v2alpha.ErrorLo return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLocation() { if (locationBuilder_ == null) { @@ -647,48 +737,65 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLocationOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder + getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null ? - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance() + : location_; } } /** + * + * *
      * Optional. The exact location within the resource (if applicable).
      * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, + com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder>( - getLocation(), - getParentForChildren(), - isClean()); + locationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation, + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder, + com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder>( + getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; @@ -696,24 +803,33 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLoc private com.google.rpc.ErrorInfo errorInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> errorInfoBuilder_; + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> + errorInfoBuilder_; /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the errorInfo field is set. */ public boolean hasErrorInfo() { return errorInfoBuilder_ != null || errorInfo_ != null; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorInfo. */ public com.google.rpc.ErrorInfo getErrorInfo() { @@ -724,6 +840,8 @@ public com.google.rpc.ErrorInfo getErrorInfo() { } } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -744,14 +862,15 @@ public Builder setErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setErrorInfo( - com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setErrorInfo(com.google.rpc.ErrorInfo.Builder builderForValue) { if (errorInfoBuilder_ == null) { errorInfo_ = builderForValue.build(); onChanged(); @@ -762,6 +881,8 @@ public Builder setErrorInfo( return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -772,7 +893,7 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { if (errorInfoBuilder_ == null) { if (errorInfo_ != null) { errorInfo_ = - com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial(); } else { errorInfo_ = value; } @@ -784,6 +905,8 @@ public Builder mergeErrorInfo(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -802,6 +925,8 @@ public Builder clearErrorInfo() { return this; } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -809,11 +934,13 @@ public Builder clearErrorInfo() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.rpc.ErrorInfo.Builder getErrorInfoBuilder() { - + onChanged(); return getErrorInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -824,11 +951,12 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { if (errorInfoBuilder_ != null) { return errorInfoBuilder_.getMessageOrBuilder(); } else { - return errorInfo_ == null ? - com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; + return errorInfo_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_; } } /** + * + * *
      * Required. Describes the cause of the error with structured detail.
      * 
@@ -836,21 +964,24 @@ public com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() { * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> getErrorInfoFieldBuilder() { if (errorInfoBuilder_ == null) { - errorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( - getErrorInfo(), - getParentForChildren(), - isClean()); + errorInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder>( + getErrorInfo(), getParentForChildren(), isClean()); errorInfo_ = null; } return errorInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +991,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ErrorDetail) private static final com.google.cloud.bigquery.migration.v2alpha.ErrorDetail DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ErrorDetail(); } @@ -874,16 +1005,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +1029,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java similarity index 60% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java index 0a04e4f..1173012 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorDetailOrBuilder.java @@ -1,58 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ErrorDetailOrBuilder extends +public interface ErrorDetailOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ErrorDetail) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The location. */ com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getLocation(); /** + * + * *
    * Optional. The exact location within the resource (if applicable).
    * 
* - * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder getLocationOrBuilder(); /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the errorInfo field is set. */ boolean hasErrorInfo(); /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
* * .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorInfo. */ com.google.rpc.ErrorInfo getErrorInfo(); /** + * + * *
    * Required. Describes the cause of the error with structured detail.
    * 
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java index f80f6a2..31fa1f0 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocation.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Holds information about where the error is located.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorLocation} */ -public final class ErrorLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ErrorLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ErrorLocation) ErrorLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ErrorLocation.newBuilder() to construct. private ErrorLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ErrorLocation() { - } + + private ErrorLocation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ErrorLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ErrorLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,23 @@ private ErrorLocation( case 0: done = true; break; - case 8: { - - line_ = input.readInt32(); - break; - } - case 16: { - - column_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + line_ = input.readInt32(); + break; + } + case 16: + { + column_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,35 +92,40 @@ private ErrorLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** + * + * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The line. */ @java.lang.Override @@ -115,12 +136,15 @@ public int getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** + * + * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ @java.lang.Override @@ -129,6 +153,7 @@ public int getColumn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +165,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (line_ != 0) { output.writeInt32(1, line_); } @@ -158,12 +182,10 @@ public int getSerializedSize() { size = 0; if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, line_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, line_); } if (column_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, column_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,17 +195,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorLocation)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation other = (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) obj; + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation other = + (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) obj; - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; + if (getLine() != other.getLine()) return false; + if (getColumn() != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,117 +226,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Holds information about where the error is located.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ErrorLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ErrorLocation) com.google.cloud.bigquery.migration.v2alpha.ErrorLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.class, + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.newBuilder() @@ -323,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; } @java.lang.Override @@ -365,7 +395,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ErrorLocation result = new com.google.cloud.bigquery.migration.v2alpha.ErrorLocation(this); + com.google.cloud.bigquery.migration.v2alpha.ErrorLocation result = + new com.google.cloud.bigquery.migration.v2alpha.ErrorLocation(this); result.line_ = line_; result.column_ = column_; onBuilt(); @@ -376,38 +407,39 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorLocation)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) other); } else { super.mergeFrom(other); return this; @@ -415,7 +447,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ErrorLocation other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.getDefaultInstance()) + return this; if (other.getLine() != 0) { setLine(other.getLine()); } @@ -441,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.ErrorLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,14 +485,17 @@ public Builder mergeFrom( return this; } - private int line_ ; + private int line_; /** + * + * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The line. */ @java.lang.Override @@ -466,45 +503,54 @@ public int getLine() { return line_; } /** + * + * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { - + line_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If applicable, denotes the line where the error occurred. A zero value
      * means that there is no line information.
      * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLine() { - + line_ = 0; onChanged(); return this; } - private int column_ ; + private int column_; /** + * + * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ @java.lang.Override @@ -512,39 +558,45 @@ public int getColumn() { return column_; } /** + * + * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { - + column_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If applicable, denotes the column where the error occurred. A zero value
      * means that there is no columns information.
      * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -554,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ErrorLocation) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ErrorLocation) private static final com.google.cloud.bigquery.migration.v2alpha.ErrorLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ErrorLocation(); } @@ -568,16 +620,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +644,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.ErrorLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java similarity index 58% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java index 67746da..ed2cd6a 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ErrorLocationOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ErrorLocationOrBuilder extends +public interface ErrorLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ErrorLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. If applicable, denotes the line where the error occurred. A zero value
    * means that there is no line information.
    * 
* * int32 line = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The line. */ int getLine(); /** + * + * *
    * Optional. If applicable, denotes the column where the error occurred. A zero value
    * means that there is no columns information.
    * 
* * int32 column = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ int getColumn(); diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java index f66fbcd..3d67b0f 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Filter.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * The filter applied to fields of translation details.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Filter} */ -public final class Filter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Filter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.Filter) FilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Filter() { inputFileExclusionPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Filter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private Filter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputFileExclusionPrefixes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputFileExclusionPrefixes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + inputFileExclusionPrefixes_.add(s); + break; } - inputFileExclusionPrefixes_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private Filter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inputFileExclusionPrefixes_ = inputFileExclusionPrefixes_.getUnmodifiableView(); @@ -87,50 +104,61 @@ private Filter( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Filter.class, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Filter.class, + com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); } public static final int INPUT_FILE_EXCLUSION_PREFIXES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList inputFileExclusionPrefixes_; /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return A list containing the inputFileExclusionPrefixes. */ - public com.google.protobuf.ProtocolStringList - getInputFileExclusionPrefixesList() { + public com.google.protobuf.ProtocolStringList getInputFileExclusionPrefixesList() { return inputFileExclusionPrefixes_; } /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return The count of inputFileExclusionPrefixes. */ public int getInputFileExclusionPrefixesCount() { return inputFileExclusionPrefixes_.size(); } /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index of the element to return. * @return The inputFileExclusionPrefixes at the given index. */ @@ -138,20 +166,23 @@ public java.lang.String getInputFileExclusionPrefixes(int index) { return inputFileExclusionPrefixes_.get(index); } /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index of the value to return. * @return The bytes of the inputFileExclusionPrefixes at the given index. */ - public com.google.protobuf.ByteString - getInputFileExclusionPrefixesBytes(int index) { + public com.google.protobuf.ByteString getInputFileExclusionPrefixesBytes(int index) { return inputFileExclusionPrefixes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,10 +194,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < inputFileExclusionPrefixes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputFileExclusionPrefixes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 1, inputFileExclusionPrefixes_.getRaw(i)); } unknownFields.writeTo(output); } @@ -193,15 +224,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.Filter)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.Filter other = (com.google.cloud.bigquery.migration.v2alpha.Filter) obj; + com.google.cloud.bigquery.migration.v2alpha.Filter other = + (com.google.cloud.bigquery.migration.v2alpha.Filter) obj; - if (!getInputFileExclusionPrefixesList() - .equals(other.getInputFileExclusionPrefixesList())) return false; + if (!getInputFileExclusionPrefixesList().equals(other.getInputFileExclusionPrefixesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,117 +255,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Filter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The filter applied to fields of translation details.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Filter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.Filter) com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Filter.class, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Filter.class, + com.google.cloud.bigquery.migration.v2alpha.Filter.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.Filter.newBuilder() @@ -341,16 +382,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; } @java.lang.Override @@ -381,7 +421,8 @@ public com.google.cloud.bigquery.migration.v2alpha.Filter build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Filter buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.Filter result = new com.google.cloud.bigquery.migration.v2alpha.Filter(this); + com.google.cloud.bigquery.migration.v2alpha.Filter result = + new com.google.cloud.bigquery.migration.v2alpha.Filter(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { inputFileExclusionPrefixes_ = inputFileExclusionPrefixes_.getUnmodifiableView(); @@ -396,38 +437,39 @@ public com.google.cloud.bigquery.migration.v2alpha.Filter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.Filter) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Filter)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Filter) other); } else { super.mergeFrom(other); return this; @@ -435,7 +477,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Filter other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance()) + return this; if (!other.inputFileExclusionPrefixes_.isEmpty()) { if (inputFileExclusionPrefixes_.isEmpty()) { inputFileExclusionPrefixes_ = other.inputFileExclusionPrefixes_; @@ -465,7 +508,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.Filter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.Filter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -474,44 +518,56 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList inputFileExclusionPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList inputFileExclusionPrefixes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInputFileExclusionPrefixesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inputFileExclusionPrefixes_ = new com.google.protobuf.LazyStringArrayList(inputFileExclusionPrefixes_); + inputFileExclusionPrefixes_ = + new com.google.protobuf.LazyStringArrayList(inputFileExclusionPrefixes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return A list containing the inputFileExclusionPrefixes. */ - public com.google.protobuf.ProtocolStringList - getInputFileExclusionPrefixesList() { + public com.google.protobuf.ProtocolStringList getInputFileExclusionPrefixesList() { return inputFileExclusionPrefixes_.getUnmodifiableView(); } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return The count of inputFileExclusionPrefixes. */ public int getInputFileExclusionPrefixesCount() { return inputFileExclusionPrefixes_.size(); } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index of the element to return. * @return The inputFileExclusionPrefixes at the given index. */ @@ -519,80 +575,90 @@ public java.lang.String getInputFileExclusionPrefixes(int index) { return inputFileExclusionPrefixes_.get(index); } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index of the value to return. * @return The bytes of the inputFileExclusionPrefixes at the given index. */ - public com.google.protobuf.ByteString - getInputFileExclusionPrefixesBytes(int index) { + public com.google.protobuf.ByteString getInputFileExclusionPrefixesBytes(int index) { return inputFileExclusionPrefixes_.getByteString(index); } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index to set the value at. * @param value The inputFileExclusionPrefixes to set. * @return This builder for chaining. */ - public Builder setInputFileExclusionPrefixes( - int index, java.lang.String value) { + public Builder setInputFileExclusionPrefixes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputFileExclusionPrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInputFileExclusionPrefixesIsMutable(); inputFileExclusionPrefixes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param value The inputFileExclusionPrefixes to add. * @return This builder for chaining. */ - public Builder addInputFileExclusionPrefixes( - java.lang.String value) { + public Builder addInputFileExclusionPrefixes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputFileExclusionPrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInputFileExclusionPrefixesIsMutable(); inputFileExclusionPrefixes_.add(value); onChanged(); return this; } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param values The inputFileExclusionPrefixes to add. * @return This builder for chaining. */ - public Builder addAllInputFileExclusionPrefixes( - java.lang.Iterable values) { + public Builder addAllInputFileExclusionPrefixes(java.lang.Iterable values) { ensureInputFileExclusionPrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inputFileExclusionPrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputFileExclusionPrefixes_); onChanged(); return this; } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return This builder for chaining. */ public Builder clearInputFileExclusionPrefixes() { @@ -602,28 +668,30 @@ public Builder clearInputFileExclusionPrefixes() { return this; } /** + * + * *
      * The list of prefixes used to exclude processing for input files.
      * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param value The bytes of the inputFileExclusionPrefixes to add. * @return This builder for chaining. */ - public Builder addInputFileExclusionPrefixesBytes( - com.google.protobuf.ByteString value) { + public Builder addInputFileExclusionPrefixesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInputFileExclusionPrefixesIsMutable(); inputFileExclusionPrefixes_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -633,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.Filter) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.Filter) private static final com.google.cloud.bigquery.migration.v2alpha.Filter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.Filter(); } @@ -647,16 +715,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.Filter getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Filter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,6 +739,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java similarity index 64% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java index e541138..d0448af 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/FilterOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface FilterOrBuilder extends +public interface FilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.Filter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return A list containing the inputFileExclusionPrefixes. */ - java.util.List - getInputFileExclusionPrefixesList(); + java.util.List getInputFileExclusionPrefixesList(); /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @return The count of inputFileExclusionPrefixes. */ int getInputFileExclusionPrefixesCount(); /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index of the element to return. * @return The inputFileExclusionPrefixes at the given index. */ java.lang.String getInputFileExclusionPrefixes(int index); /** + * + * *
    * The list of prefixes used to exclude processing for input files.
    * 
* * repeated string input_file_exclusion_prefixes = 1; + * * @param index The index of the value to return. * @return The bytes of the inputFileExclusionPrefixes at the given index. */ - com.google.protobuf.ByteString - getInputFileExclusionPrefixesBytes(int index); + com.google.protobuf.ByteString getInputFileExclusionPrefixesBytes(int index); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java similarity index 64% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java index c2ac6c1..a5b7e39 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A request to get a previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest} */ -public final class GetMigrationSubtaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMigrationSubtaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) GetMigrationSubtaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMigrationSubtaskRequest.newBuilder() to construct. private GetMigrationSubtaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMigrationSubtaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMigrationSubtaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMigrationSubtaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetMigrationSubtaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetMigrationSubtaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,11 +186,15 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -169,11 +202,15 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -181,11 +218,14 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -193,6 +233,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,8 +265,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +275,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other = + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +311,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get a previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class, + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,19 +465,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest build() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -437,7 +489,8 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest bu @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest(this); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest result = + new com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -452,46 +505,51 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -518,7 +576,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +590,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,21 +615,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -573,57 +640,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration subtask.
      * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -631,24 +711,35 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -659,11 +750,14 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -679,14 +773,16 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -697,17 +793,20 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -719,11 +818,14 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -737,55 +839,66 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +908,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationSubtaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationSubtaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationSubtaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationSubtaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +945,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java index f7eda40..0d21a98 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationSubtaskRequestOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface GetMigrationSubtaskRequestOrBuilder extends +public interface GetMigrationSubtaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The unique identifier for the migration subtask.
    * Example: `projects/123/locations/us/workflows/1234/subtasks/543`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java similarity index 64% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java index e41fe2a..e751f78 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A request to get a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest} */ -public final class GetMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) GetMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMigrationWorkflowRequest.newBuilder() to construct. private GetMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,11 +186,14 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -169,11 +201,14 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ @java.lang.Override @@ -181,6 +216,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The list of fields to be retrieved.
    * 
@@ -193,6 +230,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,8 +262,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +272,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +308,146 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,19 +463,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -437,7 +487,8 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest b @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(this); + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -452,46 +503,52 @@ public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -518,7 +575,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +589,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,21 +614,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -573,57 +639,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -631,24 +710,33 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -659,6 +747,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -679,14 +769,15 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -697,6 +788,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -707,7 +800,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -719,6 +812,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -737,6 +832,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -744,11 +841,13 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -759,11 +858,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -771,21 +871,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +898,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +936,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java index 4856afd..d512a7d 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/GetMigrationWorkflowRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface GetMigrationWorkflowRequestOrBuilder extends +public interface GetMigrationWorkflowRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java similarity index 62% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java index e85d936..0e29d1f 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Settings related to SQL identifiers.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings} */ -public final class IdentifierSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IdentifierSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) IdentifierSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IdentifierSettings.newBuilder() to construct. private IdentifierSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IdentifierSettings() { outputIdentifierCase_ = 0; identifierRewriteMode_ = 0; @@ -26,16 +44,15 @@ private IdentifierSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IdentifierSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IdentifierSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private IdentifierSettings( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - outputIdentifierCase_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + outputIdentifierCase_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - identifierRewriteMode_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + identifierRewriteMode_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private IdentifierSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); } /** + * + * *
    * The identifier case type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase} */ - public enum IdentifierCase - implements com.google.protobuf.ProtocolMessageEnum { + public enum IdentifierCase implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The identifier case is not specified.
      * 
@@ -118,6 +142,8 @@ public enum IdentifierCase */ IDENTIFIER_CASE_UNSPECIFIED(0), /** + * + * *
      * Identifiers' cases will be kept as the original cases.
      * 
@@ -126,6 +152,8 @@ public enum IdentifierCase */ ORIGINAL(1), /** + * + * *
      * Identifiers will be in upper cases.
      * 
@@ -134,6 +162,8 @@ public enum IdentifierCase */ UPPER(2), /** + * + * *
      * Identifiers will be in lower cases.
      * 
@@ -145,6 +175,8 @@ public enum IdentifierCase ; /** + * + * *
      * The identifier case is not specified.
      * 
@@ -153,6 +185,8 @@ public enum IdentifierCase */ public static final int IDENTIFIER_CASE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Identifiers' cases will be kept as the original cases.
      * 
@@ -161,6 +195,8 @@ public enum IdentifierCase */ public static final int ORIGINAL_VALUE = 1; /** + * + * *
      * Identifiers will be in upper cases.
      * 
@@ -169,6 +205,8 @@ public enum IdentifierCase */ public static final int UPPER_VALUE = 2; /** + * + * *
      * Identifiers will be in lower cases.
      * 
@@ -177,7 +215,6 @@ public enum IdentifierCase */ public static final int LOWER_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,50 +239,53 @@ public static IdentifierCase valueOf(int value) { */ public static IdentifierCase forNumber(int value) { switch (value) { - case 0: return IDENTIFIER_CASE_UNSPECIFIED; - case 1: return ORIGINAL; - case 2: return UPPER; - case 3: return LOWER; - default: return null; + case 0: + return IDENTIFIER_CASE_UNSPECIFIED; + case 1: + return ORIGINAL; + case 2: + return UPPER; + case 3: + return LOWER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IdentifierCase> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IdentifierCase findValueByNumber(int number) { - return IdentifierCase.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IdentifierCase findValueByNumber(int number) { + return IdentifierCase.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final IdentifierCase[] VALUES = values(); - public static IdentifierCase valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IdentifierCase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -263,15 +303,19 @@ private IdentifierCase(int value) { } /** + * + * *
    * The SQL identifier rewrite mode.
    * 
* - * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode} + * Protobuf enum {@code + * google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode} */ - public enum IdentifierRewriteMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum IdentifierRewriteMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * SQL Identifier rewrite mode is unspecified.
      * 
@@ -280,6 +324,8 @@ public enum IdentifierRewriteMode */ IDENTIFIER_REWRITE_MODE_UNSPECIFIED(0), /** + * + * *
      * SQL identifiers won't be rewrite.
      * 
@@ -288,6 +334,8 @@ public enum IdentifierRewriteMode */ NONE(1), /** + * + * *
      * All SQL identifiers will be rewrite.
      * 
@@ -299,6 +347,8 @@ public enum IdentifierRewriteMode ; /** + * + * *
      * SQL Identifier rewrite mode is unspecified.
      * 
@@ -307,6 +357,8 @@ public enum IdentifierRewriteMode */ public static final int IDENTIFIER_REWRITE_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SQL identifiers won't be rewrite.
      * 
@@ -315,6 +367,8 @@ public enum IdentifierRewriteMode */ public static final int NONE_VALUE = 1; /** + * + * *
      * All SQL identifiers will be rewrite.
      * 
@@ -323,7 +377,6 @@ public enum IdentifierRewriteMode */ public static final int REWRITE_ALL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -348,10 +401,14 @@ public static IdentifierRewriteMode valueOf(int value) { */ public static IdentifierRewriteMode forNumber(int value) { switch (value) { - case 0: return IDENTIFIER_REWRITE_MODE_UNSPECIFIED; - case 1: return NONE; - case 2: return REWRITE_ALL; - default: return null; + case 0: + return IDENTIFIER_REWRITE_MODE_UNSPECIFIED; + case 1: + return NONE; + case 2: + return REWRITE_ALL; + default: + return null; } } @@ -359,29 +416,31 @@ public static IdentifierRewriteMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IdentifierRewriteMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IdentifierRewriteMode findValueByNumber(int number) { - return IdentifierRewriteMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IdentifierRewriteMode findValueByNumber(int number) { + return IdentifierRewriteMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDescriptor() + .getEnumTypes() + .get(1); } private static final IdentifierRewriteMode[] VALUES = values(); @@ -389,8 +448,7 @@ public IdentifierRewriteMode findValueByNumber(int number) { public static IdentifierRewriteMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -410,58 +468,94 @@ private IdentifierRewriteMode(int value) { public static final int OUTPUT_IDENTIFIER_CASE_FIELD_NUMBER = 1; private int outputIdentifierCase_; /** + * + * *
    * The setting to control output queries' identifier case.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @return The enum numeric value on the wire for outputIdentifierCase. */ - @java.lang.Override public int getOutputIdentifierCaseValue() { + @java.lang.Override + public int getOutputIdentifierCaseValue() { return outputIdentifierCase_; } /** + * + * *
    * The setting to control output queries' identifier case.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @return The outputIdentifierCase. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase getOutputIdentifierCase() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase + getOutputIdentifierCase() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf(outputIdentifierCase_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf( + outputIdentifierCase_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.UNRECOGNIZED + : result; } public static final int IDENTIFIER_REWRITE_MODE_FIELD_NUMBER = 2; private int identifierRewriteMode_; /** + * + * *
    * Specifies the rewrite mode for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @return The enum numeric value on the wire for identifierRewriteMode. */ - @java.lang.Override public int getIdentifierRewriteModeValue() { + @java.lang.Override + public int getIdentifierRewriteModeValue() { return identifierRewriteMode_; } /** + * + * *
    * Specifies the rewrite mode for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @return The identifierRewriteMode. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode getIdentifierRewriteMode() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + getIdentifierRewriteMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.valueOf(identifierRewriteMode_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + .valueOf(identifierRewriteMode_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,12 +567,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (outputIdentifierCase_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.IDENTIFIER_CASE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (outputIdentifierCase_ + != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase + .IDENTIFIER_CASE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, outputIdentifierCase_); } - if (identifierRewriteMode_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.IDENTIFIER_REWRITE_MODE_UNSPECIFIED.getNumber()) { + if (identifierRewriteMode_ + != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + .IDENTIFIER_REWRITE_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, identifierRewriteMode_); } unknownFields.writeTo(output); @@ -490,13 +589,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (outputIdentifierCase_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.IDENTIFIER_CASE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, outputIdentifierCase_); + if (outputIdentifierCase_ + != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase + .IDENTIFIER_CASE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, outputIdentifierCase_); } - if (identifierRewriteMode_ != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.IDENTIFIER_REWRITE_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, identifierRewriteMode_); + if (identifierRewriteMode_ + != com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + .IDENTIFIER_REWRITE_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, identifierRewriteMode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -506,12 +609,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings other = (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) obj; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings other = + (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) obj; if (outputIdentifierCase_ != other.outputIdentifierCase_) return false; if (identifierRewriteMode_ != other.identifierRewriteMode_) return false; @@ -536,117 +640,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Settings related to SQL identifiers.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.IdentifierSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.class, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.newBuilder() @@ -654,16 +768,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -675,13 +788,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings + getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance(); } @@ -696,7 +810,8 @@ public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings result = new com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings(this); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings result = + new com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings(this); result.outputIdentifierCase_ = outputIdentifierCase_; result.identifierRewriteMode_ = identifierRewriteMode_; onBuilt(); @@ -707,38 +822,39 @@ public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) other); } else { super.mergeFrom(other); return this; @@ -746,7 +862,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance()) + return this; if (other.outputIdentifierCase_ != 0) { setOutputIdentifierCaseValue(other.getOutputIdentifierCaseValue()); } @@ -772,7 +890,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -784,73 +904,106 @@ public Builder mergeFrom( private int outputIdentifierCase_ = 0; /** + * + * *
      * The setting to control output queries' identifier case.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @return The enum numeric value on the wire for outputIdentifierCase. */ - @java.lang.Override public int getOutputIdentifierCaseValue() { + @java.lang.Override + public int getOutputIdentifierCaseValue() { return outputIdentifierCase_; } /** + * + * *
      * The setting to control output queries' identifier case.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @param value The enum numeric value on the wire for outputIdentifierCase to set. * @return This builder for chaining. */ public Builder setOutputIdentifierCaseValue(int value) { - + outputIdentifierCase_ = value; onChanged(); return this; } /** + * + * *
      * The setting to control output queries' identifier case.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @return The outputIdentifierCase. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase getOutputIdentifierCase() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase + getOutputIdentifierCase() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf(outputIdentifierCase_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase result = + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase.valueOf( + outputIdentifierCase_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase + .UNRECOGNIZED + : result; } /** + * + * *
      * The setting to control output queries' identifier case.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @param value The outputIdentifierCase to set. * @return This builder for chaining. */ - public Builder setOutputIdentifierCase(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase value) { + public Builder setOutputIdentifierCase( + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase value) { if (value == null) { throw new NullPointerException(); } - + outputIdentifierCase_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The setting to control output queries' identifier case.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * * @return This builder for chaining. */ public Builder clearOutputIdentifierCase() { - + outputIdentifierCase_ = 0; onChanged(); return this; @@ -858,80 +1011,114 @@ public Builder clearOutputIdentifierCase() { private int identifierRewriteMode_ = 0; /** + * + * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @return The enum numeric value on the wire for identifierRewriteMode. */ - @java.lang.Override public int getIdentifierRewriteModeValue() { + @java.lang.Override + public int getIdentifierRewriteModeValue() { return identifierRewriteMode_; } /** + * + * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @param value The enum numeric value on the wire for identifierRewriteMode to set. * @return This builder for chaining. */ public Builder setIdentifierRewriteModeValue(int value) { - + identifierRewriteMode_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @return The identifierRewriteMode. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode getIdentifierRewriteMode() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + getIdentifierRewriteMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.valueOf(identifierRewriteMode_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode result = + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + .valueOf(identifierRewriteMode_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + .UNRECOGNIZED + : result; } /** + * + * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @param value The identifierRewriteMode to set. * @return This builder for chaining. */ - public Builder setIdentifierRewriteMode(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode value) { + public Builder setIdentifierRewriteMode( + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + value) { if (value == null) { throw new NullPointerException(); } - + identifierRewriteMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Specifies the rewrite mode for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * * @return This builder for chaining. */ public Builder clearIdentifierRewriteMode() { - + identifierRewriteMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,30 +1128,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) - private static final com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings(); } - public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentifierSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentifierSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentifierSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentifierSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,9 +1165,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java new file mode 100644 index 0000000..b80922b --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/IdentifierSettingsOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface IdentifierSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.IdentifierSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The setting to control output queries' identifier case.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * + * @return The enum numeric value on the wire for outputIdentifierCase. + */ + int getOutputIdentifierCaseValue(); + /** + * + * + *
+   * The setting to control output queries' identifier case.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase output_identifier_case = 1; + * + * + * @return The outputIdentifierCase. + */ + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierCase + getOutputIdentifierCase(); + + /** + * + * + *
+   * Specifies the rewrite mode for SQL identifiers.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * + * @return The enum numeric value on the wire for identifierRewriteMode. + */ + int getIdentifierRewriteModeValue(); + /** + * + * + *
+   * Specifies the rewrite mode for SQL identifiers.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode identifier_rewrite_mode = 2; + * + * + * @return The identifierRewriteMode. + */ + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.IdentifierRewriteMode + getIdentifierRewriteMode(); +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java similarity index 69% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java index 47698ab..fb480b4 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A request to list previously created migration subtasks.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest} */ -public final class ListMigrationSubtasksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationSubtasksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) ListMigrationSubtasksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksRequest.newBuilder() to construct. private ListMigrationSubtasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationSubtasksRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListMigrationSubtasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationSubtasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationSubtasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListMigrationSubtasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListMigrationSubtasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,11 +207,15 @@ public java.lang.String getParent() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -188,11 +223,15 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -200,11 +239,14 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -214,12 +256,15 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -230,6 +275,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -238,6 +285,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -246,14 +294,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -262,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -282,6 +330,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -289,6 +339,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -297,14 +348,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -312,16 +364,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -330,6 +381,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +393,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -371,12 +422,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -392,26 +441,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; - } - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; + } + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,134 +487,146 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list previously created migration subtasks.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -590,19 +648,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -611,7 +672,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(this); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest result = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -629,46 +691,52 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -706,7 +774,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -718,19 +788,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -739,21 +813,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -761,57 +838,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The migration task of the subtasks to list.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -819,24 +909,35 @@ public Builder setParentBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -847,11 +948,14 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -867,14 +971,16 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -885,17 +991,20 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -907,11 +1016,14 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -925,61 +1037,75 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. The list of fields to be retrieved.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -987,32 +1113,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of migration tasks to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1020,6 +1152,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1028,13 +1162,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1043,6 +1177,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1051,15 +1187,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1067,6 +1202,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1075,20 +1212,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1097,15 +1236,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from previous `ListMigrationSubtasks` call.
      * Provide this to retrieve the subsequent page.
@@ -1114,16 +1256,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1131,6 +1273,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1138,13 +1282,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1153,6 +1297,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1160,15 +1306,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1176,6 +1321,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1183,20 +1330,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1204,15 +1353,18 @@ public Builder setFilter(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter to apply. This can be used to get the subtasks of a specific
      * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -1220,23 +1372,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,30 +1398,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1436,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java index 4f21f20..a33eaac 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksRequestOrBuilder.java @@ -1,73 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationSubtasksRequestOrBuilder extends +public interface ListMigrationSubtasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The migration task of the subtasks to list.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. The list of fields to be retrieved.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** + * + * *
    * Optional. The maximum number of migration tasks to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -76,10 +117,13 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from previous `ListMigrationSubtasks` call.
    * Provide this to retrieve the subsequent page.
@@ -88,12 +132,14 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -101,10 +147,13 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter to apply. This can be used to get the subtasks of a specific
    * tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the
@@ -112,8 +161,8 @@ public interface ListMigrationSubtasksRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java similarity index 63% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java index 9812f28..c310e80 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Response object for a `ListMigrationSubtasks` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse} */ -public final class ListMigrationSubtasksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationSubtasksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) ListMigrationSubtasksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationSubtasksResponse.newBuilder() to construct. private ListMigrationSubtasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationSubtasksResponse() { migrationSubtasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListMigrationSubtasksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationSubtasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationSubtasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListMigrationSubtasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationSubtasks_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>(); + mutable_bitField0_ |= 0x00000001; + } + migrationSubtasks_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.parser(), + extensionRegistry)); + break; } - migrationSubtasks_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListMigrationSubtasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationSubtasks_ = java.util.Collections.unmodifiableList(migrationSubtasks_); @@ -94,88 +116,119 @@ private ListMigrationSubtasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder + .class); } public static final int MIGRATION_SUBTASKS_FIELD_NUMBER = 1; - private java.util.List migrationSubtasks_; + private java.util.List + migrationSubtasks_; /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public java.util.List getMigrationSubtasksList() { + public java.util.List + getMigrationSubtasksList() { return migrationSubtasks_; } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> getMigrationSubtasksOrBuilderList() { return migrationSubtasks_; } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override public int getMigrationSubtasksCount() { return migrationSubtasks_.size(); } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks( + int index) { return migrationSubtasks_.get(index); } /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder + getMigrationSubtasksOrBuilder(int index) { return migrationSubtasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +237,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +269,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < migrationSubtasks_.size(); i++) { output.writeMessage(1, migrationSubtasks_.get(i)); } @@ -245,8 +298,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationSubtasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, migrationSubtasks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationSubtasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +312,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) obj; - if (!getMigrationSubtasksList() - .equals(other.getMigrationSubtasksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMigrationSubtasksList().equals(other.getMigrationSubtasksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +346,148 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response object for a `ListMigrationSubtasks` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMigrationSubtasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +503,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -457,8 +526,10 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(this); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse result = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(this); int from_bitField0_ = bitField0_; if (migrationSubtasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +549,52 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + .getDefaultInstance()) return this; if (migrationSubtasksBuilder_ == null) { if (!other.migrationSubtasks_.isEmpty()) { if (migrationSubtasks_.isEmpty()) { @@ -536,9 +613,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrati migrationSubtasksBuilder_ = null; migrationSubtasks_ = other.migrationSubtasks_; bitField0_ = (bitField0_ & ~0x00000001); - migrationSubtasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMigrationSubtasksFieldBuilder() : null; + migrationSubtasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMigrationSubtasksFieldBuilder() + : null; } else { migrationSubtasksBuilder_.addAllMessages(other.migrationSubtasks_); } @@ -563,11 +641,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +657,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List migrationSubtasks_ = - java.util.Collections.emptyList(); + private java.util.List + migrationSubtasks_ = java.util.Collections.emptyList(); + private void ensureMigrationSubtasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationSubtasks_ = new java.util.ArrayList(migrationSubtasks_); + migrationSubtasks_ = + new java.util.ArrayList( + migrationSubtasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> migrationSubtasksBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> + migrationSubtasksBuilder_; /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public java.util.List getMigrationSubtasksList() { + public java.util.List + getMigrationSubtasksList() { if (migrationSubtasksBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationSubtasks_); } else { @@ -605,11 +698,15 @@ public java.util.List * The migration subtasks for the specified task. *
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public int getMigrationSubtasksCount() { if (migrationSubtasksBuilder_ == null) { @@ -619,13 +716,18 @@ public int getMigrationSubtasksCount() { } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks( + int index) { if (migrationSubtasksBuilder_ == null) { return migrationSubtasks_.get(index); } else { @@ -633,11 +735,15 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigration } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder setMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { @@ -654,14 +760,19 @@ public Builder setMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder setMigrationSubtasks( - int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.set(index, builderForValue.build()); @@ -672,13 +783,18 @@ public Builder setMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public Builder addMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { + public Builder addMigrationSubtasks( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { if (migrationSubtasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +808,15 @@ public Builder addMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha. return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder addMigrationSubtasks( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask value) { @@ -713,11 +833,15 @@ public Builder addMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder addMigrationSubtasks( com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { @@ -731,14 +855,19 @@ public Builder addMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder addMigrationSubtasks( - int index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder builderForValue) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); migrationSubtasks_.add(index, builderForValue.build()); @@ -749,18 +878,22 @@ public Builder addMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder addAllMigrationSubtasks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (migrationSubtasksBuilder_ == null) { ensureMigrationSubtasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, migrationSubtasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationSubtasks_); onChanged(); } else { migrationSubtasksBuilder_.addAllMessages(values); @@ -768,11 +901,15 @@ public Builder addAllMigrationSubtasks( return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder clearMigrationSubtasks() { if (migrationSubtasksBuilder_ == null) { @@ -785,11 +922,15 @@ public Builder clearMigrationSubtasks() { return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ public Builder removeMigrationSubtasks(int index) { if (migrationSubtasksBuilder_ == null) { @@ -802,39 +943,53 @@ public Builder removeMigrationSubtasks(int index) { return this; } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder getMigrationSubtasksBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder + getMigrationSubtasksBuilder(int index) { return getMigrationSubtasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder + getMigrationSubtasksOrBuilder(int index) { if (migrationSubtasksBuilder_ == null) { - return migrationSubtasks_.get(index); } else { + return migrationSubtasks_.get(index); + } else { return migrationSubtasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public java.util.List - getMigrationSubtasksOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> + getMigrationSubtasksOrBuilderList() { if (migrationSubtasksBuilder_ != null) { return migrationSubtasksBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +997,67 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder get } } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder addMigrationSubtasksBuilder() { - return getMigrationSubtasksFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder + addMigrationSubtasksBuilder() { + return getMigrationSubtasksFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder addMigrationSubtasksBuilder( - int index) { - return getMigrationSubtasksFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder + addMigrationSubtasksBuilder(int index) { + return getMigrationSubtasksFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()); } /** + * + * *
      * The migration subtasks for the specified task.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - public java.util.List - getMigrationSubtasksBuilderList() { + public java.util.List + getMigrationSubtasksBuilderList() { return getMigrationSubtasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder> getMigrationSubtasksFieldBuilder() { if (migrationSubtasksBuilder_ == null) { - migrationSubtasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder>( + migrationSubtasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder>( migrationSubtasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1069,21 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder addM private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1092,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1115,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1189,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationSubtasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationSubtasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationSubtasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationSubtasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1227,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java similarity index 54% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java index d019696..9fd052a 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationSubtasksResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationSubtasksResponseOrBuilder extends +public interface ListMigrationSubtasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - java.util.List + java.util.List getMigrationSubtasksList(); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtasks(int index); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ int getMigrationSubtasksCount(); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - java.util.List + java.util.List getMigrationSubtasksOrBuilderList(); /** + * + * *
    * The migration subtasks for the specified task.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1; + * */ - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder + getMigrationSubtasksOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java similarity index 67% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java index 8f23c98..895d5fd 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A request to list previously created migration workflows.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest} */ -public final class ListMigrationWorkflowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationWorkflowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) ListMigrationWorkflowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsRequest.newBuilder() to construct. private ListMigrationWorkflowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationWorkflowsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListMigrationWorkflowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationWorkflowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationWorkflowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,47 @@ private ListMigrationWorkflowsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + parent_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,35 +119,43 @@ private ListMigrationWorkflowsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -135,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -169,11 +200,14 @@ public java.lang.String getParent() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -181,11 +215,14 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ @java.lang.Override @@ -193,6 +230,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The list of fields to be retrieved.
    * 
@@ -207,12 +246,15 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -223,6 +265,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -231,6 +275,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -239,14 +284,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -255,16 +301,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -273,6 +318,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -311,12 +356,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -329,24 +372,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,134 +415,146 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list previously created migration workflows.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -521,19 +574,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -541,8 +597,10 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest result = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(this); result.parent_ = parent_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -559,46 +617,52 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -628,11 +692,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,19 +711,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -665,21 +736,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -687,57 +761,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The project and location of the migration workflows to list.
      * Example: `projects/123/locations/us`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -745,24 +832,33 @@ public Builder setParentBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -773,6 +869,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -793,14 +891,15 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -811,6 +910,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -821,7 +922,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -833,6 +934,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -851,6 +954,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -858,11 +963,13 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -873,11 +980,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * The list of fields to be retrieved.
      * 
@@ -885,27 +993,33 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -913,32 +1027,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of migration workflows to return. The service may return
      * fewer than this number.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -946,6 +1066,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -954,13 +1076,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -969,6 +1091,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -977,15 +1101,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -993,6 +1116,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1001,20 +1126,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1023,15 +1150,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from previous `ListMigrationWorkflows` call.
      * Provide this to retrieve the subsequent page.
@@ -1040,23 +1170,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,30 +1196,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,9 +1234,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java index debb61f..d040d45 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationWorkflowsRequestOrBuilder extends +public interface ListMigrationWorkflowsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The project and location of the migration workflows to list.
    * Example: `projects/123/locations/us`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The list of fields to be retrieved.
    * 
@@ -57,17 +90,22 @@ public interface ListMigrationWorkflowsRequestOrBuilder extends com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); /** + * + * *
    * The maximum number of migration workflows to return. The service may return
    * fewer than this number.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -76,10 +114,13 @@ public interface ListMigrationWorkflowsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from previous `ListMigrationWorkflows` call.
    * Provide this to retrieve the subsequent page.
@@ -88,8 +129,8 @@ public interface ListMigrationWorkflowsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java similarity index 60% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java index f9ff11a..cd725e3 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Response object for a `ListMigrationWorkflows` call.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse} */ -public final class ListMigrationWorkflowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigrationWorkflowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) ListMigrationWorkflowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigrationWorkflowsResponse.newBuilder() to construct. - private ListMigrationWorkflowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMigrationWorkflowsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigrationWorkflowsResponse() { migrationWorkflows_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListMigrationWorkflowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigrationWorkflowsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigrationWorkflowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,34 @@ private ListMigrationWorkflowsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migrationWorkflows_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>(); + mutable_bitField0_ |= 0x00000001; + } + migrationWorkflows_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), + extensionRegistry)); + break; } - migrationWorkflows_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +108,7 @@ private ListMigrationWorkflowsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migrationWorkflows_ = java.util.Collections.unmodifiableList(migrationWorkflows_); @@ -94,88 +117,119 @@ private ListMigrationWorkflowsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder + .class); } public static final int MIGRATION_WORKFLOWS_FIELD_NUMBER = 1; - private java.util.List migrationWorkflows_; + private java.util.List + migrationWorkflows_; /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public java.util.List getMigrationWorkflowsList() { + public java.util.List + getMigrationWorkflowsList() { return migrationWorkflows_; } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> getMigrationWorkflowsOrBuilderList() { return migrationWorkflows_; } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override public int getMigrationWorkflowsCount() { return migrationWorkflows_.size(); } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows( + int index) { return migrationWorkflows_.get(index); } /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder + getMigrationWorkflowsOrBuilder(int index) { return migrationWorkflows_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +238,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +270,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < migrationWorkflows_.size(); i++) { output.writeMessage(1, migrationWorkflows_.get(i)); } @@ -245,8 +299,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migrationWorkflows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, migrationWorkflows_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, migrationWorkflows_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +313,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) obj; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) obj; - if (!getMigrationWorkflowsList() - .equals(other.getMigrationWorkflowsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMigrationWorkflowsList().equals(other.getMigrationWorkflowsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,136 +346,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response object for a `ListMigrationWorkflows` call.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class, + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMigrationWorkflowsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +509,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse build() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -457,8 +532,10 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRespons } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(this); + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse result = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(this); int from_bitField0_ = bitField0_; if (migrationWorkflowsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +555,52 @@ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + .getDefaultInstance()) return this; if (migrationWorkflowsBuilder_ == null) { if (!other.migrationWorkflows_.isEmpty()) { if (migrationWorkflows_.isEmpty()) { @@ -536,9 +619,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ListMigrati migrationWorkflowsBuilder_ = null; migrationWorkflows_ = other.migrationWorkflows_; bitField0_ = (bitField0_ & ~0x00000001); - migrationWorkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMigrationWorkflowsFieldBuilder() : null; + migrationWorkflowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMigrationWorkflowsFieldBuilder() + : null; } else { migrationWorkflowsBuilder_.addAllMessages(other.migrationWorkflows_); } @@ -563,11 +647,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +663,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List migrationWorkflows_ = - java.util.Collections.emptyList(); + private java.util.List + migrationWorkflows_ = java.util.Collections.emptyList(); + private void ensureMigrationWorkflowsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migrationWorkflows_ = new java.util.ArrayList(migrationWorkflows_); + migrationWorkflows_ = + new java.util.ArrayList( + migrationWorkflows_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> migrationWorkflowsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + migrationWorkflowsBuilder_; /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public java.util.List getMigrationWorkflowsList() { + public java.util.List + getMigrationWorkflowsList() { if (migrationWorkflowsBuilder_ == null) { return java.util.Collections.unmodifiableList(migrationWorkflows_); } else { @@ -605,11 +704,15 @@ public java.util.List * The migration workflows for the specified project / location. *
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public int getMigrationWorkflowsCount() { if (migrationWorkflowsBuilder_ == null) { @@ -619,13 +722,18 @@ public int getMigrationWorkflowsCount() { } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows(int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows( + int index) { if (migrationWorkflowsBuilder_ == null) { return migrationWorkflows_.get(index); } else { @@ -633,11 +741,15 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigratio } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder setMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { @@ -654,14 +766,19 @@ public Builder setMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder setMigrationWorkflows( - int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.set(index, builderForValue.build()); @@ -672,13 +789,18 @@ public Builder setMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public Builder addMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { + public Builder addMigrationWorkflows( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { if (migrationWorkflowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +814,15 @@ public Builder addMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder addMigrationWorkflows( int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow value) { @@ -713,11 +839,15 @@ public Builder addMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder addMigrationWorkflows( com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { @@ -731,14 +861,19 @@ public Builder addMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder addMigrationWorkflows( - int index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder builderForValue) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); migrationWorkflows_.add(index, builderForValue.build()); @@ -749,18 +884,22 @@ public Builder addMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder addAllMigrationWorkflows( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (migrationWorkflowsBuilder_ == null) { ensureMigrationWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, migrationWorkflows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migrationWorkflows_); onChanged(); } else { migrationWorkflowsBuilder_.addAllMessages(values); @@ -768,11 +907,15 @@ public Builder addAllMigrationWorkflows( return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder clearMigrationWorkflows() { if (migrationWorkflowsBuilder_ == null) { @@ -785,11 +928,15 @@ public Builder clearMigrationWorkflows() { return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ public Builder removeMigrationWorkflows(int index) { if (migrationWorkflowsBuilder_ == null) { @@ -802,39 +949,53 @@ public Builder removeMigrationWorkflows(int index) { return this; } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder getMigrationWorkflowsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder + getMigrationWorkflowsBuilder(int index) { return getMigrationWorkflowsFieldBuilder().getBuilder(index); } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder + getMigrationWorkflowsOrBuilder(int index) { if (migrationWorkflowsBuilder_ == null) { - return migrationWorkflows_.get(index); } else { + return migrationWorkflows_.get(index); + } else { return migrationWorkflowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public java.util.List - getMigrationWorkflowsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + getMigrationWorkflowsOrBuilderList() { if (migrationWorkflowsBuilder_ != null) { return migrationWorkflowsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +1003,67 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder ge } } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder addMigrationWorkflowsBuilder() { - return getMigrationWorkflowsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder + addMigrationWorkflowsBuilder() { + return getMigrationWorkflowsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder addMigrationWorkflowsBuilder( - int index) { - return getMigrationWorkflowsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder + addMigrationWorkflowsBuilder(int index) { + return getMigrationWorkflowsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()); } /** + * + * *
      * The migration workflows for the specified project / location.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - public java.util.List - getMigrationWorkflowsBuilderList() { + public java.util.List + getMigrationWorkflowsBuilderList() { return getMigrationWorkflowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder> getMigrationWorkflowsFieldBuilder() { if (migrationWorkflowsBuilder_ == null) { - migrationWorkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( + migrationWorkflowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder>( migrationWorkflows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1075,21 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder add private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1098,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1121,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1195,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) - private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse(); } - public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigrationWorkflowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigrationWorkflowsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigrationWorkflowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigrationWorkflowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1233,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java similarity index 54% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java index 2593b6d..69b7076 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ListMigrationWorkflowsResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ListMigrationWorkflowsResponseOrBuilder extends +public interface ListMigrationWorkflowsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - java.util.List + java.util.List getMigrationWorkflowsList(); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflows(int index); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ int getMigrationWorkflowsCount(); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - java.util.List + java.util.List getMigrationWorkflowsOrBuilderList(); /** + * + * *
    * The migration workflows for the specified project / location.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * + * repeated .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflows = 1; + * */ - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder + getMigrationWorkflowsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/LocationName.java diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java new file mode 100644 index 0000000..6434081 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java @@ -0,0 +1,232 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationEntitiesProto { + private MigrationEntitiesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n@google/cloud/bigquery/migration/v2alph" + + "a/migration_entities.proto\022\'google.cloud" + + ".bigquery.migration.v2alpha\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032=google/cloud/bigquery/migration" + + "/v2alpha/assessment_task.proto\032Egoogle/c" + + "loud/bigquery/migration/v2alpha/migratio" + + "n_error_details.proto\032?google/cloud/bigq" + + "uery/migration/v2alpha/migration_metrics" + + ".proto\032>google/cloud/bigquery/migration/" + + "v2alpha/translation_task.proto\032\031google/p" + + "rotobuf/any.proto\032\037google/protobuf/times" + + "tamp.proto\032\036google/rpc/error_details.pro" + + "to\"\202\005\n\021MigrationWorkflow\022\024\n\004name\030\001 \001(\tB\006" + + "\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022T\n\005tasks\030\002 " + + "\003(\0132E.google.cloud.bigquery.migration.v2" + + "alpha.MigrationWorkflow.TasksEntry\022T\n\005st" + + "ate\030\003 \001(\0162@.google.cloud.bigquery.migrat" + + "ion.v2alpha.MigrationWorkflow.StateB\003\340A\003" + + "\022/\n\013create_time\030\004 \001(\0132\032.google.protobuf." + + "Timestamp\0224\n\020last_update_time\030\005 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\032d\n\nTasksEntry\022\013\n" + + "\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud" + + ".bigquery.migration.v2alpha.MigrationTas" + + "k:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n" + + "\005DRAFT\020\001\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOM" + + "PLETED\020\004:u\352Ar\n2bigquerymigration.googlea" + + "pis.com/MigrationWorkflow\022.google.cloud.bigque" + + "ry.migration.v2alpha.AssessmentTaskDetai" + + "lsH\000\022c\n\030translation_task_details\030\r \001(\0132?" + + ".google.cloud.bigquery.migration.v2alpha" + + ".TranslationTaskDetailsH\000\022\022\n\002id\030\001 \001(\tB\006\340" + + "A\003\340A\005\022\014\n\004type\030\002 \001(\t\022%\n\007details\030\003 \001(\0132\024.g" + + "oogle.protobuf.Any\022P\n\005state\030\004 \001(\0162<.goog" + + "le.cloud.bigquery.migration.v2alpha.Migr" + + "ationTask.StateB\003\340A\003\0224\n\020processing_error" + + "\030\005 \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022/\n\013cr" + + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "amp\0224\n\020last_update_time\030\007 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022l\n\024orchestration_resul" + + "t\030\n \001(\0132I.google.cloud.bigquery.migratio" + + "n.v2alpha.MigrationTaskOrchestrationResu" + + "ltB\003\340A\003\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\013\n\007PENDING\020\001\022\021\n\rORCHESTRATING\020\002\022\013\n\007RUNNI" + + "NG\020\003\022\n\n\006PAUSED\020\004\022\r\n\tSUCCEEDED\020\005\022\n\n\006FAILE" + + "D\020\006B\016\n\014task_details\"\353\005\n\020MigrationSubtask" + + "\022\024\n\004name\030\001 \001(\tB\006\340A\003\340A\005\022\017\n\007task_id\030\002 \001(\t\022" + + "\014\n\004type\030\003 \001(\t\022S\n\005state\030\005 \001(\0162?.google.cl" + + "oud.bigquery.migration.v2alpha.Migration" + + "Subtask.StateB\003\340A\003\0224\n\020processing_error\030\006" + + " \001(\0132\025.google.rpc.ErrorInfoB\003\340A\003\022a\n\026reso" + + "urce_error_details\030\014 \003(\0132<.google.cloud." + + "bigquery.migration.v2alpha.ResourceError" + + "DetailB\003\340A\003\022\034\n\024resource_error_count\030\r \001(" + + "\005\022/\n\013create_time\030\007 \001(\0132\032.google.protobuf" + + ".Timestamp\0224\n\020last_update_time\030\010 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022D\n\007metrics\030\013 \003(" + + "\01323.google.cloud.bigquery.migration.v2al" + + "pha.TimeSeries\"^\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\n\n\006ACTIVE\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCE" + + "EDED\020\003\022\n\n\006FAILED\020\004\022\n\n\006PAUSED\020\005:\210\001\352A\204\001\n1b" + + "igquerymigration.googleapis.com/Migratio" + + "nSubtask\022Oprojects/{project}/locations/{" + + "location}/workflows/{workflow}/subtasks/" + + "{subtask}\"\232\001\n MigrationTaskOrchestration" + + "Result\022k\n\022assessment_details\030\001 \001(\0132M.goo" + + "gle.cloud.bigquery.migration.v2alpha.Ass" + + "essmentOrchestrationResultDetailsH\000B\t\n\007d" + + "etailsB\355\001\n+com.google.cloud.bigquery.mig" + + "ration.v2alphaB\026MigrationEntitiesProtoP\001" + + "ZPgoogle.golang.org/genproto/googleapis/" + + "cloud/bigquery/migration/v2alpha;migrati" + + "on\252\002\'Google.Cloud.BigQuery.Migration.V2A" + + "lpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\V" + + "2alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.ErrorDetailsProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Tasks", "State", "CreateTime", "LastUpdateTime", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor = + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor, + new java.lang.String[] { + "AssessmentTaskDetails", + "TranslationTaskDetails", + "Id", + "Type", + "Details", + "State", + "ProcessingError", + "CreateTime", + "LastUpdateTime", + "OrchestrationResult", + "TaskDetails", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor, + new java.lang.String[] { + "Name", + "TaskId", + "Type", + "State", + "ProcessingError", + "ResourceErrorDetails", + "ResourceErrorCount", + "CreateTime", + "LastUpdateTime", + "Metrics", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor, + new java.lang.String[] { + "AssessmentDetails", "Details", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.ErrorDetailsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java new file mode 100644 index 0000000..759c4d3 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java @@ -0,0 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationErrorDetailsProto { + private MigrationErrorDetailsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nEgoogle/cloud/bigquery/migration/v2alph" + + "a/migration_error_details.proto\022\'google." + + "cloud.bigquery.migration.v2alpha\032\037google" + + "/api/field_behavior.proto\032\036google/rpc/er" + + "ror_details.proto\"\267\001\n\023ResourceErrorDetai" + + "l\0224\n\rresource_info\030\001 \001(\0132\030.google.rpc.Re" + + "sourceInfoB\003\340A\002\022P\n\rerror_details\030\002 \003(\01324" + + ".google.cloud.bigquery.migration.v2alpha" + + ".ErrorDetailB\003\340A\002\022\030\n\013error_count\030\003 \001(\005B\003" + + "\340A\002\"\214\001\n\013ErrorDetail\022M\n\010location\030\001 \001(\01326." + + "google.cloud.bigquery.migration.v2alpha." + + "ErrorLocationB\003\340A\001\022.\n\nerror_info\030\002 \001(\0132\025" + + ".google.rpc.ErrorInfoB\003\340A\002\"7\n\rErrorLocat" + + "ion\022\021\n\004line\030\001 \001(\005B\003\340A\001\022\023\n\006column\030\002 \001(\005B\003" + + "\340A\001B\361\001\n+com.google.cloud.bigquery.migrat" + + "ion.v2alphaB\032MigrationErrorDetailsProtoP" + + "\001ZPgoogle.golang.org/genproto/googleapis" + + "/cloud/bigquery/migration/v2alpha;migrat" + + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" + + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" + + "V2alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.rpc.ErrorDetailsProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor, + new java.lang.String[] { + "ResourceInfo", "ErrorDetails", "ErrorCount", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorDetail_descriptor, + new java.lang.String[] { + "Location", "ErrorInfo", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ErrorLocation_descriptor, + new java.lang.String[] { + "Line", "Column", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.rpc.ErrorDetailsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java new file mode 100644 index 0000000..7ccc490 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java @@ -0,0 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationMetricsProto { + private MigrationMetricsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n?google/cloud/bigquery/migration/v2alph" + + "a/migration_metrics.proto\022\'google.cloud." + + "bigquery.migration.v2alpha\032\035google/api/d" + + "istribution.proto\032\037google/api/field_beha" + + "vior.proto\032\027google/api/metric.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"\352\001\n\nTimeSer" + + "ies\022\023\n\006metric\030\001 \001(\tB\003\340A\002\022?\n\nvalue_type\030\002" + + " \001(\0162&.google.api.MetricDescriptor.Value" + + "TypeB\003\340A\002\022A\n\013metric_kind\030\003 \001(\0162\'.google." + + "api.MetricDescriptor.MetricKindB\003\340A\001\022C\n\006" + + "points\030\004 \003(\0132..google.cloud.bigquery.mig" + + "ration.v2alpha.PointB\003\340A\002\"\224\001\n\005Point\022G\n\010i" + + "nterval\030\001 \001(\01325.google.cloud.bigquery.mi" + + "gration.v2alpha.TimeInterval\022B\n\005value\030\002 " + + "\001(\01323.google.cloud.bigquery.migration.v2" + + "alpha.TypedValue\"v\n\014TimeInterval\0223\n\nstar" + + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\002\"\252\001\n\nTypedValue\022\024\n\nbool_" + + "value\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014" + + "double_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001" + + "(\tH\000\0226\n\022distribution_value\030\005 \001(\0132\030.googl" + + "e.api.DistributionH\000B\007\n\005valueB\354\001\n+com.go" + + "ogle.cloud.bigquery.migration.v2alphaB\025M" + + "igrationMetricsProtoP\001ZPgoogle.golang.or" + + "g/genproto/googleapis/cloud/bigquery/mig" + + "ration/v2alpha;migration\252\002\'Google.Cloud." + + "BigQuery.Migration.V2Alpha\312\002\'Google\\Clou" + + "d\\BigQuery\\Migration\\V2alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor, + new java.lang.String[] { + "Metric", "ValueType", "MetricKind", "Points", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor, + new java.lang.String[] { + "Interval", "Value", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor, + new java.lang.String[] { + "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java new file mode 100644 index 0000000..41b8fcc --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java @@ -0,0 +1,285 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class MigrationServiceProto { + private MigrationServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n?google/cloud/bigquery/migration/v2alph" + + "a/migration_service.proto\022\'google.cloud." + + "bigquery.migration.v2alpha\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032@google/cloud/bigq" + + "uery/migration/v2alpha/migration_entitie" + + "s.proto\032Egoogle/cloud/bigquery/migration" + + "/v2alpha/migration_error_details.proto\032?" + + "google/cloud/bigquery/migration/v2alpha/" + + "migration_metrics.proto\032\033google/protobuf" + + "/empty.proto\032 google/protobuf/field_mask" + + ".proto\032\036google/rpc/error_details.proto\"\270" + + "\001\n\036CreateMigrationWorkflowRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022[\n\022migration_workflow\030\002 \001(\013" + + "2:.google.cloud.bigquery.migration.v2alp" + + "ha.MigrationWorkflowB\003\340A\002\"\226\001\n\033GetMigrati" + + "onWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n" + + "2bigquerymigration.googleapis.com/Migrat" + + "ionWorkflow\022-\n\tread_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\"\260\001\n\035ListMigrationWork" + + "flowsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" + + "cations.googleapis.com/Location\022-\n\tread_" + + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022\021" + + "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\222\001" + + "\n\036ListMigrationWorkflowsResponse\022W\n\023migr" + + "ation_workflows\030\001 \003(\0132:.google.cloud.big" + + "query.migration.v2alpha.MigrationWorkflo" + + "w\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036DeleteMigr" + + "ationWorkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372" + + "A4\n2bigquerymigration.googleapis.com/Mig" + + "rationWorkflow\"i\n\035StartMigrationWorkflow" + + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigquerym" + + "igration.googleapis.com/MigrationWorkflo" + + "w\"\231\001\n\032GetMigrationSubtaskRequest\022G\n\004name" + + "\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration.google" + + "apis.com/MigrationSubtask\0222\n\tread_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\344\001" + + "\n\034ListMigrationSubtasksRequest\022J\n\006parent" + + "\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration.google" + + "apis.com/MigrationWorkflow\0222\n\tread_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022\026" + + "\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001" + + "(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\217\001\n\035ListMig" + + "rationSubtasksResponse\022U\n\022migration_subt" + + "asks\030\001 \003(\01329.google.cloud.bigquery.migra" + + "tion.v2alpha.MigrationSubtask\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t2\252\r\n\020MigrationService\022\212\002\n\027" + + "CreateMigrationWorkflow\022G.google.cloud.b" + + "igquery.migration.v2alpha.CreateMigratio" + + "nWorkflowRequest\032:.google.cloud.bigquery" + + ".migration.v2alpha.MigrationWorkflow\"j\202\323" + + "\344\223\002H\"2/v2alpha/{parent=projects/*/locati" + + "ons/*}/workflows:\022migration_workflow\332A\031p" + + "arent,migration_workflow\022\333\001\n\024GetMigratio" + + "nWorkflow\022D.google.cloud.bigquery.migrat" + + "ion.v2alpha.GetMigrationWorkflowRequest\032" + + ":.google.cloud.bigquery.migration.v2alph" + + "a.MigrationWorkflow\"A\202\323\344\223\0024\0222/v2alpha/{n" + + "ame=projects/*/locations/*/workflows/*}\332" + + "A\004name\022\356\001\n\026ListMigrationWorkflows\022F.goog" + + "le.cloud.bigquery.migration.v2alpha.List" + + "MigrationWorkflowsRequest\032G.google.cloud" + + ".bigquery.migration.v2alpha.ListMigratio" + + "nWorkflowsResponse\"C\202\323\344\223\0024\0222/v2alpha/{pa" + + "rent=projects/*/locations/*}/workflows\332A" + + "\006parent\022\275\001\n\027DeleteMigrationWorkflow\022G.go" + + "ogle.cloud.bigquery.migration.v2alpha.De" + + "leteMigrationWorkflowRequest\032\026.google.pr" + + "otobuf.Empty\"A\202\323\344\223\0024*2/v2alpha/{name=pro" + + "jects/*/locations/*/workflows/*}\332A\004name\022" + + "\304\001\n\026StartMigrationWorkflow\022F.google.clou" + + "d.bigquery.migration.v2alpha.StartMigrat" + + "ionWorkflowRequest\032\026.google.protobuf.Emp" + + "ty\"J\202\323\344\223\002=\"8/v2alpha/{name=projects/*/lo" + + "cations/*/workflows/*}:start:\001*\332A\004name\022\343" + + "\001\n\023GetMigrationSubtask\022C.google.cloud.bi" + + "gquery.migration.v2alpha.GetMigrationSub" + + "taskRequest\0329.google.cloud.bigquery.migr" + + "ation.v2alpha.MigrationSubtask\"L\202\323\344\223\002?\022=" + + "/v2alpha/{name=projects/*/locations/*/wo" + + "rkflows/*/subtasks/*}\332A\004name\022\366\001\n\025ListMig" + + "rationSubtasks\022E.google.cloud.bigquery.m" + + "igration.v2alpha.ListMigrationSubtasksRe" + + "quest\032F.google.cloud.bigquery.migration." + + "v2alpha.ListMigrationSubtasksResponse\"N\202" + + "\323\344\223\002?\022=/v2alpha/{parent=projects/*/locat" + + "ions/*/workflows/*}/subtasks\332A\006parent\032T\312" + + "A bigquerymigration.googleapis.com\322A.htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormB\354\001\n+com.google.cloud.bigquery.migrat" + + "ion.v2alphaB\025MigrationServiceProtoP\001ZPgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/bigquery/migration/v2alpha;migration\252\002" + + "\'Google.Cloud.BigQuery.Migration.V2Alpha" + + "\312\002\'Google\\Cloud\\BigQuery\\Migration\\V2alp" + + "hab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .getDescriptor(), + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.ErrorDetailsProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_CreateMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Parent", "MigrationWorkflow", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadMask", "PageSize", "PageToken", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationWorkflowsResponse_descriptor, + new java.lang.String[] { + "MigrationWorkflows", "NextPageToken", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_DeleteMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_GetMigrationSubtaskRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadMask", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_ListMigrationSubtasksResponse_descriptor, + new java.lang.String[] { + "MigrationSubtasks", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.getDescriptor(); + com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.ErrorDetailsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java similarity index 69% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java index 0d24c8b..93de2af 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtask.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A subtask for a migration which carries details about the configuration of
  * the subtask. The content of the details should not matter to the end user,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationSubtask}
  */
-public final class MigrationSubtask extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationSubtask extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationSubtask)
     MigrationSubtaskOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationSubtask.newBuilder() to construct.
   private MigrationSubtask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationSubtask() {
     name_ = "";
     taskId_ = "";
@@ -32,16 +50,15 @@ private MigrationSubtask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationSubtask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationSubtask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,99 +78,119 @@ private MigrationSubtask(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            taskId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            type_ = s;
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            state_ = rawValue;
-            break;
-          }
-          case 50: {
-            com.google.rpc.ErrorInfo.Builder subBuilder = null;
-            if (processingError_ != null) {
-              subBuilder = processingError_.toBuilder();
+              taskId_ = s;
+              break;
             }
-            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(processingError_);
-              processingError_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              type_ = s;
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.rpc.ErrorInfo.Builder subBuilder = null;
+              if (processingError_ != null) {
+                subBuilder = processingError_.toBuilder();
+              }
+              processingError_ =
+                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(processingError_);
+                processingError_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastUpdateTime_ != null) {
-              subBuilder = lastUpdateTime_.toBuilder();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastUpdateTime_);
-              lastUpdateTime_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastUpdateTime_ != null) {
+                subBuilder = lastUpdateTime_.toBuilder();
+              }
+              lastUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastUpdateTime_);
+                lastUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 90: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              metrics_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 90:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                metrics_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.bigquery.migration.v2alpha.TimeSeries>();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              metrics_.add(
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.TimeSeries.parser(),
+                      extensionRegistry));
+              break;
             }
-            metrics_.add(
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TimeSeries.parser(), extensionRegistry));
-            break;
-          }
-          case 98: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              resourceErrorDetails_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 98:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                resourceErrorDetails_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              resourceErrorDetails_.add(
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.parser(),
+                      extensionRegistry));
+              break;
             }
-            resourceErrorDetails_.add(
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.parser(), extensionRegistry));
-            break;
-          }
-          case 104: {
-
-            resourceErrorCount_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 104:
+            {
+              resourceErrorCount_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,8 +198,7 @@ private MigrationSubtask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         metrics_ = java.util.Collections.unmodifiableList(metrics_);
@@ -174,29 +210,35 @@ private MigrationSubtask(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class,
+            com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a migration subtask.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unspecified.
      * 
@@ -205,6 +247,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -213,6 +257,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -221,6 +267,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * The subtask finished successfully.
      * 
@@ -229,6 +277,8 @@ public enum State */ SUCCEEDED(3), /** + * + * *
      * The subtask finished unsuccessfully.
      * 
@@ -237,6 +287,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -249,6 +301,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -257,6 +311,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The subtask is ready, i.e. it is ready for execution.
      * 
@@ -265,6 +321,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The subtask is running, i.e. it is assigned to a worker for execution.
      * 
@@ -273,6 +331,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * The subtask finished successfully.
      * 
@@ -281,6 +341,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; /** + * + * *
      * The subtask finished unsuccessfully.
      * 
@@ -289,6 +351,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The subtask is paused, i.e., it will not be scheduled. If it was already
      * assigned,it might still finish but no new lease renewals will be granted.
@@ -298,7 +362,6 @@ public enum State
      */
     public static final int PAUSED_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -323,52 +386,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return ACTIVE;
-        case 2: return RUNNING;
-        case 3: return SUCCEEDED;
-        case 4: return FAILED;
-        case 5: return PAUSED;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return ACTIVE;
+        case 2:
+          return RUNNING;
+        case 3:
+          return SUCCEEDED;
+        case 4:
+          return FAILED;
+        case 5:
+          return PAUSED;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -388,13 +456,18 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ @java.lang.Override @@ -403,31 +476,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -438,11 +513,14 @@ public java.lang.String getName() { public static final int TASK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object taskId_; /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The taskId. */ @java.lang.Override @@ -451,29 +529,29 @@ public java.lang.String getTaskId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; } } /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The bytes for taskId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTaskIdBytes() { + public com.google.protobuf.ByteString getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taskId_ = b; return b; } else { @@ -484,6 +562,8 @@ public java.lang.String getTaskId() { public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -492,6 +572,7 @@ public java.lang.String getTaskId() {
    * 
* * string type = 3; + * * @return The type. */ @java.lang.Override @@ -500,14 +581,15 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -516,16 +598,15 @@ public java.lang.String getType() {
    * 
* * string type = 3; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -536,38 +617,57 @@ public java.lang.String getType() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED + : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 6; private com.google.rpc.ErrorInfo processingError_; /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ @java.lang.Override @@ -575,23 +675,32 @@ public boolean hasProcessingError() { return processingError_ != null; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -599,73 +708,99 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { } public static final int RESOURCE_ERROR_DETAILS_FIELD_NUMBER = 12; - private java.util.List resourceErrorDetails_; + private java.util.List + resourceErrorDetails_; /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getResourceErrorDetailsList() { + public java.util.List + getResourceErrorDetailsList() { return resourceErrorDetails_; } /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> getResourceErrorDetailsOrBuilderList() { return resourceErrorDetails_; } /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getResourceErrorDetailsCount() { return resourceErrorDetails_.size(); } /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails(int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails( + int index) { return resourceErrorDetails_.get(index); } /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder + getResourceErrorDetailsOrBuilder(int index) { return resourceErrorDetails_.get(index); } public static final int RESOURCE_ERROR_COUNT_FIELD_NUMBER = 13; private int resourceErrorCount_; /** + * + * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -674,6 +809,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder
    * 
* * int32 resource_error_count = 13; + * * @return The resourceErrorCount. */ @java.lang.Override @@ -684,11 +820,14 @@ public int getResourceErrorCount() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -696,11 +835,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ @java.lang.Override @@ -708,6 +850,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the subtask was created.
    * 
@@ -722,11 +866,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -734,18 +881,25 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Time when the subtask was last updated.
    * 
@@ -760,6 +914,8 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { public static final int METRICS_FIELD_NUMBER = 11; private java.util.List metrics_; /** + * + * *
    * The metrics for the subtask.
    * 
@@ -771,6 +927,8 @@ public java.util.List ge return metrics_; } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -778,11 +936,13 @@ public java.util.List ge * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -794,6 +954,8 @@ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -805,6 +967,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries getMetrics(int ind return metrics_.get(index); } /** + * + * *
    * The metrics for the subtask.
    * 
@@ -818,6 +982,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetric } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -829,8 +994,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -840,7 +1004,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } - if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, state_); } if (processingError_ != null) { @@ -879,33 +1045,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } - if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + if (state_ + != com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getProcessingError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastUpdateTime()); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, metrics_.get(i)); } for (int i = 0; i < resourceErrorDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, resourceErrorDetails_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, resourceErrorDetails_.get(i)); } if (resourceErrorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(13, resourceErrorCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, resourceErrorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -915,41 +1078,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask other = (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask other = + (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTaskId() - .equals(other.getTaskId())) return false; - if (!getType() - .equals(other.getType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTaskId().equals(other.getTaskId())) return false; + if (!getType().equals(other.getType())) return false; if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError() - .equals(other.getProcessingError())) return false; + if (!getProcessingError().equals(other.getProcessingError())) return false; } - if (!getResourceErrorDetailsList() - .equals(other.getResourceErrorDetailsList())) return false; - if (getResourceErrorCount() - != other.getResourceErrorCount()) return false; + if (!getResourceErrorDetailsList().equals(other.getResourceErrorDetailsList())) return false; + if (getResourceErrorCount() != other.getResourceErrorCount()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -997,96 +1152,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A subtask for a migration which carries details about the configuration of
    * the subtask. The content of the details should not matter to the end user,
@@ -1095,21 +1258,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationSubtask}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationSubtask)
       com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class,
+              com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.newBuilder()
@@ -1117,18 +1282,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getResourceErrorDetailsFieldBuilder();
         getMetricsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1176,13 +1341,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationSubtask_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance();
     }
 
@@ -1197,7 +1363,8 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask result = new com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask(this);
+      com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask result =
+          new com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.taskId_ = taskId_;
@@ -1245,38 +1412,39 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1284,7 +1452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1321,9 +1491,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationSu
             resourceErrorDetailsBuilder_ = null;
             resourceErrorDetails_ = other.resourceErrorDetails_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceErrorDetailsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResourceErrorDetailsFieldBuilder() : null;
+            resourceErrorDetailsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResourceErrorDetailsFieldBuilder()
+                    : null;
           } else {
             resourceErrorDetailsBuilder_.addAllMessages(other.resourceErrorDetails_);
           }
@@ -1356,9 +1527,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationSu
             metricsBuilder_ = null;
             metrics_ = other.metrics_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMetricsFieldBuilder() : null;
+            metricsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMetricsFieldBuilder()
+                    : null;
           } else {
             metricsBuilder_.addAllMessages(other.metrics_);
           }
@@ -1383,7 +1555,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1392,24 +1565,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1418,22 +1596,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1441,60 +1622,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The resource name for the migration subtask. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345/subtasks/678`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1502,18 +1696,20 @@ public Builder setNameBytes( private java.lang.Object taskId_ = ""; /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @return The taskId. */ public java.lang.String getTaskId() { java.lang.Object ref = taskId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; @@ -1522,20 +1718,21 @@ public java.lang.String getTaskId() { } } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @return The bytes for taskId. */ - public com.google.protobuf.ByteString - getTaskIdBytes() { + public com.google.protobuf.ByteString getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taskId_ = b; return b; } else { @@ -1543,54 +1740,61 @@ public java.lang.String getTaskId() { } } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @param value The taskId to set. * @return This builder for chaining. */ - public Builder setTaskId( - java.lang.String value) { + public Builder setTaskId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + taskId_ = value; onChanged(); return this; } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @return This builder for chaining. */ public Builder clearTaskId() { - + taskId_ = getDefaultInstance().getTaskId(); onChanged(); return this; } /** + * + * *
      * The unique ID of the task to which this subtask belongs.
      * 
* * string task_id = 2; + * * @param value The bytes for taskId to set. * @return This builder for chaining. */ - public Builder setTaskIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + taskId_ = value; onChanged(); return this; @@ -1598,6 +1802,8 @@ public Builder setTaskIdBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1606,13 +1812,13 @@ public Builder setTaskIdBytes(
      * 
* * string type = 3; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1621,6 +1827,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1629,15 +1837,14 @@ public java.lang.String getType() {
      * 
* * string type = 3; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -1645,6 +1852,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1653,20 +1862,22 @@ public java.lang.String getType() {
      * 
* * string type = 3; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1675,15 +1886,18 @@ public Builder setType(
      * 
* * string type = 3; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The type of the Subtask. The migration service does not check whether this
      * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -1692,16 +1906,16 @@ public Builder clearType() {
      * 
* * string type = 3; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1709,73 +1923,103 @@ public Builder setTypeBytes( private int state_ = 0; /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State result = + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State value) { + public Builder setState( + com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of the subtask.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1783,39 +2027,58 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> + processingErrorBuilder_; /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -1831,14 +2094,17 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProcessingError( - com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -1849,17 +2115,21 @@ public Builder setProcessingError( return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -1871,11 +2141,15 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -1889,74 +2163,102 @@ public Builder clearProcessingError() { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null ? - com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), - getParentForChildren(), - isClean()); + processingErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), getParentForChildren(), isClean()); processingError_ = null; } return processingErrorBuilder_; } - private java.util.List resourceErrorDetails_ = - java.util.Collections.emptyList(); + private java.util.List + resourceErrorDetails_ = java.util.Collections.emptyList(); + private void ensureResourceErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceErrorDetails_ = new java.util.ArrayList(resourceErrorDetails_); + resourceErrorDetails_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail>( + resourceErrorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> resourceErrorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> + resourceErrorDetailsBuilder_; /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getResourceErrorDetailsList() { + public java.util.List + getResourceErrorDetailsList() { if (resourceErrorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceErrorDetails_); } else { @@ -1964,12 +2266,16 @@ public java.util.List * Output only. Provides details to errors and issues encountered while processing the * subtask. Presence of error details does not mean that the subtask failed. *
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getResourceErrorDetailsCount() { if (resourceErrorDetailsBuilder_ == null) { @@ -1979,14 +2285,19 @@ public int getResourceErrorDetailsCount() { } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails(int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails( + int index) { if (resourceErrorDetailsBuilder_ == null) { return resourceErrorDetails_.get(index); } else { @@ -1994,12 +2305,16 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResour } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { @@ -2016,15 +2331,20 @@ public Builder setResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResourceErrorDetails( - int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.set(index, builderForValue.build()); @@ -2035,14 +2355,19 @@ public Builder setResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addResourceErrorDetails(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { + public Builder addResourceErrorDetails( + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { if (resourceErrorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2056,12 +2381,16 @@ public Builder addResourceErrorDetails(com.google.cloud.bigquery.migration.v2alp return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addResourceErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail value) { @@ -2078,12 +2407,16 @@ public Builder addResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addResourceErrorDetails( com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { @@ -2097,15 +2430,20 @@ public Builder addResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addResourceErrorDetails( - int index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder builderForValue) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); resourceErrorDetails_.add(index, builderForValue.build()); @@ -2116,19 +2454,24 @@ public Builder addResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllResourceErrorDetails( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail> + values) { if (resourceErrorDetailsBuilder_ == null) { ensureResourceErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceErrorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceErrorDetails_); onChanged(); } else { resourceErrorDetailsBuilder_.addAllMessages(values); @@ -2136,12 +2479,16 @@ public Builder addAllResourceErrorDetails( return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearResourceErrorDetails() { if (resourceErrorDetailsBuilder_ == null) { @@ -2154,12 +2501,16 @@ public Builder clearResourceErrorDetails() { return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeResourceErrorDetails(int index) { if (resourceErrorDetailsBuilder_ == null) { @@ -2172,42 +2523,56 @@ public Builder removeResourceErrorDetails(int index) { return this; } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder getResourceErrorDetailsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder + getResourceErrorDetailsBuilder(int index) { return getResourceErrorDetailsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder + getResourceErrorDetailsOrBuilder(int index) { if (resourceErrorDetailsBuilder_ == null) { - return resourceErrorDetails_.get(index); } else { + return resourceErrorDetails_.get(index); + } else { return resourceErrorDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getResourceErrorDetailsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> + getResourceErrorDetailsOrBuilderList() { if (resourceErrorDetailsBuilder_ != null) { return resourceErrorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -2215,48 +2580,70 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder } } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder() { - return getResourceErrorDetailsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder + addResourceErrorDetailsBuilder() { + return getResourceErrorDetailsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder addResourceErrorDetailsBuilder( - int index) { - return getResourceErrorDetailsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder + addResourceErrorDetailsBuilder(int index) { + return getResourceErrorDetailsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()); } /** + * + * *
      * Output only. Provides details to errors and issues encountered while processing the
      * subtask. Presence of error details does not mean that the subtask failed.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getResourceErrorDetailsBuilderList() { + public java.util.List + getResourceErrorDetailsBuilderList() { return getResourceErrorDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> getResourceErrorDetailsFieldBuilder() { if (resourceErrorDetailsBuilder_ == null) { - resourceErrorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder>( + resourceErrorDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder>( resourceErrorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2266,8 +2653,10 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder a return resourceErrorDetailsBuilder_; } - private int resourceErrorCount_ ; + private int resourceErrorCount_; /** + * + * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2276,6 +2665,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder a
      * 
* * int32 resource_error_count = 13; + * * @return The resourceErrorCount. */ @java.lang.Override @@ -2283,6 +2673,8 @@ public int getResourceErrorCount() { return resourceErrorCount_; } /** + * + * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2291,16 +2683,19 @@ public int getResourceErrorCount() {
      * 
* * int32 resource_error_count = 13; + * * @param value The resourceErrorCount to set. * @return This builder for chaining. */ public Builder setResourceErrorCount(int value) { - + resourceErrorCount_ = value; onChanged(); return this; } /** + * + * *
      * The number or resources with errors. Note: This is not the total
      * number of errors as each resource can have more than one error.
@@ -2309,10 +2704,11 @@ public Builder setResourceErrorCount(int value) {
      * 
* * int32 resource_error_count = 13; + * * @return This builder for chaining. */ public Builder clearResourceErrorCount() { - + resourceErrorCount_ = 0; onChanged(); return this; @@ -2320,34 +2716,47 @@ public Builder clearResourceErrorCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2368,14 +2777,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was created.
      * 
* * .google.protobuf.Timestamp create_time = 7; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2386,6 +2796,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2396,7 +2808,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2408,6 +2820,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2426,6 +2840,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2433,11 +2849,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 7; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2448,11 +2866,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time when the subtask was created.
      * 
@@ -2460,14 +2881,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2475,34 +2899,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2523,14 +2960,15 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 8; */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2541,6 +2979,8 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2551,7 +2991,9 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -2563,6 +3005,8 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2581,6 +3025,8 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2588,11 +3034,13 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 8; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2603,11 +3051,14 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Time when the subtask was last updated.
      * 
@@ -2615,32 +3066,43 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); + metrics_ = + new java.util.ArrayList( + metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeSeries, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> metricsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TimeSeries, + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, + com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> + metricsBuilder_; /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2655,6 +3117,8 @@ public java.util.List ge } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2669,6 +3133,8 @@ public int getMetricsCount() { } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2683,6 +3149,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries getMetrics(int ind } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2704,6 +3172,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2722,6 +3192,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2742,6 +3214,8 @@ public Builder addMetrics(com.google.cloud.bigquery.migration.v2alpha.TimeSeries return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2763,6 +3237,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2781,6 +3257,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2799,6 +3277,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2806,11 +3286,11 @@ public Builder addMetrics( * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ public Builder addAllMetrics( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -2818,6 +3298,8 @@ public Builder addAllMetrics( return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2835,6 +3317,8 @@ public Builder clearMetrics() { return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2852,6 +3336,8 @@ public Builder removeMetrics(int index) { return this; } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2863,6 +3349,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder getMetrics return getMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2872,19 +3360,22 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder getMetrics public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetricsOrBuilder( int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); } else { + return metrics_.get(index); + } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -2892,6 +3383,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetric } } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2899,10 +3392,12 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetric * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder addMetricsBuilder() { - return getMetricsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); + return getMetricsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); } /** + * + * *
      * The metrics for the subtask.
      * 
@@ -2911,37 +3406,43 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder addMetrics */ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder addMetricsBuilder( int index) { - return getMetricsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); + return getMetricsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()); } /** + * + * *
      * The metrics for the subtask.
      * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeSeries, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TimeSeries, + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, + com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeSeries, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder>( - metrics_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + metricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TimeSeries, + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder, + com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder>( + metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); metrics_ = null; } return metricsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2951,12 +3452,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationSubtask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationSubtask) - private static final com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask(); } @@ -2965,16 +3467,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSubtask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationSubtask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSubtask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationSubtask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2989,6 +3491,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskName.java diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java index 02bb387..ba4f4a1 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationSubtaskOrBuilder.java @@ -1,57 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface MigrationSubtaskOrBuilder extends +public interface MigrationSubtaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationSubtask) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Immutable. The resource name for the migration subtask. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345/subtasks/678`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The taskId. */ java.lang.String getTaskId(); /** + * + * *
    * The unique ID of the task to which this subtask belongs.
    * 
* * string task_id = 2; + * * @return The bytes for taskId. */ - com.google.protobuf.ByteString - getTaskIdBytes(); + com.google.protobuf.ByteString getTaskIdBytes(); /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -60,10 +92,13 @@ public interface MigrationSubtaskOrBuilder extends
    * 
* * string type = 3; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The type of the Subtask. The migration service does not check whether this
    * is a known type. It is up to the task creator (i.e. orchestrator or worker)
@@ -72,107 +107,151 @@ public interface MigrationSubtaskOrBuilder extends
    * 
* * string type = 3; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the subtask.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State getState(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getResourceErrorDetailsList(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails(int index); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getResourceErrorDetails( + int index); /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getResourceErrorDetailsCount(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getResourceErrorDetailsOrBuilderList(); /** + * + * *
    * Output only. Provides details to errors and issues encountered while processing the
    * subtask. Presence of error details does not mean that the subtask failed.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder + getResourceErrorDetailsOrBuilder(int index); /** + * + * *
    * The number or resources with errors. Note: This is not the total
    * number of errors as each resource can have more than one error.
@@ -181,29 +260,38 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getReso
    * 
* * int32 resource_error_count = 13; + * * @return The resourceErrorCount. */ int getResourceErrorCount(); /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the subtask was created.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the subtask was created.
    * 
@@ -213,24 +301,32 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getReso com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Time when the subtask was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 8; + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Time when the subtask was last updated.
    * 
@@ -240,15 +336,18 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getReso com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** + * + * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
    * The metrics for the subtask.
    * 
@@ -257,6 +356,8 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getReso */ com.google.cloud.bigquery.migration.v2alpha.TimeSeries getMetrics(int index); /** + * + * *
    * The metrics for the subtask.
    * 
@@ -265,21 +366,24 @@ com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder getReso */ int getMetricsCount(); /** + * + * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** + * + * *
    * The metrics for the subtask.
    * 
* * repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11; */ - com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetricsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder getMetricsOrBuilder(int index); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java similarity index 63% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java index 1df7121..29d77f9 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTask.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A single task for a migration which has details about the configuration of
  * the task.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTask}
  */
-public final class MigrationTask extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationTask extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationTask)
     MigrationTaskOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationTask.newBuilder() to construct.
   private MigrationTask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationTask() {
     id_ = "";
     type_ = "";
@@ -28,16 +46,15 @@ private MigrationTask() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationTask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationTask(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,124 +73,158 @@ private MigrationTask(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            id_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            type_ = s;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Any.Builder subBuilder = null;
-            if (details_ != null) {
-              subBuilder = details_.toBuilder();
-            }
-            details_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(details_);
-              details_ = subBuilder.buildPartial();
+              id_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 42: {
-            com.google.rpc.ErrorInfo.Builder subBuilder = null;
-            if (processingError_ != null) {
-              subBuilder = processingError_.toBuilder();
+              type_ = s;
+              break;
             }
-            processingError_ = input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(processingError_);
-              processingError_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.protobuf.Any.Builder subBuilder = null;
+              if (details_ != null) {
+                subBuilder = details_.toBuilder();
+              }
+              details_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(details_);
+                details_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.rpc.ErrorInfo.Builder subBuilder = null;
+              if (processingError_ != null) {
+                subBuilder = processingError_.toBuilder();
+              }
+              processingError_ =
+                  input.readMessage(com.google.rpc.ErrorInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(processingError_);
+                processingError_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastUpdateTime_ != null) {
-              subBuilder = lastUpdateTime_.toBuilder();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastUpdateTime_);
-              lastUpdateTime_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastUpdateTime_ != null) {
+                subBuilder = lastUpdateTime_.toBuilder();
+              }
+              lastUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastUpdateTime_);
+                lastUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder subBuilder = null;
-            if (orchestrationResult_ != null) {
-              subBuilder = orchestrationResult_.toBuilder();
+          case 82:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder
+                  subBuilder = null;
+              if (orchestrationResult_ != null) {
+                subBuilder = orchestrationResult_.toBuilder();
+              }
+              orchestrationResult_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(orchestrationResult_);
+                orchestrationResult_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            orchestrationResult_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(orchestrationResult_);
-              orchestrationResult_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder subBuilder =
+                  null;
+              if (taskDetailsCase_ == 12) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)
+                            taskDetails_)
+                        .toBuilder();
+              }
+              taskDetails_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails)
+                        taskDetails_);
+                taskDetails_ = subBuilder.buildPartial();
+              }
+              taskDetailsCase_ = 12;
+              break;
             }
-
-            break;
-          }
-          case 98: {
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder subBuilder = null;
-            if (taskDetailsCase_ == 12) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_).toBuilder();
-            }
-            taskDetails_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_);
-              taskDetails_ = subBuilder.buildPartial();
+          case 106:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder
+                  subBuilder = null;
+              if (taskDetailsCase_ == 13) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
+                            taskDetails_)
+                        .toBuilder();
+              }
+              taskDetails_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
+                        taskDetails_);
+                taskDetails_ = subBuilder.buildPartial();
+              }
+              taskDetailsCase_ = 13;
+              break;
             }
-            taskDetailsCase_ = 12;
-            break;
-          }
-          case 106: {
-            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder subBuilder = null;
-            if (taskDetailsCase_ == 13) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_).toBuilder();
-            }
-            taskDetails_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_);
-              taskDetails_ = subBuilder.buildPartial();
-            }
-            taskDetailsCase_ = 13;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -181,36 +232,41 @@ private MigrationTask(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class,
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a migration task.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.MigrationTask.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unspecified.
      * 
@@ -219,6 +275,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The task is waiting for orchestration.
      * 
@@ -227,6 +285,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The task is assigned to an orchestrator.
      * 
@@ -235,6 +295,8 @@ public enum State */ ORCHESTRATING(2), /** + * + * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -243,6 +305,8 @@ public enum State */ RUNNING(3), /** + * + * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -252,6 +316,8 @@ public enum State
      */
     PAUSED(4),
     /**
+     *
+     *
      * 
      * The task finished successfully.
      * 
@@ -260,6 +326,8 @@ public enum State */ SUCCEEDED(5), /** + * + * *
      * The task finished unsuccessfully.
      * 
@@ -271,6 +339,8 @@ public enum State ; /** + * + * *
      * The state is unspecified.
      * 
@@ -279,6 +349,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The task is waiting for orchestration.
      * 
@@ -287,6 +359,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The task is assigned to an orchestrator.
      * 
@@ -295,6 +369,8 @@ public enum State */ public static final int ORCHESTRATING_VALUE = 2; /** + * + * *
      * The task is running, i.e. its subtasks are ready for execution.
      * 
@@ -303,6 +379,8 @@ public enum State */ public static final int RUNNING_VALUE = 3; /** + * + * *
      * Tha task is paused. Assigned subtasks can continue, but no new subtasks
      * will be scheduled.
@@ -312,6 +390,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 4;
     /**
+     *
+     *
      * 
      * The task finished successfully.
      * 
@@ -320,6 +400,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 5; /** + * + * *
      * The task finished unsuccessfully.
      * 
@@ -328,7 +410,6 @@ public enum State */ public static final int FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -353,53 +434,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return ORCHESTRATING; - case 3: return RUNNING; - case 4: return PAUSED; - case 5: return SUCCEEDED; - case 6: return FAILED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return ORCHESTRATING; + case 3: + return RUNNING; + case 4: + return PAUSED; + case 5: + return SUCCEEDED; + case 6: + return FAILED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -418,13 +505,16 @@ private State(int value) { private int taskDetailsCase_ = 0; private java.lang.Object taskDetails_; + public enum TaskDetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ASSESSMENT_TASK_DETAILS(12), TRANSLATION_TASK_DETAILS(13), TASKDETAILS_NOT_SET(0); private final int value; + private TaskDetailsCase(int value) { this.value = value; } @@ -440,30 +530,38 @@ public static TaskDetailsCase valueOf(int value) { public static TaskDetailsCase forNumber(int value) { switch (value) { - case 12: return ASSESSMENT_TASK_DETAILS; - case 13: return TRANSLATION_TASK_DETAILS; - case 0: return TASKDETAILS_NOT_SET; - default: return null; + case 12: + return ASSESSMENT_TASK_DETAILS; + case 13: + return TRANSLATION_TASK_DETAILS; + case 0: + return TASKDETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TaskDetailsCase - getTaskDetailsCase() { - return TaskDetailsCase.forNumber( - taskDetailsCase_); + public TaskDetailsCase getTaskDetailsCase() { + return TaskDetailsCase.forNumber(taskDetailsCase_); } public static final int ASSESSMENT_TASK_DETAILS_FIELD_NUMBER = 12; /** + * + * *
    * Task configuration for Assessment.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * * @return Whether the assessmentTaskDetails field is set. */ @java.lang.Override @@ -471,42 +569,58 @@ public boolean hasAssessmentTaskDetails() { return taskDetailsCase_ == 12; } /** + * + * *
    * Task configuration for Assessment.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * * @return The assessmentTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + getAssessmentTaskDetails() { if (taskDetailsCase_ == 12) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } /** + * + * *
    * Task configuration for Assessment.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder + getAssessmentTaskDetailsOrBuilder() { if (taskDetailsCase_ == 12) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); } public static final int TRANSLATION_TASK_DETAILS_FIELD_NUMBER = 13; /** + * + * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * * @return Whether the translationTaskDetails field is set. */ @java.lang.Override @@ -514,31 +628,42 @@ public boolean hasTranslationTaskDetails() { return taskDetailsCase_ == 13; } /** + * + * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * * @return The translationTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + getTranslationTaskDetails() { if (taskDetailsCase_ == 13) { - return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } /** + * + * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder + getTranslationTaskDetailsOrBuilder() { if (taskDetailsCase_ == 13) { - return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; + return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); } @@ -546,11 +671,16 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuild public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The id. */ @java.lang.Override @@ -559,29 +689,31 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -592,11 +724,14 @@ public java.lang.String getId() { public static final int TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** + * + * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -605,29 +740,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -638,6 +773,8 @@ public java.lang.String getType() { public static final int DETAILS_FIELD_NUMBER = 3; private com.google.protobuf.Any details_; /** + * + * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -645,6 +782,7 @@ public java.lang.String getType() {
    * 
* * .google.protobuf.Any details = 3; + * * @return Whether the details field is set. */ @java.lang.Override @@ -652,6 +790,8 @@ public boolean hasDetails() { return details_ != null; } /** + * + * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -659,6 +799,7 @@ public boolean hasDetails() {
    * 
* * .google.protobuf.Any details = 3; + * * @return The details. */ @java.lang.Override @@ -666,6 +807,8 @@ public com.google.protobuf.Any getDetails() { return details_ == null ? com.google.protobuf.Any.getDefaultInstance() : details_; } /** + * + * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -682,38 +825,57 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 4;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED + : result; } public static final int PROCESSING_ERROR_FIELD_NUMBER = 5; private com.google.rpc.ErrorInfo processingError_; /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ @java.lang.Override @@ -721,23 +883,32 @@ public boolean hasProcessingError() { return processingError_ != null; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ @java.lang.Override public com.google.rpc.ErrorInfo getProcessingError() { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { @@ -747,11 +918,14 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -759,11 +933,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -771,6 +948,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the task was created.
    * 
@@ -785,11 +964,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -797,18 +979,25 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Time when the task was last updated.
    * 
@@ -821,13 +1010,19 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } public static final int ORCHESTRATION_RESULT_FIELD_NUMBER = 10; - private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestrationResult_; + private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + orchestrationResult_; /** + * + * *
    * Output only. Additional information about the orchestration.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the orchestrationResult field is set. */ @java.lang.Override @@ -835,30 +1030,45 @@ public boolean hasOrchestrationResult() { return orchestrationResult_ != null; } /** + * + * *
    * Output only. Additional information about the orchestration.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The orchestrationResult. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getOrchestrationResult() { - return orchestrationResult_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance() : orchestrationResult_; + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + getOrchestrationResult() { + return orchestrationResult_ == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + .getDefaultInstance() + : orchestrationResult_; } /** + * + * *
    * Output only. Additional information about the orchestration.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder + getOrchestrationResultOrBuilder() { return getOrchestrationResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -870,8 +1080,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -881,7 +1090,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (details_ != null) { output.writeMessage(3, getDetails()); } - if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (processingError_ != null) { @@ -897,10 +1108,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(10, getOrchestrationResult()); } if (taskDetailsCase_ == 12) { - output.writeMessage(12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); + output.writeMessage( + 12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); } if (taskDetailsCase_ == 13) { - output.writeMessage(13, (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); + output.writeMessage( + 13, (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); } unknownFields.writeTo(output); } @@ -918,36 +1131,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } if (details_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDetails()); } - if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (processingError_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getProcessingError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProcessingError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastUpdateTime()); } if (orchestrationResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getOrchestrationResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(10, getOrchestrationResult()); } if (taskDetailsCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_); } if (taskDetailsCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, + (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -957,52 +1170,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTask)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationTask other = (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationTask other = + (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getType() - .equals(other.getType())) return false; + if (!getId().equals(other.getId())) return false; + if (!getType().equals(other.getType())) return false; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; } if (state_ != other.state_) return false; if (hasProcessingError() != other.hasProcessingError()) return false; if (hasProcessingError()) { - if (!getProcessingError() - .equals(other.getProcessingError())) return false; + if (!getProcessingError().equals(other.getProcessingError())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } if (hasOrchestrationResult() != other.hasOrchestrationResult()) return false; if (hasOrchestrationResult()) { - if (!getOrchestrationResult() - .equals(other.getOrchestrationResult())) return false; + if (!getOrchestrationResult().equals(other.getOrchestrationResult())) return false; } if (!getTaskDetailsCase().equals(other.getTaskDetailsCase())) return false; switch (taskDetailsCase_) { case 12: - if (!getAssessmentTaskDetails() - .equals(other.getAssessmentTaskDetails())) return false; + if (!getAssessmentTaskDetails().equals(other.getAssessmentTaskDetails())) return false; break; case 13: - if (!getTranslationTaskDetails() - .equals(other.getTranslationTaskDetails())) return false; + if (!getTranslationTaskDetails().equals(other.getTranslationTaskDetails())) return false; break; case 0: default: @@ -1062,96 +1267,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationTask prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationTask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A single task for a migration which has details about the configuration of
    * the task.
@@ -1159,21 +1372,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTask}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationTask)
       com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTask.class,
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTask.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationTask.newBuilder()
@@ -1181,16 +1396,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1236,9 +1450,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTask_descriptor;
     }
 
     @java.lang.Override
@@ -1257,7 +1471,8 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationTask buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTask result = new com.google.cloud.bigquery.migration.v2alpha.MigrationTask(this);
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTask result =
+          new com.google.cloud.bigquery.migration.v2alpha.MigrationTask(this);
       if (taskDetailsCase_ == 12) {
         if (assessmentTaskDetailsBuilder_ == null) {
           result.taskDetails_ = taskDetails_;
@@ -1309,38 +1524,39 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTask) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationTask)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationTask) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1348,7 +1564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationTask other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDefaultInstance())
+        return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         onChanged();
@@ -1376,17 +1593,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationTa
         mergeOrchestrationResult(other.getOrchestrationResult());
       }
       switch (other.getTaskDetailsCase()) {
-        case ASSESSMENT_TASK_DETAILS: {
-          mergeAssessmentTaskDetails(other.getAssessmentTaskDetails());
-          break;
-        }
-        case TRANSLATION_TASK_DETAILS: {
-          mergeTranslationTaskDetails(other.getTranslationTaskDetails());
-          break;
-        }
-        case TASKDETAILS_NOT_SET: {
-          break;
-        }
+        case ASSESSMENT_TASK_DETAILS:
+          {
+            mergeAssessmentTaskDetails(other.getAssessmentTaskDetails());
+            break;
+          }
+        case TRANSLATION_TASK_DETAILS:
+          {
+            mergeTranslationTaskDetails(other.getTranslationTaskDetails());
+            break;
+          }
+        case TASKDETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1407,7 +1627,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.MigrationTask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1416,12 +1637,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int taskDetailsCase_ = 0;
     private java.lang.Object taskDetails_;
-    public TaskDetailsCase
-        getTaskDetailsCase() {
-      return TaskDetailsCase.forNumber(
-          taskDetailsCase_);
+
+    public TaskDetailsCase getTaskDetailsCase() {
+      return TaskDetailsCase.forNumber(taskDetailsCase_);
     }
 
     public Builder clearTaskDetails() {
@@ -1431,15 +1652,22 @@ public Builder clearTaskDetails() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder> assessmentTaskDetailsBuilder_;
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails,
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder,
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder>
+        assessmentTaskDetailsBuilder_;
     /**
+     *
+     *
      * 
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * * @return Whether the assessmentTaskDetails field is set. */ @java.lang.Override @@ -1447,35 +1675,48 @@ public boolean hasAssessmentTaskDetails() { return taskDetailsCase_ == 12; } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * * @return The assessmentTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + getAssessmentTaskDetails() { if (assessmentTaskDetailsBuilder_ == null) { if (taskDetailsCase_ == 12) { return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + .getDefaultInstance(); } else { if (taskDetailsCase_ == 12) { return assessmentTaskDetailsBuilder_.getMessage(); } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + .getDefaultInstance(); } } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ - public Builder setAssessmentTaskDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { + public Builder setAssessmentTaskDetails( + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { if (assessmentTaskDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1489,11 +1730,15 @@ public Builder setAssessmentTaskDetails(com.google.cloud.bigquery.migration.v2al return this; } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ public Builder setAssessmentTaskDetails( com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder builderForValue) { @@ -1507,18 +1752,29 @@ public Builder setAssessmentTaskDetails( return this; } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ - public Builder mergeAssessmentTaskDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { + public Builder mergeAssessmentTaskDetails( + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails value) { if (assessmentTaskDetailsBuilder_ == null) { - if (taskDetailsCase_ == 12 && - taskDetails_ != com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance()) { - taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder((com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_) - .mergeFrom(value).buildPartial(); + if (taskDetailsCase_ == 12 + && taskDetails_ + != com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + .getDefaultInstance()) { + taskDetails_ = + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.newBuilder( + (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) + taskDetails_) + .mergeFrom(value) + .buildPartial(); } else { taskDetails_ = value; } @@ -1534,11 +1790,15 @@ public Builder mergeAssessmentTaskDetails(com.google.cloud.bigquery.migration.v2 return this; } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ public Builder clearAssessmentTaskDetails() { if (assessmentTaskDetailsBuilder_ == null) { @@ -1557,67 +1817,98 @@ public Builder clearAssessmentTaskDetails() { return this; } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder getAssessmentTaskDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder + getAssessmentTaskDetailsBuilder() { return getAssessmentTaskDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder + getAssessmentTaskDetailsOrBuilder() { if ((taskDetailsCase_ == 12) && (assessmentTaskDetailsBuilder_ != null)) { return assessmentTaskDetailsBuilder_.getMessageOrBuilder(); } else { if (taskDetailsCase_ == 12) { return (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + .getDefaultInstance(); } } /** + * + * *
      * Task configuration for Assessment.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder> getAssessmentTaskDetailsFieldBuilder() { if (assessmentTaskDetailsBuilder_ == null) { if (!(taskDetailsCase_ == 12)) { - taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.getDefaultInstance(); + taskDetails_ = + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails + .getDefaultInstance(); } - assessmentTaskDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder>( + assessmentTaskDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails, + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails.Builder, + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails) taskDetails_, getParentForChildren(), isClean()); taskDetails_ = null; } taskDetailsCase_ = 12; - onChanged();; + onChanged(); + ; return assessmentTaskDetailsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> translationTaskDetailsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> + translationTaskDetailsBuilder_; /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * * @return Whether the translationTaskDetails field is set. */ @java.lang.Override @@ -1625,35 +1916,48 @@ public boolean hasTranslationTaskDetails() { return taskDetailsCase_ == 13; } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * * @return The translationTaskDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + getTranslationTaskDetails() { if (translationTaskDetailsBuilder_ == null) { if (taskDetailsCase_ == 13) { return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + .getDefaultInstance(); } else { if (taskDetailsCase_ == 13) { return translationTaskDetailsBuilder_.getMessage(); } - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + .getDefaultInstance(); } } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ - public Builder setTranslationTaskDetails(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { + public Builder setTranslationTaskDetails( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { if (translationTaskDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1667,14 +1971,19 @@ public Builder setTranslationTaskDetails(com.google.cloud.bigquery.migration.v2a return this; } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ public Builder setTranslationTaskDetails( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder + builderForValue) { if (translationTaskDetailsBuilder_ == null) { taskDetails_ = builderForValue.build(); onChanged(); @@ -1685,18 +1994,29 @@ public Builder setTranslationTaskDetails( return this; } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ - public Builder mergeTranslationTaskDetails(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { + public Builder mergeTranslationTaskDetails( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails value) { if (translationTaskDetailsBuilder_ == null) { - if (taskDetailsCase_ == 13 && - taskDetails_ != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance()) { - taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_) - .mergeFrom(value).buildPartial(); + if (taskDetailsCase_ == 13 + && taskDetails_ + != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + .getDefaultInstance()) { + taskDetails_ = + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder( + (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) + taskDetails_) + .mergeFrom(value) + .buildPartial(); } else { taskDetails_ = value; } @@ -1712,11 +2032,15 @@ public Builder mergeTranslationTaskDetails(com.google.cloud.bigquery.migration.v return this; } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ public Builder clearTranslationTaskDetails() { if (translationTaskDetailsBuilder_ == null) { @@ -1735,73 +2059,100 @@ public Builder clearTranslationTaskDetails() { return this; } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder getTranslationTaskDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder + getTranslationTaskDetailsBuilder() { return getTranslationTaskDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder + getTranslationTaskDetailsOrBuilder() { if ((taskDetailsCase_ == 13) && (translationTaskDetailsBuilder_ != null)) { return translationTaskDetailsBuilder_.getMessageOrBuilder(); } else { if (taskDetailsCase_ == 13) { return (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_; } - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + .getDefaultInstance(); } } /** + * + * *
      * Task configuration for Batch/Offline SQL Translation.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder> getTranslationTaskDetailsFieldBuilder() { if (translationTaskDetailsBuilder_ == null) { if (!(taskDetailsCase_ == 13)) { - taskDetails_ = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance(); + taskDetails_ = + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + .getDefaultInstance(); } - translationTaskDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder>( + translationTaskDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) taskDetails_, getParentForChildren(), isClean()); taskDetails_ = null; } taskDetailsCase_ = 13; - onChanged();; + onChanged(); + ; return translationTaskDetailsBuilder_; } private java.lang.Object id_ = ""; /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1810,20 +2161,23 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -1831,54 +2185,67 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
      * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -1886,18 +2253,20 @@ public Builder setIdBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1906,20 +2275,21 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -1927,54 +2297,61 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The type of the task. This must be a supported task type.
      * 
* * string type = 2; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1982,8 +2359,13 @@ public Builder setTypeBytes( private com.google.protobuf.Any details_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> detailsBuilder_; + com.google.protobuf.Any, + com.google.protobuf.Any.Builder, + com.google.protobuf.AnyOrBuilder> + detailsBuilder_; /** + * + * *
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -1991,12 +2373,15 @@ public Builder setTypeBytes(
      * 
* * .google.protobuf.Any details = 3; + * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** + * + * *
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2004,6 +2389,7 @@ public boolean hasDetails() {
      * 
* * .google.protobuf.Any details = 3; + * * @return The details. */ public com.google.protobuf.Any getDetails() { @@ -2014,6 +2400,8 @@ public com.google.protobuf.Any getDetails() { } } /** + * + * *
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2036,6 +2424,8 @@ public Builder setDetails(com.google.protobuf.Any value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2044,8 +2434,7 @@ public Builder setDetails(com.google.protobuf.Any value) {
      *
      * .google.protobuf.Any details = 3;
      */
-    public Builder setDetails(
-        com.google.protobuf.Any.Builder builderForValue) {
+    public Builder setDetails(com.google.protobuf.Any.Builder builderForValue) {
       if (detailsBuilder_ == null) {
         details_ = builderForValue.build();
         onChanged();
@@ -2056,6 +2445,8 @@ public Builder setDetails(
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2067,8 +2458,7 @@ public Builder setDetails(
     public Builder mergeDetails(com.google.protobuf.Any value) {
       if (detailsBuilder_ == null) {
         if (details_ != null) {
-          details_ =
-            com.google.protobuf.Any.newBuilder(details_).mergeFrom(value).buildPartial();
+          details_ = com.google.protobuf.Any.newBuilder(details_).mergeFrom(value).buildPartial();
         } else {
           details_ = value;
         }
@@ -2080,6 +2470,8 @@ public Builder mergeDetails(com.google.protobuf.Any value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2100,6 +2492,8 @@ public Builder clearDetails() {
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2109,11 +2503,13 @@ public Builder clearDetails() {
      * .google.protobuf.Any details = 3;
      */
     public com.google.protobuf.Any.Builder getDetailsBuilder() {
-      
+
       onChanged();
       return getDetailsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2126,11 +2522,12 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
       if (detailsBuilder_ != null) {
         return detailsBuilder_.getMessageOrBuilder();
       } else {
-        return details_ == null ?
-            com.google.protobuf.Any.getDefaultInstance() : details_;
+        return details_ == null ? com.google.protobuf.Any.getDefaultInstance() : details_;
       }
     }
     /**
+     *
+     *
      * 
      * DEPRECATED! Use one of the task_details below.
      * The details of the task. The type URL must be one of the supported task
@@ -2140,14 +2537,16 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
      * .google.protobuf.Any details = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
+            com.google.protobuf.Any,
+            com.google.protobuf.Any.Builder,
+            com.google.protobuf.AnyOrBuilder>
         getDetailsFieldBuilder() {
       if (detailsBuilder_ == null) {
-        detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
-                getDetails(),
-                getParentForChildren(),
-                isClean());
+        detailsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Any,
+                com.google.protobuf.Any.Builder,
+                com.google.protobuf.AnyOrBuilder>(getDetails(), getParentForChildren(), isClean());
         details_ = null;
       }
       return detailsBuilder_;
@@ -2155,51 +2554,75 @@ public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder() {
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State result = + com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2207,21 +2630,26 @@ public Builder setState(com.google.cloud.bigquery.migration.v2alpha.MigrationTas if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of the task.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2229,39 +2657,58 @@ public Builder clearState() { private com.google.rpc.ErrorInfo processingError_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> processingErrorBuilder_; + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> + processingErrorBuilder_; /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ public boolean hasProcessingError() { return processingErrorBuilder_ != null || processingError_ != null; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ public com.google.rpc.ErrorInfo getProcessingError() { if (processingErrorBuilder_ == null) { - return processingError_ == null ? com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } else { return processingErrorBuilder_.getMessage(); } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { @@ -2277,14 +2724,17 @@ public Builder setProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProcessingError( - com.google.rpc.ErrorInfo.Builder builderForValue) { + public Builder setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue) { if (processingErrorBuilder_ == null) { processingError_ = builderForValue.build(); onChanged(); @@ -2295,17 +2745,21 @@ public Builder setProcessingError( return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { if (processingErrorBuilder_ == null) { if (processingError_ != null) { processingError_ = - com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); + com.google.rpc.ErrorInfo.newBuilder(processingError_).mergeFrom(value).buildPartial(); } else { processingError_ = value; } @@ -2317,11 +2771,15 @@ public Builder mergeProcessingError(com.google.rpc.ErrorInfo value) { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProcessingError() { if (processingErrorBuilder_ == null) { @@ -2335,48 +2793,64 @@ public Builder clearProcessingError() { return this; } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfo.Builder getProcessingErrorBuilder() { - + onChanged(); return getProcessingErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { if (processingErrorBuilder_ != null) { return processingErrorBuilder_.getMessageOrBuilder(); } else { - return processingError_ == null ? - com.google.rpc.ErrorInfo.getDefaultInstance() : processingError_; + return processingError_ == null + ? com.google.rpc.ErrorInfo.getDefaultInstance() + : processingError_; } } /** + * + * *
      * Output only. An explanation that may be populated when the task is in FAILED state.
      * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder> + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder> getProcessingErrorFieldBuilder() { if (processingErrorBuilder_ == null) { - processingErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ErrorInfo, com.google.rpc.ErrorInfo.Builder, com.google.rpc.ErrorInfoOrBuilder>( - getProcessingError(), - getParentForChildren(), - isClean()); + processingErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ErrorInfo, + com.google.rpc.ErrorInfo.Builder, + com.google.rpc.ErrorInfoOrBuilder>( + getProcessingError(), getParentForChildren(), isClean()); processingError_ = null; } return processingErrorBuilder_; @@ -2384,34 +2858,47 @@ public com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the task was created.
      * 
@@ -2432,14 +2919,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2450,6 +2938,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the task was created.
      * 
@@ -2460,7 +2950,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2472,6 +2962,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was created.
      * 
@@ -2490,6 +2982,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the task was created.
      * 
@@ -2497,11 +2991,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the task was created.
      * 
@@ -2512,11 +3008,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time when the task was created.
      * 
@@ -2524,14 +3023,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2539,34 +3041,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2587,14 +3102,15 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 7; */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2605,6 +3121,8 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2615,7 +3133,9 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -2627,6 +3147,8 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2645,6 +3167,8 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2652,11 +3176,13 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 7; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2667,11 +3193,14 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Time when the task was last updated.
      * 
@@ -2679,56 +3208,82 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } - private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestrationResult_; + private com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + orchestrationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> orchestrationResultBuilder_; + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> + orchestrationResultBuilder_; /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the orchestrationResult field is set. */ public boolean hasOrchestrationResult() { return orchestrationResultBuilder_ != null || orchestrationResult_ != null; } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The orchestrationResult. */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getOrchestrationResult() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + getOrchestrationResult() { if (orchestrationResultBuilder_ == null) { - return orchestrationResult_ == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance() : orchestrationResult_; + return orchestrationResult_ == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + .getDefaultInstance() + : orchestrationResult_; } else { return orchestrationResultBuilder_.getMessage(); } } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setOrchestrationResult(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { + public Builder setOrchestrationResult( + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { if (orchestrationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2742,14 +3297,19 @@ public Builder setOrchestrationResult(com.google.cloud.bigquery.migration.v2alph return this; } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOrchestrationResult( - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder + builderForValue) { if (orchestrationResultBuilder_ == null) { orchestrationResult_ = builderForValue.build(); onChanged(); @@ -2760,17 +3320,25 @@ public Builder setOrchestrationResult( return this; } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeOrchestrationResult(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { + public Builder mergeOrchestrationResult( + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult value) { if (orchestrationResultBuilder_ == null) { if (orchestrationResult_ != null) { orchestrationResult_ = - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.newBuilder(orchestrationResult_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + .newBuilder(orchestrationResult_) + .mergeFrom(value) + .buildPartial(); } else { orchestrationResult_ = value; } @@ -2782,11 +3350,15 @@ public Builder mergeOrchestrationResult(com.google.cloud.bigquery.migration.v2al return this; } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOrchestrationResult() { if (orchestrationResultBuilder_ == null) { @@ -2800,55 +3372,76 @@ public Builder clearOrchestrationResult() { return this; } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder getOrchestrationResultBuilder() { - + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder + getOrchestrationResultBuilder() { + onChanged(); return getOrchestrationResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder + getOrchestrationResultOrBuilder() { if (orchestrationResultBuilder_ != null) { return orchestrationResultBuilder_.getMessageOrBuilder(); } else { - return orchestrationResult_ == null ? - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance() : orchestrationResult_; + return orchestrationResult_ == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + .getDefaultInstance() + : orchestrationResult_; } } /** + * + * *
      * Output only. Additional information about the orchestration.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder> getOrchestrationResultFieldBuilder() { if (orchestrationResultBuilder_ == null) { - orchestrationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder>( - getOrchestrationResult(), - getParentForChildren(), - isClean()); + orchestrationResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult, + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + .Builder, + com.google.cloud.bigquery.migration.v2alpha + .MigrationTaskOrchestrationResultOrBuilder>( + getOrchestrationResult(), getParentForChildren(), isClean()); orchestrationResult_ = null; } return orchestrationResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2858,12 +3451,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationTask) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationTask) private static final com.google.cloud.bigquery.migration.v2alpha.MigrationTask DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationTask(); } @@ -2872,16 +3465,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.MigrationTask getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationTask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationTask(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2896,6 +3489,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java similarity index 65% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java index 1850ce7..69089d5 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrBuilder.java @@ -1,107 +1,169 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface MigrationTaskOrBuilder extends +public interface MigrationTaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTask) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Task configuration for Assessment.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * * @return Whether the assessmentTaskDetails field is set. */ boolean hasAssessmentTaskDetails(); /** + * + * *
    * Task configuration for Assessment.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * * @return The assessmentTaskDetails. */ com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails(); /** + * + * *
    * Task configuration for Assessment.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12; + * */ - com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder + getAssessmentTaskDetailsOrBuilder(); /** + * + * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * * @return Whether the translationTaskDetails field is set. */ boolean hasTranslationTaskDetails(); /** + * + * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * * @return The translationTaskDetails. */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails(); /** + * + * *
    * Task configuration for Batch/Offline SQL Translation.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13; + * */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder + getTranslationTaskDetailsOrBuilder(); /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
    * 
* - * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The type of the task. This must be a supported task type.
    * 
* * string type = 2; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -109,10 +171,13 @@ public interface MigrationTaskOrBuilder extends
    * 
* * .google.protobuf.Any details = 3; + * * @return Whether the details field is set. */ boolean hasDetails(); /** + * + * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -120,10 +185,13 @@ public interface MigrationTaskOrBuilder extends
    * 
* * .google.protobuf.Any details = 3; + * * @return The details. */ com.google.protobuf.Any getDetails(); /** + * + * *
    * DEPRECATED! Use one of the task_details below.
    * The details of the task. The type URL must be one of the supported task
@@ -135,70 +203,99 @@ public interface MigrationTaskOrBuilder extends
   com.google.protobuf.AnyOrBuilder getDetailsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the task.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the processingError field is set. */ boolean hasProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The processingError. */ com.google.rpc.ErrorInfo getProcessingError(); /** + * + * *
    * Output only. An explanation that may be populated when the task is in FAILED state.
    * 
* - * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder(); /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the task was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the task was created.
    * 
@@ -208,24 +305,32 @@ public interface MigrationTaskOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Time when the task was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 7; + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Time when the task was last updated.
    * 
@@ -235,31 +340,48 @@ public interface MigrationTaskOrBuilder extends com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Additional information about the orchestration.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the orchestrationResult field is set. */ boolean hasOrchestrationResult(); /** + * + * *
    * Output only. Additional information about the orchestration.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The orchestrationResult. */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getOrchestrationResult(); + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + getOrchestrationResult(); /** + * + * *
    * Output only. Additional information about the orchestration.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder + getOrchestrationResultOrBuilder(); - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.TaskDetailsCase getTaskDetailsCase(); + public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.TaskDetailsCase + getTaskDetailsCase(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java similarity index 52% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java index 6702e77..d08cd36 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Additional information from the orchestrator when it is done with the
  * task orchestration.
@@ -11,30 +28,30 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult}
  */
-public final class MigrationTaskOrchestrationResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationTaskOrchestrationResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)
     MigrationTaskOrchestrationResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationTaskOrchestrationResult.newBuilder() to construct.
-  private MigrationTaskOrchestrationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private MigrationTaskOrchestrationResult(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private MigrationTaskOrchestrationResult() {
-  }
+
+  private MigrationTaskOrchestrationResult() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationTaskOrchestrationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationTaskOrchestrationResult(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,27 +70,40 @@ private MigrationTaskOrchestrationResult(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder subBuilder = null;
-            if (detailsCase_ == 1) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_).toBuilder();
+          case 10:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails
+                      .Builder
+                  subBuilder = null;
+              if (detailsCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2alpha
+                                .AssessmentOrchestrationResultDetails)
+                            details_)
+                        .toBuilder();
+              }
+              details_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha
+                          .AssessmentOrchestrationResultDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2alpha
+                            .AssessmentOrchestrationResultDetails)
+                        details_);
+                details_ = subBuilder.buildPartial();
+              }
+              detailsCase_ = 1;
+              break;
             }
-            details_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_);
-              details_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            detailsCase_ = 1;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +111,40 @@ private MigrationTaskOrchestrationResult(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class,
+            com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder
+                .class);
   }
 
   private int detailsCase_ = 0;
   private java.lang.Object details_;
+
   public enum DetailsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ASSESSMENT_DETAILS(1),
     DETAILS_NOT_SET(0);
     private final int value;
+
     private DetailsCase(int value) {
       this.value = value;
     }
@@ -124,29 +160,36 @@ public static DetailsCase valueOf(int value) {
 
     public static DetailsCase forNumber(int value) {
       switch (value) {
-        case 1: return ASSESSMENT_DETAILS;
-        case 0: return DETAILS_NOT_SET;
-        default: return null;
+        case 1:
+          return ASSESSMENT_DETAILS;
+        case 0:
+          return DETAILS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DetailsCase
-  getDetailsCase() {
-    return DetailsCase.forNumber(
-        detailsCase_);
+  public DetailsCase getDetailsCase() {
+    return DetailsCase.forNumber(detailsCase_);
   }
 
   public static final int ASSESSMENT_DETAILS_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Details specific to assessment task types.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * * @return Whether the assessmentDetails field is set. */ @java.lang.Override @@ -154,36 +197,52 @@ public boolean hasAssessmentDetails() { return detailsCase_ == 1; } /** + * + * *
    * Details specific to assessment task types.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * * @return The assessmentDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getAssessmentDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + getAssessmentDetails() { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } /** + * + * *
    * Details specific to assessment task types.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder getAssessmentDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder + getAssessmentDetailsOrBuilder() { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,10 +254,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (detailsCase_ == 1) { - output.writeMessage(1, (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_); + output.writeMessage( + 1, + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_); } unknownFields.writeTo(output); } @@ -210,8 +271,11 @@ public int getSerializedSize() { size = 0; if (detailsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -221,18 +285,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other = (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other = + (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: - if (!getAssessmentDetails() - .equals(other.getAssessmentDetails())) return false; + if (!getAssessmentDetails().equals(other.getAssessmentDetails())) return false; break; case 0: default: @@ -261,97 +326,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Additional information from the orchestrator when it is done with the
    * task orchestration.
@@ -359,38 +438,41 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)
       com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class, com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.class,
+              com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.newBuilder()
+    // Construct using
+    // com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -400,19 +482,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationTaskOrchestrationResult_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance();
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult build() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result = buildPartial();
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -420,8 +505,10 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationRes
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result = new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(this);
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
+        buildPartial() {
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult result =
+          new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(this);
       if (detailsCase_ == 1) {
         if (assessmentDetailsBuilder_ == null) {
           result.details_ = details_;
@@ -438,54 +525,62 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationRes
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)other);
+      if (other
+          instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) {
+        return mergeFrom(
+            (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult other) {
+      if (other
+          == com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
+              .getDefaultInstance()) return this;
       switch (other.getDetailsCase()) {
-        case ASSESSMENT_DETAILS: {
-          mergeAssessmentDetails(other.getAssessmentDetails());
-          break;
-        }
-        case DETAILS_NOT_SET: {
-          break;
-        }
+        case ASSESSMENT_DETAILS:
+          {
+            mergeAssessmentDetails(other.getAssessmentDetails());
+            break;
+          }
+        case DETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -502,11 +597,14 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parsedMessage = null;
+      com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult parsedMessage =
+          null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -515,12 +613,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int detailsCase_ = 0;
     private java.lang.Object details_;
-    public DetailsCase
-        getDetailsCase() {
-      return DetailsCase.forNumber(
-          detailsCase_);
+
+    public DetailsCase getDetailsCase() {
+      return DetailsCase.forNumber(detailsCase_);
     }
 
     public Builder clearDetails() {
@@ -530,15 +628,24 @@ public Builder clearDetails() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder> assessmentDetailsBuilder_;
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails,
+            com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails
+                .Builder,
+            com.google.cloud.bigquery.migration.v2alpha
+                .AssessmentOrchestrationResultDetailsOrBuilder>
+        assessmentDetailsBuilder_;
     /**
+     *
+     *
      * 
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * * @return Whether the assessmentDetails field is set. */ @java.lang.Override @@ -546,35 +653,49 @@ public boolean hasAssessmentDetails() { return detailsCase_ == 1; } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * * @return The assessmentDetails. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails getAssessmentDetails() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + getAssessmentDetails() { if (assessmentDetailsBuilder_ == null) { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } else { if (detailsCase_ == 1) { return assessmentDetailsBuilder_.getMessage(); } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ - public Builder setAssessmentDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { + public Builder setAssessmentDetails( + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { if (assessmentDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -588,14 +709,19 @@ public Builder setAssessmentDetails(com.google.cloud.bigquery.migration.v2alpha. return this; } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ public Builder setAssessmentDetails( - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder + builderForValue) { if (assessmentDetailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -606,18 +732,31 @@ public Builder setAssessmentDetails( return this; } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ - public Builder mergeAssessmentDetails(com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { + public Builder mergeAssessmentDetails( + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails value) { if (assessmentDetailsBuilder_ == null) { - if (detailsCase_ == 1 && - details_ != com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance()) { - details_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.newBuilder((com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 1 + && details_ + != com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance()) { + details_ = + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .newBuilder( + (com.google.cloud.bigquery.migration.v2alpha + .AssessmentOrchestrationResultDetails) + details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -633,11 +772,15 @@ public Builder mergeAssessmentDetails(com.google.cloud.bigquery.migration.v2alph return this; } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ public Builder clearAssessmentDetails() { if (assessmentDetailsBuilder_ == null) { @@ -656,61 +799,90 @@ public Builder clearAssessmentDetails() { return this; } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder getAssessmentDetailsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder + getAssessmentDetailsBuilder() { return getAssessmentDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder getAssessmentDetailsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder + getAssessmentDetailsOrBuilder() { if ((detailsCase_ == 1) && (assessmentDetailsBuilder_ != null)) { return assessmentDetailsBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 1) { - return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_; + return (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_; } - return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + return com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } } /** + * + * *
      * Details specific to assessment task types.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .Builder, + com.google.cloud.bigquery.migration.v2alpha + .AssessmentOrchestrationResultDetailsOrBuilder> getAssessmentDetailsFieldBuilder() { if (assessmentDetailsBuilder_ == null) { if (!(detailsCase_ == 1)) { - details_ = com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.getDefaultInstance(); + details_ = + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .getDefaultInstance(); } - assessmentDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails.Builder, com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder>( - (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) details_, + assessmentDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails, + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + .Builder, + com.google.cloud.bigquery.migration.v2alpha + .AssessmentOrchestrationResultDetailsOrBuilder>( + (com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails) + details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 1; - onChanged();; + onChanged(); + ; return assessmentDetailsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -720,30 +892,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) - private static final com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult(); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationTaskOrchestrationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationTaskOrchestrationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationTaskOrchestrationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationTaskOrchestrationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,9 +930,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java new file mode 100644 index 0000000..92b6d4b --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationTaskOrchestrationResultOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface MigrationTaskOrchestrationResultOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Details specific to assessment task types.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * + * @return Whether the assessmentDetails field is set. + */ + boolean hasAssessmentDetails(); + /** + * + * + *
+   * Details specific to assessment task types.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + * + * @return The assessmentDetails. + */ + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails + getAssessmentDetails(); + /** + * + * + *
+   * Details specific to assessment task types.
+   * 
+ * + * + * .google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails assessment_details = 1; + * + */ + com.google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetailsOrBuilder + getAssessmentDetailsOrBuilder(); + + public com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult.DetailsCase + getDetailsCase(); +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java similarity index 65% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java index 94ad6fa..c7aad91 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflow.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A migration workflow which specifies what needs to be done for an EDW
  * migration.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationWorkflow}
  */
-public final class MigrationWorkflow extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationWorkflow extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)
     MigrationWorkflowOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationWorkflow.newBuilder() to construct.
   private MigrationWorkflow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationWorkflow() {
     name_ = "";
     displayName_ = "";
@@ -28,16 +46,15 @@ private MigrationWorkflow() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationWorkflow();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationWorkflow(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,70 +74,80 @@ private MigrationWorkflow(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tasks_ = com.google.protobuf.MapField.newMapField(
-                  TasksDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
-            }
-            com.google.protobuf.MapEntry
-            tasks__ = input.readMessage(
-                TasksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            tasks_.getMutableMap().put(
-                tasks__.getKey(), tasks__.getValue());
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            state_ = rawValue;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tasks_ =
+                    com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry<
+                      java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask>
+                  tasks__ =
+                      input.readMessage(
+                          TasksDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+              tasks_.getMutableMap().put(tasks__.getKey(), tasks__.getValue());
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastUpdateTime_ != null) {
-              subBuilder = lastUpdateTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastUpdateTime_);
-              lastUpdateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastUpdateTime_ != null) {
+                subBuilder = lastUpdateTime_.toBuilder();
+              }
+              lastUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastUpdateTime_);
+                lastUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -128,48 +155,52 @@ private MigrationWorkflow(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetTasks();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
+            com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible migration workflow states.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Workflow state is unspecified.
      * 
@@ -178,6 +209,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -187,6 +220,8 @@ public enum State
      */
     DRAFT(1),
     /**
+     *
+     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -195,6 +230,8 @@ public enum State */ RUNNING(2), /** + * + * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -204,6 +241,8 @@ public enum State
      */
     PAUSED(3),
     /**
+     *
+     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -217,6 +256,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Workflow state is unspecified.
      * 
@@ -225,6 +266,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Workflow is in draft status, i.e. tasks are not yet eligible for
      * execution.
@@ -234,6 +277,8 @@ public enum State
      */
     public static final int DRAFT_VALUE = 1;
     /**
+     *
+     *
      * 
      * Workflow is running (i.e. tasks are eligible for execution).
      * 
@@ -242,6 +287,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * Workflow is paused. Tasks currently in progress may continue, but no
      * further tasks will be scheduled.
@@ -251,6 +298,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Workflow is complete. There should not be any task in a non-terminal
      * state, but if they are (e.g. forced termination), they will not be
@@ -261,7 +310,6 @@ public enum State
      */
     public static final int COMPLETED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -286,51 +334,55 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return DRAFT;
-        case 2: return RUNNING;
-        case 3: return PAUSED;
-        case 4: return COMPLETED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return DRAFT;
+        case 2:
+          return RUNNING;
+        case 3:
+          return PAUSED;
+        case 4:
+          return COMPLETED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -350,13 +402,18 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ @java.lang.Override @@ -365,31 +422,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -400,12 +459,15 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The displayName. */ @java.lang.Override @@ -414,30 +476,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -446,24 +508,32 @@ public java.lang.String getDisplayName() { } public static final int TASKS_FIELD_NUMBER = 2; + private static final class TasksDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> defaultEntry = + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.bigquery.migration.v2alpha.MigrationTask.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto + .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_TasksEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.bigquery.migration.v2alpha.MigrationTask + .getDefaultInstance()); } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + tasks_; + private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks_; - private com.google.protobuf.MapField - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); } return tasks_; } @@ -472,76 +542,89 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ - @java.lang.Override - public boolean containsTasks( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsTasks(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetTasks().getMap().containsKey(key); } - /** - * Use {@link #getTasksMap()} instead. - */ + /** Use {@link #getTasksMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getTasks() { + public java.util.Map + getTasks() { return getTasksMap(); } /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ @java.lang.Override - - public java.util.Map getTasksMap() { + public java.util.Map + getTasksMap() { return internalGetTasks().getMap(); } /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTasks().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTasks().getMap(); if (!map.containsKey(key)) { @@ -553,38 +636,56 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -592,11 +693,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ @java.lang.Override @@ -604,6 +708,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the workflow was created.
    * 
@@ -618,11 +724,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -630,18 +739,25 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Time when the workflow was last updated.
    * 
@@ -654,6 +770,7 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -665,18 +782,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTasks(), - TasksDefaultEntryHolder.defaultEntry, - 2); - if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTasks(), TasksDefaultEntryHolder.defaultEntry, 2); + if (state_ + != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (createTime_ != null) { @@ -700,27 +814,29 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry entry - : internalGetTasks().getMap().entrySet()) { - com.google.protobuf.MapEntry - tasks__ = TasksDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, tasks__); - } - if (state_ != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + entry : internalGetTasks().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + tasks__ = + TasksDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tasks__); + } + if (state_ + != com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -733,29 +849,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow other = (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) obj; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow other = + (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetTasks().equals( - other.internalGetTasks())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetTasks().equals(other.internalGetTasks())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -792,96 +904,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A migration workflow which specifies what needs to be done for an EDW
    * migration.
@@ -889,43 +1009,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.MigrationWorkflow}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)
       com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetTasks();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableTasks();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class, com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
+              com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.newBuilder()
@@ -933,16 +1053,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -969,13 +1088,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto.internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationEntitiesProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_MigrationWorkflow_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance();
     }
 
@@ -990,7 +1110,8 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow result = new com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow(this);
+      com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow result =
+          new com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1015,38 +1136,39 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1054,7 +1176,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1063,8 +1187,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.MigrationWo
         displayName_ = other.displayName_;
         onChanged();
       }
-      internalGetMutableTasks().mergeFrom(
-          other.internalGetTasks());
+      internalGetMutableTasks().mergeFrom(other.internalGetTasks());
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1093,7 +1216,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1102,24 +1227,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1128,22 +1258,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1151,60 +1284,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The unique identifier for the migration workflow. The ID is
      * server-generated.
      * Example: `projects/123/locations/us/workflows/345`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1212,19 +1358,21 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1233,21 +1381,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1255,78 +1404,89 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the workflow. This can be set to give a workflow
      * a descriptive name. There is no guarantee or enforcement of uniqueness.
      * 
* * string display_name = 6; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks_; - private com.google.protobuf.MapField - internalGetTasks() { + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + tasks_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + internalGetTasks() { if (tasks_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TasksDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TasksDefaultEntryHolder.defaultEntry); } return tasks_; } - private com.google.protobuf.MapField - internalGetMutableTasks() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + internalGetMutableTasks() { + onChanged(); + ; if (tasks_ == null) { - tasks_ = com.google.protobuf.MapField.newMapField( - TasksDefaultEntryHolder.defaultEntry); + tasks_ = com.google.protobuf.MapField.newMapField(TasksDefaultEntryHolder.defaultEntry); } if (!tasks_.isMutable()) { tasks_ = tasks_.copy(); @@ -1338,78 +1498,93 @@ public int getTasksCount() { return internalGetTasks().getMap().size(); } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ - @java.lang.Override - public boolean containsTasks( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsTasks(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetTasks().getMap().containsKey(key); } - /** - * Use {@link #getTasksMap()} instead. - */ + /** Use {@link #getTasksMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getTasks() { + public java.util.Map< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + getTasks() { return getTasksMap(); } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ @java.lang.Override - - public java.util.Map getTasksMap() { + public java.util.Map< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + getTasksMap() { return internalGetTasks().getMap(); } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetTasks().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetTasks().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetTasks().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetTasks().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1417,142 +1592,177 @@ public com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow } public Builder clearTasks() { - internalGetMutableTasks().getMutableMap() - .clear(); + internalGetMutableTasks().getMutableMap().clear(); return this; } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ - - public Builder removeTasks( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableTasks().getMutableMap() - .remove(key); + public Builder removeTasks(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableTasks().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableTasks() { + public java.util.Map< + java.lang.String, com.google.cloud.bigquery.migration.v2alpha.MigrationTask> + getMutableTasks() { return internalGetMutableTasks().getMutableMap(); } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ public Builder putTasks( - java.lang.String key, - com.google.cloud.bigquery.migration.v2alpha.MigrationTask value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.MigrationTask value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableTasks().getMutableMap() - .put(key, value); + internalGetMutableTasks().getMutableMap().put(key, value); return this; } /** + * + * *
      * The tasks in a workflow in a named map. The name (i.e. key) has no
      * meaning and is merely a convenient way to address a specific task
      * in a workflow.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ - public Builder putAllTasks( - java.util.Map values) { - internalGetMutableTasks().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableTasks().getMutableMap().putAll(values); return this; } private int state_ = 0; /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State result = + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.valueOf(state_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State value) { + public Builder setState( + com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. That status of the workflow.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1560,34 +1770,47 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1608,14 +1831,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was created.
      * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1626,6 +1850,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1636,7 +1862,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1648,6 +1874,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1666,6 +1894,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1673,11 +1903,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1688,11 +1920,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time when the workflow was created.
      * 
@@ -1700,14 +1935,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1715,34 +1953,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1763,14 +2014,15 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
* * .google.protobuf.Timestamp last_update_time = 5; */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -1781,6 +2033,8 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1791,7 +2045,9 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -1803,6 +2059,8 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1821,6 +2079,8 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1828,11 +2088,13 @@ public Builder clearLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1843,11 +2105,14 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Time when the workflow was last updated.
      * 
@@ -1855,21 +2120,24 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +2147,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) - private static final com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow(); } @@ -1893,16 +2162,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationWorkflow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationWorkflow(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationWorkflow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationWorkflow(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1917,6 +2186,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowName.java diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java similarity index 69% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java index fa023d2..a84deb7 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationWorkflowOrBuilder.java @@ -1,162 +1,220 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface MigrationWorkflowOrBuilder extends +public interface MigrationWorkflowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationWorkflow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Immutable. The unique identifier for the migration workflow. The ID is
    * server-generated.
    * Example: `projects/123/locations/us/workflows/345`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the workflow. This can be set to give a workflow
    * a descriptive name. There is no guarantee or enforcement of uniqueness.
    * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ int getTasksCount(); /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; - */ - boolean containsTasks( - java.lang.String key); - /** - * Use {@link #getTasksMap()} instead. + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ + boolean containsTasks(java.lang.String key); + /** Use {@link #getTasksMap()} instead. */ @java.lang.Deprecated java.util.Map - getTasks(); + getTasks(); /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ java.util.Map - getTasksMap(); + getTasksMap(); /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( + com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue); + com.google.cloud.bigquery.migration.v2alpha.MigrationTask defaultValue); /** + * + * *
    * The tasks in a workflow in a named map. The name (i.e. key) has no
    * meaning and is merely a convenient way to address a specific task
    * in a workflow.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * map<string, .google.cloud.bigquery.migration.v2alpha.MigrationTask> tasks = 2; + * */ - - com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( - java.lang.String key); + com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow(java.lang.String key); /** + * + * *
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. That status of the workflow.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State getState(); /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the workflow was created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the workflow was created.
    * 
@@ -166,24 +224,32 @@ com.google.cloud.bigquery.migration.v2alpha.MigrationTask getTasksOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Time when the workflow was last updated.
    * 
* * .google.protobuf.Timestamp last_update_time = 5; + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Time when the workflow was last updated.
    * 
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java similarity index 75% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java index 88e5b3e..de265c4 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/Point.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A single data point in a time series.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Point} */ -public final class Point extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Point extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.Point) PointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Point.newBuilder() to construct. private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Point() { - } + + private Point() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Point(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,47 @@ private Point( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.TimeInterval.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TypedValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.TypedValue.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +116,33 @@ private Point( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Point.class, com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Point.class, + com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); } public static final int INTERVAL_FIELD_NUMBER = 1; private com.google.cloud.bigquery.migration.v2alpha.TimeInterval interval_; /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -128,6 +156,7 @@ private Point(
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ @java.lang.Override @@ -135,6 +164,8 @@ public boolean hasInterval() { return interval_ != null; } /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -148,13 +179,18 @@ public boolean hasInterval() {
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; + * * @return The interval. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TimeInterval getInterval() { - return interval_ == null ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() + : interval_; } /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -177,11 +213,14 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getInte
   public static final int VALUE_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.migration.v2alpha.TypedValue value_;
   /**
+   *
+   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -189,18 +228,25 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; + * * @return The value. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TypedValue getValue() { - return value_ == null ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() + : value_; } /** + * + * *
    * The value of the data point.
    * 
@@ -213,6 +259,7 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder getValueO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (interval_ != null) { output.writeMessage(1, getInterval()); } @@ -242,12 +288,10 @@ public int getSerializedSize() { size = 0; if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInterval()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInterval()); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -257,22 +301,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.Point)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.Point other = (com.google.cloud.bigquery.migration.v2alpha.Point) obj; + com.google.cloud.bigquery.migration.v2alpha.Point other = + (com.google.cloud.bigquery.migration.v2alpha.Point) obj; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval() - .equals(other.getInterval())) return false; + if (!getInterval().equals(other.getInterval())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -299,117 +342,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.Point parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.Point parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A single data point in a time series.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.Point} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.Point) com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.Point.class, com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.Point.class, + com.google.cloud.bigquery.migration.v2alpha.Point.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.Point.newBuilder() @@ -417,16 +469,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +497,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_Point_descriptor; } @java.lang.Override @@ -467,7 +518,8 @@ public com.google.cloud.bigquery.migration.v2alpha.Point build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Point buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.Point result = new com.google.cloud.bigquery.migration.v2alpha.Point(this); + com.google.cloud.bigquery.migration.v2alpha.Point result = + new com.google.cloud.bigquery.migration.v2alpha.Point(this); if (intervalBuilder_ == null) { result.interval_ = interval_; } else { @@ -486,38 +538,39 @@ public com.google.cloud.bigquery.migration.v2alpha.Point buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.Point) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Point)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.Point) other); } else { super.mergeFrom(other); return this; @@ -525,7 +578,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Point other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()) + return this; if (other.hasInterval()) { mergeInterval(other.getInterval()); } @@ -551,7 +605,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.Point) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.Point) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,8 +618,13 @@ public Builder mergeFrom( private com.google.cloud.bigquery.migration.v2alpha.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TimeInterval, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder> intervalBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TimeInterval, + com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, + com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder> + intervalBuilder_; /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -578,12 +638,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -597,16 +660,21 @@ public boolean hasInterval() {
      * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; + * * @return The interval. */ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() + : interval_; } else { return intervalBuilder_.getMessage(); } } /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -635,6 +703,8 @@ public Builder setInterval(com.google.cloud.bigquery.migration.v2alpha.TimeInter
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -661,6 +731,8 @@ public Builder setInterval(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -679,7 +751,9 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2alpha.TimeInt
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.newBuilder(interval_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           interval_ = value;
         }
@@ -691,6 +765,8 @@ public Builder mergeInterval(com.google.cloud.bigquery.migration.v2alpha.TimeInt
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -717,6 +793,8 @@ public Builder clearInterval() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -732,11 +810,13 @@ public Builder clearInterval() {
      * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1;
      */
     public com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder getIntervalBuilder() {
-      
+
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -751,15 +831,19 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder getInter
      *
      * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1;
      */
-    public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getIntervalOrBuilder() {
+    public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder
+        getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null ?
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance() : interval_;
+        return interval_ == null
+            ? com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance()
+            : interval_;
       }
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time does not need to be supplied, but if it is supplied, it must
@@ -775,14 +859,17 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getInte
      * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.TimeInterval, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder> 
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval,
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder,
+            com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder>
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder, com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder>(
-                getInterval(),
-                getParentForChildren(),
-                isClean());
+        intervalBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.migration.v2alpha.TimeInterval,
+                com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder,
+                com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder>(
+                getInterval(), getParentForChildren(), isClean());
         interval_ = null;
       }
       return intervalBuilder_;
@@ -790,34 +877,47 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getInte
 
     private com.google.cloud.bigquery.migration.v2alpha.TypedValue value_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.TypedValue, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder> valueBuilder_;
+            com.google.cloud.bigquery.migration.v2alpha.TypedValue,
+            com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder,
+            com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder>
+        valueBuilder_;
     /**
+     *
+     *
      * 
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
      * The value of the data point.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; + * * @return The value. */ public com.google.cloud.bigquery.migration.v2alpha.TypedValue getValue() { if (valueBuilder_ == null) { - return value_ == null ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() + : value_; } else { return valueBuilder_.getMessage(); } } /** + * + * *
      * The value of the data point.
      * 
@@ -838,6 +938,8 @@ public Builder setValue(com.google.cloud.bigquery.migration.v2alpha.TypedValue v return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -856,6 +958,8 @@ public Builder setValue( return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -866,7 +970,9 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2alpha.TypedValue if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.cloud.bigquery.migration.v2alpha.TypedValue.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.TypedValue.newBuilder(value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -878,6 +984,8 @@ public Builder mergeValue(com.google.cloud.bigquery.migration.v2alpha.TypedValue return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -896,6 +1004,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -903,11 +1013,13 @@ public Builder clearValue() { * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; */ public com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * The value of the data point.
      * 
@@ -918,11 +1030,14 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder getValueO if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance() + : value_; } } /** + * + * *
      * The value of the data point.
      * 
@@ -930,21 +1045,24 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder getValueO * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TypedValue, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TypedValue, + com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, + com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TypedValue, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TypedValue, + com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder, + com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.Point) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.Point) private static final com.google.cloud.bigquery.migration.v2alpha.Point DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.Point(); } @@ -968,16 +1086,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.Point getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Point parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Point(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1110,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java similarity index 83% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java index c459191..a7c5095 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/PointOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface PointOrBuilder extends +public interface PointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.Point) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -21,10 +39,13 @@ public interface PointOrBuilder extends
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ boolean hasInterval(); /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -38,10 +59,13 @@ public interface PointOrBuilder extends
    * 
* * .google.cloud.bigquery.migration.v2alpha.TimeInterval interval = 1; + * * @return The interval. */ com.google.cloud.bigquery.migration.v2alpha.TimeInterval getInterval(); /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time does not need to be supplied, but if it is supplied, it must
@@ -59,24 +83,32 @@ public interface PointOrBuilder extends
   com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder getIntervalOrBuilder();
 
   /**
+   *
+   *
    * 
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * The value of the data point.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TypedValue value = 2; + * * @return The value. */ com.google.cloud.bigquery.migration.v2alpha.TypedValue getValue(); /** + * + * *
    * The value of the data point.
    * 
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java similarity index 65% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java index 0906e45..471a327 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetail.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Provides details for errors and the corresponding resources.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail} */ -public final class ResourceErrorDetail extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceErrorDetail extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) ResourceErrorDetailOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceErrorDetail.newBuilder() to construct. private ResourceErrorDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceErrorDetail() { errorDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceErrorDetail(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResourceErrorDetail( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,47 @@ private ResourceErrorDetail( case 0: done = true; break; - case 10: { - com.google.rpc.ResourceInfo.Builder subBuilder = null; - if (resourceInfo_ != null) { - subBuilder = resourceInfo_.toBuilder(); + case 10: + { + com.google.rpc.ResourceInfo.Builder subBuilder = null; + if (resourceInfo_ != null) { + subBuilder = resourceInfo_.toBuilder(); + } + resourceInfo_ = + input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceInfo_); + resourceInfo_ = subBuilder.buildPartial(); + } + + break; } - resourceInfo_ = input.readMessage(com.google.rpc.ResourceInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceInfo_); - resourceInfo_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorDetails_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail>(); + mutable_bitField0_ |= 0x00000001; + } + errorDetails_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorDetails_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 24: + { + errorCount_ = input.readInt32(); + break; } - errorDetails_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.parser(), extensionRegistry)); - break; - } - case 24: { - - errorCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,8 +119,7 @@ private ResourceErrorDetail( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorDetails_ = java.util.Collections.unmodifiableList(errorDetails_); @@ -105,27 +128,34 @@ private ResourceErrorDetail( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); } public static final int RESOURCE_INFO_FIELD_NUMBER = 1; private com.google.rpc.ResourceInfo resourceInfo_; /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceInfo field is set. */ @java.lang.Override @@ -133,11 +163,15 @@ public boolean hasResourceInfo() { return resourceInfo_ != null; } /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceInfo. */ @java.lang.Override @@ -145,11 +179,14 @@ public com.google.rpc.ResourceInfo getResourceInfo() { return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; } /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { @@ -159,56 +196,77 @@ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { public static final int ERROR_DETAILS_FIELD_NUMBER = 2; private java.util.List errorDetails_; /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getErrorDetailsList() { + public java.util.List + getErrorDetailsList() { return errorDetails_; } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorDetailsOrBuilderList() { return errorDetails_; } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getErrorDetailsCount() { return errorDetails_.size(); } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(int index) { return errorDetails_.get(index); } /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetailsOrBuilder( @@ -219,6 +277,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getError public static final int ERROR_COUNT_FIELD_NUMBER = 3; private int errorCount_; /** + * + * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -226,6 +286,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getError
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ @java.lang.Override @@ -234,6 +295,7 @@ public int getErrorCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +307,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resourceInfo_ != null) { output.writeMessage(1, getResourceInfo()); } @@ -266,16 +327,13 @@ public int getSerializedSize() { size = 0; if (resourceInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResourceInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResourceInfo()); } for (int i = 0; i < errorDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errorDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errorDetails_.get(i)); } if (errorCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, errorCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, errorCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,22 +343,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other = (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) obj; + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other = + (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) obj; if (hasResourceInfo() != other.hasResourceInfo()) return false; if (hasResourceInfo()) { - if (!getResourceInfo() - .equals(other.getResourceInfo())) return false; + if (!getResourceInfo().equals(other.getResourceInfo())) return false; } - if (!getErrorDetailsList() - .equals(other.getErrorDetailsList())) return false; - if (getErrorCount() - != other.getErrorCount()) return false; + if (!getErrorDetailsList().equals(other.getErrorDetailsList())) return false; + if (getErrorCount() != other.getErrorCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,117 +384,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Provides details for errors and the corresponding resources.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.class, + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.newBuilder() @@ -446,17 +512,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getErrorDetailsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,13 +544,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto.internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationErrorDetailsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_ResourceErrorDetail_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail + getDefaultInstanceForType() { return com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance(); } @@ -499,7 +566,8 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail result = new com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail(this); + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail result = + new com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail(this); int from_bitField0_ = bitField0_; if (resourceInfoBuilder_ == null) { result.resourceInfo_ = resourceInfo_; @@ -524,46 +592,50 @@ public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail.getDefaultInstance()) + return this; if (other.hasResourceInfo()) { mergeResourceInfo(other.getResourceInfo()); } @@ -585,9 +657,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.ResourceErr errorDetailsBuilder_ = null; errorDetails_ = other.errorDetails_; bitField0_ = (bitField0_ & ~0x00000001); - errorDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorDetailsFieldBuilder() : null; + errorDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorDetailsFieldBuilder() + : null; } else { errorDetailsBuilder_.addAllMessages(other.errorDetails_); } @@ -615,7 +688,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,43 +699,60 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.rpc.ResourceInfo resourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> resourceInfoBuilder_; + com.google.rpc.ResourceInfo, + com.google.rpc.ResourceInfo.Builder, + com.google.rpc.ResourceInfoOrBuilder> + resourceInfoBuilder_; /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceInfo field is set. */ public boolean hasResourceInfo() { return resourceInfoBuilder_ != null || resourceInfo_ != null; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceInfo. */ public com.google.rpc.ResourceInfo getResourceInfo() { if (resourceInfoBuilder_ == null) { - return resourceInfo_ == null ? com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; + return resourceInfo_ == null + ? com.google.rpc.ResourceInfo.getDefaultInstance() + : resourceInfo_; } else { return resourceInfoBuilder_.getMessage(); } } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { @@ -676,14 +768,16 @@ public Builder setResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setResourceInfo( - com.google.rpc.ResourceInfo.Builder builderForValue) { + public Builder setResourceInfo(com.google.rpc.ResourceInfo.Builder builderForValue) { if (resourceInfoBuilder_ == null) { resourceInfo_ = builderForValue.build(); onChanged(); @@ -694,17 +788,20 @@ public Builder setResourceInfo( return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { if (resourceInfoBuilder_ == null) { if (resourceInfo_ != null) { resourceInfo_ = - com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); + com.google.rpc.ResourceInfo.newBuilder(resourceInfo_).mergeFrom(value).buildPartial(); } else { resourceInfo_ = value; } @@ -716,11 +813,14 @@ public Builder mergeResourceInfo(com.google.rpc.ResourceInfo value) { return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResourceInfo() { if (resourceInfoBuilder_ == null) { @@ -734,73 +834,97 @@ public Builder clearResourceInfo() { return this; } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.rpc.ResourceInfo.Builder getResourceInfoBuilder() { - + onChanged(); return getResourceInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder() { if (resourceInfoBuilder_ != null) { return resourceInfoBuilder_.getMessageOrBuilder(); } else { - return resourceInfo_ == null ? - com.google.rpc.ResourceInfo.getDefaultInstance() : resourceInfo_; + return resourceInfo_ == null + ? com.google.rpc.ResourceInfo.getDefaultInstance() + : resourceInfo_; } } /** + * + * *
      * Required. Information about the resource where the error is located.
      * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder> + com.google.rpc.ResourceInfo, + com.google.rpc.ResourceInfo.Builder, + com.google.rpc.ResourceInfoOrBuilder> getResourceInfoFieldBuilder() { if (resourceInfoBuilder_ == null) { - resourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.ResourceInfo, com.google.rpc.ResourceInfo.Builder, com.google.rpc.ResourceInfoOrBuilder>( - getResourceInfo(), - getParentForChildren(), - isClean()); + resourceInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.ResourceInfo, + com.google.rpc.ResourceInfo.Builder, + com.google.rpc.ResourceInfoOrBuilder>( + getResourceInfo(), getParentForChildren(), isClean()); resourceInfo_ = null; } return resourceInfoBuilder_; } private java.util.List errorDetails_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorDetails_ = new java.util.ArrayList(errorDetails_); + errorDetails_ = + new java.util.ArrayList( + errorDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> errorDetailsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> + errorDetailsBuilder_; /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getErrorDetailsList() { + public java.util.List + getErrorDetailsList() { if (errorDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(errorDetails_); } else { @@ -808,11 +932,15 @@ public java.util.List g } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getErrorDetailsCount() { if (errorDetailsBuilder_ == null) { @@ -822,11 +950,15 @@ public int getErrorDetailsCount() { } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -836,11 +968,15 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(i } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail value) { @@ -857,14 +993,19 @@ public Builder setErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setErrorDetails( - int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); errorDetails_.set(index, builderForValue.build()); @@ -875,11 +1016,15 @@ public Builder setErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail value) { if (errorDetailsBuilder_ == null) { @@ -895,11 +1040,15 @@ public Builder addErrorDetails(com.google.cloud.bigquery.migration.v2alpha.Error return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails( int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail value) { @@ -916,11 +1065,15 @@ public Builder addErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails( com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { @@ -934,14 +1087,19 @@ public Builder addErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addErrorDetails( - int index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder builderForValue) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); errorDetails_.add(index, builderForValue.build()); @@ -952,18 +1110,22 @@ public Builder addErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllErrorDetails( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (errorDetailsBuilder_ == null) { ensureErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorDetails_); onChanged(); } else { errorDetailsBuilder_.addAllMessages(values); @@ -971,11 +1133,15 @@ public Builder addAllErrorDetails( return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearErrorDetails() { if (errorDetailsBuilder_ == null) { @@ -988,11 +1154,15 @@ public Builder clearErrorDetails() { return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeErrorDetails(int index) { if (errorDetailsBuilder_ == null) { @@ -1005,39 +1175,53 @@ public Builder removeErrorDetails(int index) { return this; } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder getErrorDetailsBuilder( int index) { return getErrorDetailsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetailsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder + getErrorDetailsOrBuilder(int index) { if (errorDetailsBuilder_ == null) { - return errorDetails_.get(index); } else { + return errorDetails_.get(index); + } else { return errorDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getErrorDetailsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> + getErrorDetailsOrBuilderList() { if (errorDetailsBuilder_ != null) { return errorDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,56 +1229,75 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getError } } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder addErrorDetailsBuilder() { - return getErrorDetailsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder + addErrorDetailsBuilder() { + return getErrorDetailsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder addErrorDetailsBuilder( int index) { - return getErrorDetailsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); + return getErrorDetailsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.getDefaultInstance()); } /** + * + * *
      * Required. The error details for the resource.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getErrorDetailsBuilderList() { + public java.util.List + getErrorDetailsBuilderList() { return getErrorDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder> getErrorDetailsFieldBuilder() { if (errorDetailsBuilder_ == null) { - errorDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder>( - errorDetails_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + errorDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder, + com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder>( + errorDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); errorDetails_ = null; } return errorDetailsBuilder_; } - private int errorCount_ ; + private int errorCount_; /** + * + * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1102,6 +1305,7 @@ public com.google.cloud.bigquery.migration.v2alpha.ErrorDetail.Builder addErrorD
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ @java.lang.Override @@ -1109,6 +1313,8 @@ public int getErrorCount() { return errorCount_; } /** + * + * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1116,16 +1322,19 @@ public int getErrorCount() {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The errorCount to set. * @return This builder for chaining. */ public Builder setErrorCount(int value) { - + errorCount_ = value; onChanged(); return this; } /** + * + * *
      * Required. How many errors there are in total for the resource. Truncation can be
      * indicated by having an `error_count` that is higher than the size of
@@ -1133,17 +1342,18 @@ public Builder setErrorCount(int value) {
      * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearErrorCount() { - + errorCount_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,30 +1363,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) - private static final com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail(); } - public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceErrorDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceErrorDetail(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceErrorDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceErrorDetail(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1188,9 +1400,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java similarity index 57% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java index 72fc641..e78e55a 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/ResourceErrorDetailOrBuilder.java @@ -1,84 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_error_details.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface ResourceErrorDetailOrBuilder extends +public interface ResourceErrorDetailOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceInfo field is set. */ boolean hasResourceInfo(); /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceInfo. */ com.google.rpc.ResourceInfo getResourceInfo(); /** + * + * *
    * Required. Information about the resource where the error is located.
    * 
* - * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.rpc.ResourceInfoOrBuilder getResourceInfoOrBuilder(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getErrorDetailsList(); + java.util.List getErrorDetailsList(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.migration.v2alpha.ErrorDetail getErrorDetails(int index); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getErrorDetailsCount(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getErrorDetailsOrBuilderList(); /** + * + * *
    * Required. The error details for the resource.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetailsOrBuilder( int index); /** + * + * *
    * Required. How many errors there are in total for the resource. Truncation can be
    * indicated by having an `error_count` that is higher than the size of
@@ -86,6 +134,7 @@ com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder getErrorDetails
    * 
* * int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ int getErrorCount(); diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java similarity index 60% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java index 0aa572f..8792ae9 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_service.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A request to start a previously created migration workflow.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest} */ -public final class StartMigrationWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartMigrationWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) StartMigrationWorkflowRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartMigrationWorkflowRequest.newBuilder() to construct. private StartMigrationWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartMigrationWorkflowRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartMigrationWorkflowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StartMigrationWorkflowRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private StartMigrationWorkflowRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,43 @@ private StartMigrationWorkflowRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The unique identifier for the migration workflow.
    * Example: `projects/123/locations/us/workflows/1234`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +206,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other = (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) obj; + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other = + (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +235,146 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to start a previously created migration workflow.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class, + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +384,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto + .internal_static_google_cloud_bigquery_migration_v2alpha_StartMigrationWorkflowRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest build() { - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +407,10 @@ public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(this); + public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + buildPartial() { + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest result = + new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +420,52 @@ public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest)other); + if (other + instanceof com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) { + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,11 +485,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parsedMessage = null; + com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +504,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +529,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +554,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The unique identifier for the migration workflow.
      * Example: `projects/123/locations/us/workflows/1234`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,30 +634,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) - private static final com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest(); } - public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationWorkflowRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationWorkflowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationWorkflowRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +672,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java new file mode 100644 index 0000000..ed49772 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/StartMigrationWorkflowRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/migration_service.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface StartMigrationWorkflowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The unique identifier for the migration workflow.
+   * Example: `projects/123/locations/us/workflows/1234`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java similarity index 67% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java index 34bf6c8..3dfbf77 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptions.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Teradata SQL specific translation task related settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TeradataOptions} */ -public final class TeradataOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TeradataOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TeradataOptions) TeradataOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TeradataOptions.newBuilder() to construct. private TeradataOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TeradataOptions() { - } + + private TeradataOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TeradataOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TeradataOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private TeradataOptions( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private TeradataOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TeradataOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions other = (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) obj; + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions other = + (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Teradata SQL specific translation task related settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TeradataOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TeradataOptions) com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.class, + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions result = new com.google.cloud.bigquery.migration.v2alpha.TeradataOptions(this); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions result = + new com.google.cloud.bigquery.migration.v2alpha.TeradataOptions(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TeradataOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TeradataOptions) private static final com.google.cloud.bigquery.migration.v2alpha.TeradataOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TeradataOptions(); } @@ -400,16 +432,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TeradataOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TeradataOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TeradataOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TeradataOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java new file mode 100644 index 0000000..11ca0ad --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TeradataOptionsOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public interface TeradataOptionsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TeradataOptions) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java similarity index 70% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java index 9f89d16..e47434e 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeInterval.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A time interval extending just after a start time through an end time.
  * If the start time is the same as the end time, then the interval
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeInterval}
  */
-public final class TimeInterval extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimeInterval extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TimeInterval)
     TimeIntervalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimeInterval.newBuilder() to construct.
   private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TimeInterval() {
-  }
+
+  private TimeInterval() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeInterval();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimeInterval(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,43 @@ private TimeInterval(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,36 +114,42 @@ private TimeInterval(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class,
+            com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -131,13 +157,17 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ @java.lang.Override @@ -145,13 +175,16 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -161,11 +194,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -173,11 +209,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ @java.lang.Override @@ -185,6 +224,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Required. The end of the time interval.
    * 
@@ -197,6 +238,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -226,12 +267,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -241,22 +280,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TimeInterval)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TimeInterval other = (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) obj; + com.google.cloud.bigquery.migration.v2alpha.TimeInterval other = + (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -283,96 +321,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TimeInterval prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.TimeInterval prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A time interval extending just after a start time through an end time.
    * If the start time is the same as the end time, then the interval
@@ -381,21 +427,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeInterval}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TimeInterval)
       com.google.cloud.bigquery.migration.v2alpha.TimeIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class, com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.class,
+              com.google.cloud.bigquery.migration.v2alpha.TimeInterval.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.migration.v2alpha.TimeInterval.newBuilder()
@@ -403,16 +451,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_TimeInterval_descriptor;
     }
 
     @java.lang.Override
@@ -453,7 +500,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.TimeInterval buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.TimeInterval result = new com.google.cloud.bigquery.migration.v2alpha.TimeInterval(this);
+      com.google.cloud.bigquery.migration.v2alpha.TimeInterval result =
+          new com.google.cloud.bigquery.migration.v2alpha.TimeInterval(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -472,38 +520,39 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeInterval buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TimeInterval) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeInterval)other);
+        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeInterval) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TimeInterval other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.migration.v2alpha.TimeInterval.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -537,7 +587,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.TimeInterval) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -549,28 +600,39 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -581,13 +643,16 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -603,16 +668,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -623,19 +690,22 @@ public Builder setStartTime( return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -647,13 +717,16 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -667,54 +740,65 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
      * later than the end time.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -722,24 +806,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -750,11 +845,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -770,14 +868,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -788,17 +888,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -810,11 +913,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -828,55 +934,66 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Required. The end of the time interval.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TimeInterval) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TimeInterval) private static final com.google.cloud.bigquery.migration.v2alpha.TimeInterval DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TimeInterval(); } @@ -900,16 +1017,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TimeInterval getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeInterval parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeInterval(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeInterval parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeInterval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,6 +1041,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TimeInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java index aa459bf..d65c2dc 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeIntervalOrBuilder.java @@ -1,64 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TimeIntervalOrBuilder extends +public interface TimeIntervalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TimeInterval) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
    * later than the end time.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Required. The end of the time interval.
    * 
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java index 55dabda..455ed49 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeries.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * The metrics object for a SubTask.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeSeries} */ -public final class TimeSeries extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TimeSeries) TimeSeriesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TimeSeries() { metric_ = ""; valueType_ = 0; @@ -28,16 +46,15 @@ private TimeSeries() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,40 +74,47 @@ private TimeSeries( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - metric_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + metric_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - valueType_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); + valueType_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); - metricKind_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + metricKind_ = rawValue; + break; } - points_.add( - input.readMessage(com.google.cloud.bigquery.migration.v2alpha.Point.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + points_.add( + input.readMessage( + com.google.cloud.bigquery.migration.v2alpha.Point.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,8 +122,7 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -108,28 +131,34 @@ private TimeSeries( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); } public static final int METRIC_FIELD_NUMBER = 1; private volatile java.lang.Object metric_; /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The metric. */ @java.lang.Override @@ -138,30 +167,30 @@ public java.lang.String getMetric() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; } } /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for metric. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricBytes() { + public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metric_ = b; return b; } else { @@ -172,33 +201,48 @@ public java.lang.String getMetric() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_; /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The valueType. */ - @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override + public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int METRIC_KIND_FIELD_NUMBER = 3; private int metricKind_; /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -207,13 +251,19 @@ public java.lang.String getMetric() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -222,18 +272,25 @@ public java.lang.String getMetric() {
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metricKind. */ - @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override + public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int POINTS_FIELD_NUMBER = 4; private java.util.List points_; /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -244,13 +301,17 @@ public java.lang.String getMetric() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getPointsList() { return points_; } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -261,14 +322,18 @@ public java.util.List getPoin
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPointsOrBuilderList() { return points_; } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -279,13 +344,17 @@ public java.util.List getPoin
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -296,13 +365,17 @@ public int getPointsCount() {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) { return points_.get(index); } /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -313,15 +386,17 @@ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) {
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder(int index) { return points_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,15 +408,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metric_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, valueType_); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { @@ -359,17 +435,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metric_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, valueType_); + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, metricKind_); + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, points_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, points_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,19 +454,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TimeSeries)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TimeSeries other = (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) obj; + com.google.cloud.bigquery.migration.v2alpha.TimeSeries other = + (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) obj; - if (!getMetric() - .equals(other.getMetric())) return false; + if (!getMetric().equals(other.getMetric())) return false; if (valueType_ != other.valueType_) return false; if (metricKind_ != other.metricKind_) return false; - if (!getPointsList() - .equals(other.getPointsList())) return false; + if (!getPointsList().equals(other.getPointsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -419,117 +493,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TimeSeries prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metrics object for a SubTask.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TimeSeries} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TimeSeries) com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.class, + com.google.cloud.bigquery.migration.v2alpha.TimeSeries.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.TimeSeries.newBuilder() @@ -537,17 +621,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +651,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TimeSeries_descriptor; } @java.lang.Override @@ -588,7 +672,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TimeSeries buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TimeSeries result = new com.google.cloud.bigquery.migration.v2alpha.TimeSeries(this); + com.google.cloud.bigquery.migration.v2alpha.TimeSeries result = + new com.google.cloud.bigquery.migration.v2alpha.TimeSeries(this); int from_bitField0_ = bitField0_; result.metric_ = metric_; result.valueType_ = valueType_; @@ -610,38 +695,39 @@ public com.google.cloud.bigquery.migration.v2alpha.TimeSeries buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TimeSeries) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeSeries)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TimeSeries) other); } else { super.mergeFrom(other); return this; @@ -649,7 +735,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TimeSeries other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.TimeSeries.getDefaultInstance()) + return this; if (!other.getMetric().isEmpty()) { metric_ = other.metric_; onChanged(); @@ -678,9 +765,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TimeSeries pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointsFieldBuilder() : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPointsFieldBuilder() + : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -705,7 +793,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -714,23 +803,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object metric_ = ""; /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The metric. */ public java.lang.String getMetric() { java.lang.Object ref = metric_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; @@ -739,21 +831,22 @@ public java.lang.String getMetric() { } } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for metric. */ - public com.google.protobuf.ByteString - getMetricBytes() { + public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metric_ = b; return b; } else { @@ -761,57 +854,64 @@ public java.lang.String getMetric() { } } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The metric to set. * @return This builder for chaining. */ - public Builder setMetric( - java.lang.String value) { + public Builder setMetric(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metric_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMetric() { - + metric_ = getDefaultInstance().getMetric(); onChanged(); return this; } /** + * + * *
      * Required. The name of the metric.
      * If the metric is not known by the service yet, it will be auto-created.
      * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for metric to set. * @return This builder for chaining. */ - public Builder setMetricBytes( - com.google.protobuf.ByteString value) { + public Builder setMetricBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metric_ = value; onChanged(); return this; @@ -819,51 +919,73 @@ public Builder setMetricBytes( private int valueType_ = 0; /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -871,21 +993,26 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The value type of the time series.
      * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; @@ -893,6 +1020,8 @@ public Builder clearValueType() { private int metricKind_ = 0; /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -901,13 +1030,19 @@ public Builder clearValueType() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -916,17 +1051,22 @@ public Builder clearValueType() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -935,16 +1075,22 @@ public Builder setMetricKindValue(int value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -953,7 +1099,10 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -961,12 +1110,14 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The metric kind of the time series.
      * If present, it must be the same as the metric kind of the associated
@@ -975,29 +1126,39 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
      * either `GAUGE` (the default) or `CUMULATIVE`.
      * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; } private java.util.List points_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(points_); + points_ = + new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Point, com.google.cloud.bigquery.migration.v2alpha.Point.Builder, com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> pointsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.Point, + com.google.cloud.bigquery.migration.v2alpha.Point.Builder, + com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> + pointsBuilder_; /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1008,7 +1169,9 @@ private void ensurePointsIsMutable() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getPointsList() { if (pointsBuilder_ == null) { @@ -1018,6 +1181,8 @@ public java.util.List getPoin } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1028,7 +1193,9 @@ public java.util.List getPoin
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getPointsCount() { if (pointsBuilder_ == null) { @@ -1038,6 +1205,8 @@ public int getPointsCount() { } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1048,7 +1217,9 @@ public int getPointsCount() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) { if (pointsBuilder_ == null) { @@ -1058,6 +1229,8 @@ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) { } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1068,10 +1241,11 @@ public com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPoints( - int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { + public Builder setPoints(int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1085,6 +1259,8 @@ public Builder setPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1095,7 +1271,9 @@ public Builder setPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPoints( int index, com.google.cloud.bigquery.migration.v2alpha.Point.Builder builderForValue) { @@ -1109,6 +1287,8 @@ public Builder setPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1119,7 +1299,9 @@ public Builder setPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPoints(com.google.cloud.bigquery.migration.v2alpha.Point value) { if (pointsBuilder_ == null) { @@ -1135,6 +1317,8 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2alpha.Point value return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1145,10 +1329,11 @@ public Builder addPoints(com.google.cloud.bigquery.migration.v2alpha.Point value
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addPoints( - int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { + public Builder addPoints(int index, com.google.cloud.bigquery.migration.v2alpha.Point value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1162,6 +1347,8 @@ public Builder addPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1172,7 +1359,9 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPoints( com.google.cloud.bigquery.migration.v2alpha.Point.Builder builderForValue) { @@ -1186,6 +1375,8 @@ public Builder addPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1196,7 +1387,9 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPoints( int index, com.google.cloud.bigquery.migration.v2alpha.Point.Builder builderForValue) { @@ -1210,6 +1403,8 @@ public Builder addPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1220,14 +1415,15 @@ public Builder addPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllPoints( java.lang.Iterable values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, points_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); @@ -1235,6 +1431,8 @@ public Builder addAllPoints( return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1245,7 +1443,9 @@ public Builder addAllPoints(
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPoints() { if (pointsBuilder_ == null) { @@ -1258,6 +1458,8 @@ public Builder clearPoints() { return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1268,7 +1470,9 @@ public Builder clearPoints() {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { @@ -1281,6 +1485,8 @@ public Builder removePoints(int index) { return this; } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1291,13 +1497,16 @@ public Builder removePoints(int index) {
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.Point.Builder getPointsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.Point.Builder getPointsBuilder(int index) { return getPointsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1308,16 +1517,21 @@ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder getPointsBuilde
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder( int index) { if (pointsBuilder_ == null) { - return points_.get(index); } else { + return points_.get(index); + } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1328,10 +1542,12 @@ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBui
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPointsOrBuilderList() { + public java.util.List + getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { @@ -1339,6 +1555,8 @@ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBui } } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1349,13 +1567,17 @@ public com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBui
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilder() { - return getPointsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); + return getPointsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1366,14 +1588,18 @@ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilde
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilder( - int index) { - return getPointsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilder(int index) { + return getPointsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.migration.v2alpha.Point.getDefaultInstance()); } /** + * + * *
      * Required. The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1384,29 +1610,34 @@ public com.google.cloud.bigquery.migration.v2alpha.Point.Builder addPointsBuilde
      * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPointsBuilderList() { + public java.util.List + getPointsBuilderList() { return getPointsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Point, com.google.cloud.bigquery.migration.v2alpha.Point.Builder, com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.Point, + com.google.cloud.bigquery.migration.v2alpha.Point.Builder, + com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> getPointsFieldBuilder() { if (pointsBuilder_ == null) { - pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Point, com.google.cloud.bigquery.migration.v2alpha.Point.Builder, com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder>( - points_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + pointsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.Point, + com.google.cloud.bigquery.migration.v2alpha.Point.Builder, + com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder>( + points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); points_ = null; } return pointsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1416,12 +1647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TimeSeries) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TimeSeries) private static final com.google.cloud.bigquery.migration.v2alpha.TimeSeries DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TimeSeries(); } @@ -1430,16 +1661,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TimeSeries getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1454,6 +1685,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java index da671f7..91b6e84 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TimeSeriesOrBuilder.java @@ -1,54 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TimeSeriesOrBuilder extends +public interface TimeSeriesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TimeSeries) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The metric. */ java.lang.String getMetric(); /** + * + * *
    * Required. The name of the metric.
    * If the metric is not known by the service yet, it will be auto-created.
    * 
* * string metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for metric. */ - com.google.protobuf.ByteString - getMetricBytes(); + com.google.protobuf.ByteString getMetricBytes(); /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** + * + * *
    * Required. The value type of the time series.
    * 
* - * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -57,11 +90,16 @@ public interface TimeSeriesOrBuilder extends
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** + * + * *
    * Optional. The metric kind of the time series.
    * If present, it must be the same as the metric kind of the associated
@@ -70,12 +108,17 @@ public interface TimeSeriesOrBuilder extends
    * either `GAUGE` (the default) or `CUMULATIVE`.
    * 
* - * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -86,11 +129,14 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getPointsList(); + java.util.List getPointsList(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -101,10 +147,14 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.migration.v2alpha.Point getPoints(int index); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -115,10 +165,14 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getPointsCount(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -129,11 +183,15 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getPointsOrBuilderList(); /** + * + * *
    * Required. The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -144,8 +202,9 @@ public interface TimeSeriesOrBuilder extends
    * must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder( - int index); + com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder getPointsOrBuilder(int index); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java similarity index 67% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java index 4412159..835cfc3 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMapping.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * Mapping between an input and output file to be translated in a subtask.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationFileMapping} */ -public final class TranslationFileMapping extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TranslationFileMapping extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) TranslationFileMappingOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TranslationFileMapping.newBuilder() to construct. private TranslationFileMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TranslationFileMapping() { inputPath_ = ""; outputPath_ = ""; @@ -26,16 +44,15 @@ private TranslationFileMapping() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TranslationFileMapping(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TranslationFileMapping( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private TranslationFileMapping( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputPath_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + inputPath_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - outputPath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + outputPath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private TranslationFileMapping( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); } public static final int INPUT_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object inputPath_; /** + * + * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; + * * @return The inputPath. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getInputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; } } /** + * + * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; + * * @return The bytes for inputPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputPathBytes() { + public com.google.protobuf.ByteString getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputPath_ = b; return b; } else { @@ -149,11 +173,14 @@ public java.lang.String getInputPath() { public static final int OUTPUT_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object outputPath_; /** + * + * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; + * * @return The outputPath. */ @java.lang.Override @@ -162,29 +189,29 @@ public java.lang.String getOutputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; } } /** + * + * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; + * * @return The bytes for outputPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputPathBytes() { + public com.google.protobuf.ByteString getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputPath_ = b; return b; } else { @@ -193,6 +220,7 @@ public java.lang.String getOutputPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputPath_); } @@ -235,17 +262,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other = (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) obj; + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other = + (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) obj; - if (!getInputPath() - .equals(other.getInputPath())) return false; - if (!getOutputPath() - .equals(other.getOutputPath())) return false; + if (!getInputPath().equals(other.getInputPath())) return false; + if (!getOutputPath().equals(other.getOutputPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,134 +293,145 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Mapping between an input and output file to be translated in a subtask.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationFileMapping} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.class, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder.class); } - // Construct using com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.newBuilder() + // Construct using + // com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,14 +443,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getDefaultInstanceForType() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance(); + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + getDefaultInstanceForType() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + .getDefaultInstance(); } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping build( @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping result = new com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping(this); + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping result = + new com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping(this); result.inputPath_ = inputPath_; result.outputPath_ = outputPath_; onBuilt(); @@ -438,46 +478,51 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping)other); + return mergeFrom( + (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping other) { + if (other + == com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + .getDefaultInstance()) return this; if (!other.getInputPath().isEmpty()) { inputPath_ = other.inputPath_; onChanged(); @@ -505,7 +550,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +564,20 @@ public Builder mergeFrom( private java.lang.Object inputPath_ = ""; /** + * + * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; + * * @return The inputPath. */ public java.lang.String getInputPath() { java.lang.Object ref = inputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; @@ -537,20 +586,21 @@ public java.lang.String getInputPath() { } } /** + * + * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; + * * @return The bytes for inputPath. */ - public com.google.protobuf.ByteString - getInputPathBytes() { + public com.google.protobuf.ByteString getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputPath_ = b; return b; } else { @@ -558,54 +608,61 @@ public java.lang.String getInputPath() { } } /** + * + * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; + * * @param value The inputPath to set. * @return This builder for chaining. */ - public Builder setInputPath( - java.lang.String value) { + public Builder setInputPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputPath_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; + * * @return This builder for chaining. */ public Builder clearInputPath() { - + inputPath_ = getDefaultInstance().getInputPath(); onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for a file to translation in a subtask.
      * 
* * string input_path = 1; + * * @param value The bytes for inputPath to set. * @return This builder for chaining. */ - public Builder setInputPathBytes( - com.google.protobuf.ByteString value) { + public Builder setInputPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputPath_ = value; onChanged(); return this; @@ -613,18 +670,20 @@ public Builder setInputPathBytes( private java.lang.Object outputPath_ = ""; /** + * + * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; + * * @return The outputPath. */ public java.lang.String getOutputPath() { java.lang.Object ref = outputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; @@ -633,20 +692,21 @@ public java.lang.String getOutputPath() { } } /** + * + * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; + * * @return The bytes for outputPath. */ - public com.google.protobuf.ByteString - getOutputPathBytes() { + public com.google.protobuf.ByteString getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputPath_ = b; return b; } else { @@ -654,61 +714,68 @@ public java.lang.String getOutputPath() { } } /** + * + * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; + * * @param value The outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPath( - java.lang.String value) { + public Builder setOutputPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputPath_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; + * * @return This builder for chaining. */ public Builder clearOutputPath() { - + outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /** + * + * *
      * The Cloud Storage path to write back the corresponding input file to.
      * 
* * string output_path = 2; + * * @param value The bytes for outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPathBytes( - com.google.protobuf.ByteString value) { + public Builder setOutputPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputPath_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,30 +785,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) - private static final com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping(); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranslationFileMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TranslationFileMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranslationFileMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TranslationFileMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +822,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java similarity index 58% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java index 65ab50f..c08ad66 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationFileMappingOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TranslationFileMappingOrBuilder extends +public interface TranslationFileMappingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TranslationFileMapping) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; + * * @return The inputPath. */ java.lang.String getInputPath(); /** + * + * *
    * The Cloud Storage path for a file to translation in a subtask.
    * 
* * string input_path = 1; + * * @return The bytes for inputPath. */ - com.google.protobuf.ByteString - getInputPathBytes(); + com.google.protobuf.ByteString getInputPathBytes(); /** + * + * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; + * * @return The outputPath. */ java.lang.String getOutputPath(); /** + * + * *
    * The Cloud Storage path to write back the corresponding input file to.
    * 
* * string output_path = 2; + * * @return The bytes for outputPath. */ - com.google.protobuf.ByteString - getOutputPathBytes(); + com.google.protobuf.ByteString getOutputPathBytes(); } diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java similarity index 65% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java index d5e6cd5..521725d 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetails.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * The translation task config to capture necessary settings for a translation
  * task and subtask.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails}
  */
-public final class TranslationTaskDetails extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TranslationTaskDetails extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
     TranslationTaskDetailsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TranslationTaskDetails.newBuilder() to construct.
   private TranslationTaskDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TranslationTaskDetails() {
     inputPath_ = "";
     outputPath_ = "";
@@ -31,16 +49,15 @@ private TranslationTaskDetails() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TranslationTaskDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TranslationTaskDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,119 +77,154 @@ private TranslationTaskDetails(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            inputPath_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            outputPath_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            schemaPath_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            fileEncoding_ = rawValue;
-            break;
-          }
-          case 42: {
-            com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder subBuilder = null;
-            if (identifierSettings_ != null) {
-              subBuilder = identifierSettings_.toBuilder();
+              inputPath_ = s;
+              break;
             }
-            identifierSettings_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(identifierSettings_);
-              identifierSettings_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              outputPath_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              specialTokenMap_ = com.google.protobuf.MapField.newMapField(
-                  SpecialTokenMapDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+              schemaPath_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            specialTokenMap__ = input.readMessage(
-                SpecialTokenMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            specialTokenMap_.getMutableMap().put(
-                specialTokenMap__.getKey(), specialTokenMap__.getValue());
-            break;
-          }
-          case 58: {
-            com.google.cloud.bigquery.migration.v2alpha.Filter.Builder subBuilder = null;
-            if (filter_ != null) {
-              subBuilder = filter_.toBuilder();
+          case 32:
+            {
+              int rawValue = input.readEnum();
+
+              fileEncoding_ = rawValue;
+              break;
             }
-            filter_ = input.readMessage(com.google.cloud.bigquery.migration.v2alpha.Filter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(filter_);
-              filter_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder subBuilder =
+                  null;
+              if (identifierSettings_ != null) {
+                subBuilder = identifierSettings_.toBuilder();
+              }
+              identifierSettings_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(identifierSettings_);
+                identifierSettings_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder subBuilder = null;
-            if (languageOptionsCase_ == 10) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_).toBuilder();
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                specialTokenMap_ =
+                    com.google.protobuf.MapField.newMapField(
+                        SpecialTokenMapDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry specialTokenMap__ =
+                  input.readMessage(
+                      SpecialTokenMapDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              specialTokenMap_
+                  .getMutableMap()
+                  .put(specialTokenMap__.getKey(), specialTokenMap__.getValue());
+              break;
             }
-            languageOptions_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_);
-              languageOptions_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.Filter.Builder subBuilder = null;
+              if (filter_ != null) {
+                subBuilder = filter_.toBuilder();
+              }
+              filter_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.Filter.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(filter_);
+                filter_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            languageOptionsCase_ = 10;
-            break;
-          }
-          case 90: {
-            com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder subBuilder = null;
-            if (languageOptionsCase_ == 11) {
-              subBuilder = ((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_).toBuilder();
+          case 82:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder subBuilder = null;
+              if (languageOptionsCase_ == 10) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_)
+                        .toBuilder();
+              }
+              languageOptions_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_);
+                languageOptions_ = subBuilder.buildPartial();
+              }
+              languageOptionsCase_ = 10;
+              break;
             }
-            languageOptions_ =
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.BteqOptions.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_);
-              languageOptions_ = subBuilder.buildPartial();
+          case 90:
+            {
+              com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder subBuilder = null;
+              if (languageOptionsCase_ == 11) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_)
+                        .toBuilder();
+              }
+              languageOptions_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.BteqOptions.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_);
+                languageOptions_ = subBuilder.buildPartial();
+              }
+              languageOptionsCase_ = 11;
+              break;
             }
-            languageOptionsCase_ = 11;
-            break;
-          }
-          case 98: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              filePaths_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 98:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                filePaths_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              filePaths_.add(
+                  input.readMessage(
+                      com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.parser(),
+                      extensionRegistry));
+              break;
             }
-            filePaths_.add(
-                input.readMessage(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.parser(), extensionRegistry));
-            break;
-          }
-          case 106: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 106:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            translationExceptionTable_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              translationExceptionTable_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -180,8 +232,7 @@ private TranslationTaskDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         filePaths_ = java.util.Collections.unmodifiableList(filePaths_);
@@ -190,41 +241,47 @@ private TranslationTaskDetails(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 6:
         return internalGetSpecialTokenMap();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
+    return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
+        .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
+            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class,
+            com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The file encoding types.
    * 
* - * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding} + * Protobuf enum {@code + * google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding} */ - public enum FileEncoding - implements com.google.protobuf.ProtocolMessageEnum { + public enum FileEncoding implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * File encoding setting is not specified.
      * 
@@ -233,6 +290,8 @@ public enum FileEncoding */ FILE_ENCODING_UNSPECIFIED(0), /** + * + * *
      * File encoding is UTF_8.
      * 
@@ -241,6 +300,8 @@ public enum FileEncoding */ UTF_8(1), /** + * + * *
      * File encoding is ISO_8859_1.
      * 
@@ -249,6 +310,8 @@ public enum FileEncoding */ ISO_8859_1(2), /** + * + * *
      * File encoding is US_ASCII.
      * 
@@ -257,6 +320,8 @@ public enum FileEncoding */ US_ASCII(3), /** + * + * *
      * File encoding is UTF_16.
      * 
@@ -265,6 +330,8 @@ public enum FileEncoding */ UTF_16(4), /** + * + * *
      * File encoding is UTF_16LE.
      * 
@@ -273,6 +340,8 @@ public enum FileEncoding */ UTF_16LE(5), /** + * + * *
      * File encoding is UTF_16BE.
      * 
@@ -284,6 +353,8 @@ public enum FileEncoding ; /** + * + * *
      * File encoding setting is not specified.
      * 
@@ -292,6 +363,8 @@ public enum FileEncoding */ public static final int FILE_ENCODING_UNSPECIFIED_VALUE = 0; /** + * + * *
      * File encoding is UTF_8.
      * 
@@ -300,6 +373,8 @@ public enum FileEncoding */ public static final int UTF_8_VALUE = 1; /** + * + * *
      * File encoding is ISO_8859_1.
      * 
@@ -308,6 +383,8 @@ public enum FileEncoding */ public static final int ISO_8859_1_VALUE = 2; /** + * + * *
      * File encoding is US_ASCII.
      * 
@@ -316,6 +393,8 @@ public enum FileEncoding */ public static final int US_ASCII_VALUE = 3; /** + * + * *
      * File encoding is UTF_16.
      * 
@@ -324,6 +403,8 @@ public enum FileEncoding */ public static final int UTF_16_VALUE = 4; /** + * + * *
      * File encoding is UTF_16LE.
      * 
@@ -332,6 +413,8 @@ public enum FileEncoding */ public static final int UTF_16LE_VALUE = 5; /** + * + * *
      * File encoding is UTF_16BE.
      * 
@@ -340,7 +423,6 @@ public enum FileEncoding */ public static final int UTF_16BE_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -365,53 +447,59 @@ public static FileEncoding valueOf(int value) { */ public static FileEncoding forNumber(int value) { switch (value) { - case 0: return FILE_ENCODING_UNSPECIFIED; - case 1: return UTF_8; - case 2: return ISO_8859_1; - case 3: return US_ASCII; - case 4: return UTF_16; - case 5: return UTF_16LE; - case 6: return UTF_16BE; - default: return null; + case 0: + return FILE_ENCODING_UNSPECIFIED; + case 1: + return UTF_8; + case 2: + return ISO_8859_1; + case 3: + return US_ASCII; + case 4: + return UTF_16; + case 5: + return UTF_16LE; + case 6: + return UTF_16BE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - FileEncoding> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FileEncoding findValueByNumber(int number) { - return FileEncoding.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FileEncoding findValueByNumber(int number) { + return FileEncoding.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor() + .getEnumTypes() + .get(0); } private static final FileEncoding[] VALUES = values(); - public static FileEncoding valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FileEncoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -429,15 +517,18 @@ private FileEncoding(int value) { } /** + * + * *
    * The special token data type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType} */ - public enum TokenType - implements com.google.protobuf.ProtocolMessageEnum { + public enum TokenType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Token type is not specified.
      * 
@@ -446,6 +537,8 @@ public enum TokenType */ TOKEN_TYPE_UNSPECIFIED(0), /** + * + * *
      * Token type as string.
      * 
@@ -454,6 +547,8 @@ public enum TokenType */ STRING(1), /** + * + * *
      * Token type as integer.
      * 
@@ -462,6 +557,8 @@ public enum TokenType */ INT64(2), /** + * + * *
      * Token type as numeric.
      * 
@@ -470,6 +567,8 @@ public enum TokenType */ NUMERIC(3), /** + * + * *
      * Token type as boolean.
      * 
@@ -478,6 +577,8 @@ public enum TokenType */ BOOL(4), /** + * + * *
      * Token type as float.
      * 
@@ -486,6 +587,8 @@ public enum TokenType */ FLOAT64(5), /** + * + * *
      * Token type as date.
      * 
@@ -494,6 +597,8 @@ public enum TokenType */ DATE(6), /** + * + * *
      * Token type as timestamp.
      * 
@@ -505,6 +610,8 @@ public enum TokenType ; /** + * + * *
      * Token type is not specified.
      * 
@@ -513,6 +620,8 @@ public enum TokenType */ public static final int TOKEN_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Token type as string.
      * 
@@ -521,6 +630,8 @@ public enum TokenType */ public static final int STRING_VALUE = 1; /** + * + * *
      * Token type as integer.
      * 
@@ -529,6 +640,8 @@ public enum TokenType */ public static final int INT64_VALUE = 2; /** + * + * *
      * Token type as numeric.
      * 
@@ -537,6 +650,8 @@ public enum TokenType */ public static final int NUMERIC_VALUE = 3; /** + * + * *
      * Token type as boolean.
      * 
@@ -545,6 +660,8 @@ public enum TokenType */ public static final int BOOL_VALUE = 4; /** + * + * *
      * Token type as float.
      * 
@@ -553,6 +670,8 @@ public enum TokenType */ public static final int FLOAT64_VALUE = 5; /** + * + * *
      * Token type as date.
      * 
@@ -561,6 +680,8 @@ public enum TokenType */ public static final int DATE_VALUE = 6; /** + * + * *
      * Token type as timestamp.
      * 
@@ -569,7 +690,6 @@ public enum TokenType */ public static final int TIMESTAMP_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -594,54 +714,61 @@ public static TokenType valueOf(int value) { */ public static TokenType forNumber(int value) { switch (value) { - case 0: return TOKEN_TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INT64; - case 3: return NUMERIC; - case 4: return BOOL; - case 5: return FLOAT64; - case 6: return DATE; - case 7: return TIMESTAMP; - default: return null; + case 0: + return TOKEN_TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INT64; + case 3: + return NUMERIC; + case 4: + return BOOL; + case 5: + return FLOAT64; + case 6: + return DATE; + case 7: + return TIMESTAMP; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TokenType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TokenType findValueByNumber(int number) { - return TokenType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TokenType findValueByNumber(int number) { + return TokenType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDescriptor() + .getEnumTypes() + .get(1); } private static final TokenType[] VALUES = values(); - public static TokenType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TokenType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -660,13 +787,16 @@ private TokenType(int value) { private int languageOptionsCase_ = 0; private java.lang.Object languageOptions_; + public enum LanguageOptionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TERADATA_OPTIONS(10), BTEQ_OPTIONS(11), LANGUAGEOPTIONS_NOT_SET(0); private final int value; + private LanguageOptionsCase(int value) { this.value = value; } @@ -682,30 +812,36 @@ public static LanguageOptionsCase valueOf(int value) { public static LanguageOptionsCase forNumber(int value) { switch (value) { - case 10: return TERADATA_OPTIONS; - case 11: return BTEQ_OPTIONS; - case 0: return LANGUAGEOPTIONS_NOT_SET; - default: return null; + case 10: + return TERADATA_OPTIONS; + case 11: + return BTEQ_OPTIONS; + case 0: + return LANGUAGEOPTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public LanguageOptionsCase - getLanguageOptionsCase() { - return LanguageOptionsCase.forNumber( - languageOptionsCase_); + public LanguageOptionsCase getLanguageOptionsCase() { + return LanguageOptionsCase.forNumber(languageOptionsCase_); } public static final int TERADATA_OPTIONS_FIELD_NUMBER = 10; /** + * + * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; + * * @return Whether the teradataOptions field is set. */ @java.lang.Override @@ -713,21 +849,26 @@ public boolean hasTeradataOptions() { return languageOptionsCase_ == 10; } /** + * + * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; + * * @return The teradataOptions. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOptions() { if (languageOptionsCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); } /** + * + * *
    * The Teradata SQL specific settings for the translation task.
    * 
@@ -735,20 +876,24 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOp * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getTeradataOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder + getTeradataOptionsOrBuilder() { if (languageOptionsCase_ == 10) { - return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); } public static final int BTEQ_OPTIONS_FIELD_NUMBER = 11; /** + * + * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; + * * @return Whether the bteqOptions field is set. */ @java.lang.Override @@ -756,21 +901,26 @@ public boolean hasBteqOptions() { return languageOptionsCase_ == 11; } /** + * + * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; + * * @return The bteqOptions. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() { if (languageOptionsCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); } /** + * + * *
    * The BTEQ specific settings for the translation task.
    * 
@@ -778,9 +928,10 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder + getBteqOptionsOrBuilder() { if (languageOptionsCase_ == 11) { - return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; + return (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_; } return com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); } @@ -788,11 +939,14 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqO public static final int INPUT_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object inputPath_; /** + * + * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; + * * @return The inputPath. */ @java.lang.Override @@ -801,29 +955,29 @@ public java.lang.String getInputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; } } /** + * + * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; + * * @return The bytes for inputPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputPathBytes() { + public com.google.protobuf.ByteString getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputPath_ = b; return b; } else { @@ -834,11 +988,14 @@ public java.lang.String getInputPath() { public static final int OUTPUT_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object outputPath_; /** + * + * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; + * * @return The outputPath. */ @java.lang.Override @@ -847,29 +1004,29 @@ public java.lang.String getOutputPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; } } /** + * + * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; + * * @return The bytes for outputPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputPathBytes() { + public com.google.protobuf.ByteString getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputPath_ = b; return b; } else { @@ -878,74 +1035,96 @@ public java.lang.String getOutputPath() { } public static final int FILE_PATHS_FIELD_NUMBER = 12; - private java.util.List filePaths_; + private java.util.List + filePaths_; /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ @java.lang.Override - public java.util.List getFilePathsList() { + public java.util.List + getFilePathsList() { return filePaths_; } /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> getFilePathsOrBuilderList() { return filePaths_; } /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ @java.lang.Override public int getFilePathsCount() { return filePaths_.size(); } /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths(int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths( + int index) { return filePaths_.get(index); } /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getFilePathsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder + getFilePathsOrBuilder(int index) { return filePaths_.get(index); } public static final int SCHEMA_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object schemaPath_; /** + * + * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; + * * @return The schemaPath. */ @java.lang.Override @@ -954,30 +1133,30 @@ public java.lang.String getSchemaPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaPath_ = s; return s; } } /** + * + * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; + * * @return The bytes for schemaPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaPathBytes() { + public com.google.protobuf.ByteString getSchemaPathBytes() { java.lang.Object ref = schemaPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schemaPath_ = b; return b; } else { @@ -988,38 +1167,60 @@ public java.lang.String getSchemaPath() { public static final int FILE_ENCODING_FIELD_NUMBER = 4; private int fileEncoding_; /** + * + * *
    * The file encoding type.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return The enum numeric value on the wire for fileEncoding. */ - @java.lang.Override public int getFileEncodingValue() { + @java.lang.Override + public int getFileEncodingValue() { return fileEncoding_; } /** + * + * *
    * The file encoding type.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return The fileEncoding. */ - @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding getFileEncoding() { + @java.lang.Override + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding + getFileEncoding() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf(fileEncoding_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf( + fileEncoding_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding + .UNRECOGNIZED + : result; } public static final int IDENTIFIER_SETTINGS_FIELD_NUMBER = 5; private com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifierSettings_; /** + * + * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * + * * @return Whether the identifierSettings field is set. */ @java.lang.Override @@ -1027,69 +1228,91 @@ public boolean hasIdentifierSettings() { return identifierSettings_ != null; } /** + * + * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * + * * @return The identifierSettings. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getIdentifierSettings() { - return identifierSettings_ == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() : identifierSettings_; + return identifierSettings_ == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() + : identifierSettings_; } /** + * + * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder + getIdentifierSettingsOrBuilder() { return getIdentifierSettings(); } public static final int SPECIAL_TOKEN_MAP_FIELD_NUMBER = 6; + private static final class SpecialTokenMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.ENUM, - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType.TOKEN_TYPE_UNSPECIFIED.getNumber()); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> specialTokenMap_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.ENUM, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + .TOKEN_TYPE_UNSPECIFIED + .getNumber()); + } + + private com.google.protobuf.MapField specialTokenMap_; + private com.google.protobuf.MapField - internalGetSpecialTokenMap() { + internalGetSpecialTokenMap() { if (specialTokenMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SpecialTokenMapDefaultEntryHolder.defaultEntry); } return specialTokenMap_; } - private static final - com.google.protobuf.Internal.MapAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> specialTokenMapValueConverter = + + private static final com.google.protobuf.Internal.MapAdapter.Converter< + java.lang.Integer, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + specialTokenMapValueConverter = com.google.protobuf.Internal.MapAdapter.newEnumConverter( - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType.internalGetValueMap(), - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType.UNRECOGNIZED); - private static final java.util.Map - internalGetAdaptedSpecialTokenMapMap( - java.util.Map map) { + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + .internalGetValueMap(), + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + .UNRECOGNIZED); + + private static final java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + internalGetAdaptedSpecialTokenMapMap(java.util.Map map) { return new com.google.protobuf.Internal.MapAdapter< - java.lang.String, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType, java.lang.Integer>( - map, specialTokenMapValueConverter); + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType, + java.lang.Integer>(map, specialTokenMapValueConverter); } public int getSpecialTokenMapCount() { return internalGetSpecialTokenMap().getMap().size(); } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1099,25 +1322,29 @@ public int getSpecialTokenMapCount() {
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - @java.lang.Override - public boolean containsSpecialTokenMap( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsSpecialTokenMap(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetSpecialTokenMap().getMap().containsKey(key); } - /** - * Use {@link #getSpecialTokenMapMap()} instead. - */ + /** Use {@link #getSpecialTokenMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getSpecialTokenMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getSpecialTokenMap() { return getSpecialTokenMapMap(); } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1127,15 +1354,20 @@ public boolean containsSpecialTokenMap(
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public java.util.Map - getSpecialTokenMapMap() { - return internalGetAdaptedSpecialTokenMapMap( - internalGetSpecialTokenMap().getMap());} + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getSpecialTokenMapMap() { + return internalGetAdaptedSpecialTokenMapMap(internalGetSpecialTokenMap().getMap()); + } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1145,23 +1377,28 @@ public boolean containsSpecialTokenMap(
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetSpecialTokenMap().getMap(); + public /* nullable */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + getSpecialTokenMapOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetSpecialTokenMap().getMap(); return map.containsKey(key) - ? specialTokenMapValueConverter.doForward(map.get(key)) - : defaultValue; + ? specialTokenMapValueConverter.doForward(map.get(key)) + : defaultValue; } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1171,30 +1408,31 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType get
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetSpecialTokenMap().getMap(); + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + getSpecialTokenMapOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return specialTokenMapValueConverter.doForward(map.get(key)); } - /** - * Use {@link #getSpecialTokenMapValueMap()} instead. - */ + /** Use {@link #getSpecialTokenMapValueMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getSpecialTokenMapValue() { + public java.util.Map getSpecialTokenMapValue() { return getSpecialTokenMapValueMap(); } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1204,15 +1442,17 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenT
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public java.util.Map - getSpecialTokenMapValueMap() { + public java.util.Map getSpecialTokenMapValueMap() { return internalGetSpecialTokenMap().getMap(); } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1222,19 +1462,21 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenT
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public int getSpecialTokenMapValueOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetSpecialTokenMap().getMap(); + public int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetSpecialTokenMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -1244,15 +1486,16 @@ public int getSpecialTokenMapValueOrDefault(
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public int getSpecialTokenMapValueOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetSpecialTokenMap().getMap(); + public int getSpecialTokenMapValueOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1262,11 +1505,14 @@ public int getSpecialTokenMapValueOrThrow( public static final int FILTER_FIELD_NUMBER = 7; private com.google.cloud.bigquery.migration.v2alpha.Filter filter_; /** + * + * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -1274,18 +1520,25 @@ public boolean hasFilter() { return filter_ != null; } /** + * + * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; + * * @return The filter. */ @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.Filter getFilter() { - return filter_ == null ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() + : filter_; } /** + * + * *
    * The filter applied to translation details.
    * 
@@ -1300,6 +1553,8 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu public static final int TRANSLATION_EXCEPTION_TABLE_FIELD_NUMBER = 13; private volatile java.lang.Object translationExceptionTable_; /** + * + * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -1308,6 +1563,7 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu
    * 
* * string translation_exception_table = 13; + * * @return The translationExceptionTable. */ @java.lang.Override @@ -1316,14 +1572,15 @@ public java.lang.String getTranslationExceptionTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationExceptionTable_ = s; return s; } } /** + * + * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -1332,16 +1589,15 @@ public java.lang.String getTranslationExceptionTable() {
    * 
* * string translation_exception_table = 13; + * * @return The bytes for translationExceptionTable. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranslationExceptionTableBytes() { + public com.google.protobuf.ByteString getTranslationExceptionTableBytes() { java.lang.Object ref = translationExceptionTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationExceptionTable_ = b; return b; } else { @@ -1350,6 +1606,7 @@ public java.lang.String getTranslationExceptionTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1361,8 +1618,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputPath_); } @@ -1372,26 +1628,27 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaPath_); } - if (fileEncoding_ != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.FILE_ENCODING_UNSPECIFIED.getNumber()) { + if (fileEncoding_ + != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding + .FILE_ENCODING_UNSPECIFIED + .getNumber()) { output.writeEnum(4, fileEncoding_); } if (identifierSettings_ != null) { output.writeMessage(5, getIdentifierSettings()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetSpecialTokenMap(), - SpecialTokenMapDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetSpecialTokenMap(), SpecialTokenMapDefaultEntryHolder.defaultEntry, 6); if (filter_ != null) { output.writeMessage(7, getFilter()); } if (languageOptionsCase_ == 10) { - output.writeMessage(10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); + output.writeMessage( + 10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); } if (languageOptionsCase_ == 11) { - output.writeMessage(11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); + output.writeMessage( + 11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); } for (int i = 0; i < filePaths_.size(); i++) { output.writeMessage(12, filePaths_.get(i)); @@ -1417,42 +1674,44 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaPath_); } - if (fileEncoding_ != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.FILE_ENCODING_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, fileEncoding_); + if (fileEncoding_ + != com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding + .FILE_ENCODING_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, fileEncoding_); } if (identifierSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getIdentifierSettings()); - } - for (java.util.Map.Entry entry - : internalGetSpecialTokenMap().getMap().entrySet()) { - com.google.protobuf.MapEntry - specialTokenMap__ = SpecialTokenMapDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, specialTokenMap__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIdentifierSettings()); + } + for (java.util.Map.Entry entry : + internalGetSpecialTokenMap().getMap().entrySet()) { + com.google.protobuf.MapEntry specialTokenMap__ = + SpecialTokenMapDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, specialTokenMap__); } if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getFilter()); } if (languageOptionsCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_); } if (languageOptionsCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_); } for (int i = 0; i < filePaths_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, filePaths_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, filePaths_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(translationExceptionTable_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, translationExceptionTable_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(13, translationExceptionTable_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1462,45 +1721,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other = (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) obj; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other = + (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) obj; - if (!getInputPath() - .equals(other.getInputPath())) return false; - if (!getOutputPath() - .equals(other.getOutputPath())) return false; - if (!getFilePathsList() - .equals(other.getFilePathsList())) return false; - if (!getSchemaPath() - .equals(other.getSchemaPath())) return false; + if (!getInputPath().equals(other.getInputPath())) return false; + if (!getOutputPath().equals(other.getOutputPath())) return false; + if (!getFilePathsList().equals(other.getFilePathsList())) return false; + if (!getSchemaPath().equals(other.getSchemaPath())) return false; if (fileEncoding_ != other.fileEncoding_) return false; if (hasIdentifierSettings() != other.hasIdentifierSettings()) return false; if (hasIdentifierSettings()) { - if (!getIdentifierSettings() - .equals(other.getIdentifierSettings())) return false; + if (!getIdentifierSettings().equals(other.getIdentifierSettings())) return false; } - if (!internalGetSpecialTokenMap().equals( - other.internalGetSpecialTokenMap())) return false; + if (!internalGetSpecialTokenMap().equals(other.internalGetSpecialTokenMap())) return false; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getFilter().equals(other.getFilter())) return false; } - if (!getTranslationExceptionTable() - .equals(other.getTranslationExceptionTable())) return false; + if (!getTranslationExceptionTable().equals(other.getTranslationExceptionTable())) return false; if (!getLanguageOptionsCase().equals(other.getLanguageOptionsCase())) return false; switch (languageOptionsCase_) { case 10: - if (!getTeradataOptions() - .equals(other.getTeradataOptions())) return false; + if (!getTeradataOptions().equals(other.getTeradataOptions())) return false; break; case 11: - if (!getBteqOptions() - .equals(other.getBteqOptions())) return false; + if (!getBteqOptions().equals(other.getBteqOptions())) return false; break; case 0: default: @@ -1560,96 +1810,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The translation task config to capture necessary settings for a translation
    * task and subtask.
@@ -1657,61 +1916,62 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
       com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 6:
           return internalGetSpecialTokenMap();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 6:
           return internalGetMutableSpecialTokenMap();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
+              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.class,
+              com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder()
+    // Construct using
+    // com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getFilePathsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1750,14 +2010,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto.internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskProto
+          .internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance();
+    public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -1771,7 +2033,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails build(
 
     @java.lang.Override
     public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails buildPartial() {
-      com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails result = new com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails(this);
+      com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails result =
+          new com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails(this);
       int from_bitField0_ = bitField0_;
       if (languageOptionsCase_ == 10) {
         if (teradataOptionsBuilder_ == null) {
@@ -1822,46 +2085,51 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) {
-        return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other) {
-      if (other == com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails other) {
+      if (other
+          == com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
+              .getDefaultInstance()) return this;
       if (!other.getInputPath().isEmpty()) {
         inputPath_ = other.inputPath_;
         onChanged();
@@ -1888,9 +2156,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Translation
             filePathsBuilder_ = null;
             filePaths_ = other.filePaths_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            filePathsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFilePathsFieldBuilder() : null;
+            filePathsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFilePathsFieldBuilder()
+                    : null;
           } else {
             filePathsBuilder_.addAllMessages(other.filePaths_);
           }
@@ -1906,8 +2175,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Translation
       if (other.hasIdentifierSettings()) {
         mergeIdentifierSettings(other.getIdentifierSettings());
       }
-      internalGetMutableSpecialTokenMap().mergeFrom(
-          other.internalGetSpecialTokenMap());
+      internalGetMutableSpecialTokenMap().mergeFrom(other.internalGetSpecialTokenMap());
       if (other.hasFilter()) {
         mergeFilter(other.getFilter());
       }
@@ -1916,17 +2184,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.Translation
         onChanged();
       }
       switch (other.getLanguageOptionsCase()) {
-        case TERADATA_OPTIONS: {
-          mergeTeradataOptions(other.getTeradataOptions());
-          break;
-        }
-        case BTEQ_OPTIONS: {
-          mergeBteqOptions(other.getBteqOptions());
-          break;
-        }
-        case LANGUAGEOPTIONS_NOT_SET: {
-          break;
-        }
+        case TERADATA_OPTIONS:
+          {
+            mergeTeradataOptions(other.getTeradataOptions());
+            break;
+          }
+        case BTEQ_OPTIONS:
+          {
+            mergeBteqOptions(other.getBteqOptions());
+            break;
+          }
+        case LANGUAGEOPTIONS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1947,7 +2218,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1956,12 +2229,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int languageOptionsCase_ = 0;
     private java.lang.Object languageOptions_;
-    public LanguageOptionsCase
-        getLanguageOptionsCase() {
-      return LanguageOptionsCase.forNumber(
-          languageOptionsCase_);
+
+    public LanguageOptionsCase getLanguageOptionsCase() {
+      return LanguageOptionsCase.forNumber(languageOptionsCase_);
     }
 
     public Builder clearLanguageOptions() {
@@ -1974,13 +2247,19 @@ public Builder clearLanguageOptions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder> teradataOptionsBuilder_;
+            com.google.cloud.bigquery.migration.v2alpha.TeradataOptions,
+            com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder,
+            com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder>
+        teradataOptionsBuilder_;
     /**
+     *
+     *
      * 
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; + * * @return Whether the teradataOptions field is set. */ @java.lang.Override @@ -1988,11 +2267,14 @@ public boolean hasTeradataOptions() { return languageOptionsCase_ == 10; } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; + * * @return The teradataOptions. */ @java.lang.Override @@ -2010,13 +2292,16 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOp } } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - public Builder setTeradataOptions(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { + public Builder setTeradataOptions( + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { if (teradataOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2030,6 +2315,8 @@ public Builder setTeradataOptions(com.google.cloud.bigquery.migration.v2alpha.Te return this; } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2048,18 +2335,27 @@ public Builder setTeradataOptions( return this; } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - public Builder mergeTeradataOptions(com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { + public Builder mergeTeradataOptions( + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions value) { if (teradataOptionsBuilder_ == null) { - if (languageOptionsCase_ == 10 && - languageOptions_ != com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance()) { - languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.newBuilder((com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_) - .mergeFrom(value).buildPartial(); + if (languageOptionsCase_ == 10 + && languageOptions_ + != com.google.cloud.bigquery.migration.v2alpha.TeradataOptions + .getDefaultInstance()) { + languageOptions_ = + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.newBuilder( + (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) + languageOptions_) + .mergeFrom(value) + .buildPartial(); } else { languageOptions_ = value; } @@ -2075,6 +2371,8 @@ public Builder mergeTeradataOptions(com.google.cloud.bigquery.migration.v2alpha. return this; } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2098,16 +2396,21 @@ public Builder clearTeradataOptions() { return this; } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder getTeradataOptionsBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder + getTeradataOptionsBuilder() { return getTeradataOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2115,7 +2418,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder getTe * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getTeradataOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder + getTeradataOptionsOrBuilder() { if ((languageOptionsCase_ == 10) && (teradataOptionsBuilder_ != null)) { return teradataOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2126,6 +2430,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getT } } /** + * + * *
      * The Teradata SQL specific settings for the translation task.
      * 
@@ -2133,32 +2439,45 @@ public com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getT * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, + com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder> getTeradataOptionsFieldBuilder() { if (teradataOptionsBuilder_ == null) { if (!(languageOptionsCase_ == 10)) { - languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); + languageOptions_ = + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.getDefaultInstance(); } - teradataOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder>( + teradataOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions, + com.google.cloud.bigquery.migration.v2alpha.TeradataOptions.Builder, + com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.TeradataOptions) languageOptions_, getParentForChildren(), isClean()); languageOptions_ = null; } languageOptionsCase_ = 10; - onChanged();; + onChanged(); + ; return teradataOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.BteqOptions, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> bteqOptionsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.BteqOptions, + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, + com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> + bteqOptionsBuilder_; /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; + * * @return Whether the bteqOptions field is set. */ @java.lang.Override @@ -2166,11 +2485,14 @@ public boolean hasBteqOptions() { return languageOptionsCase_ == 11; } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; + * * @return The bteqOptions. */ @java.lang.Override @@ -2188,6 +2510,8 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions() } } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2208,6 +2532,8 @@ public Builder setBteqOptions(com.google.cloud.bigquery.migration.v2alpha.BteqOp return this; } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2226,6 +2552,8 @@ public Builder setBteqOptions( return this; } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2234,10 +2562,14 @@ public Builder setBteqOptions( */ public Builder mergeBteqOptions(com.google.cloud.bigquery.migration.v2alpha.BteqOptions value) { if (bteqOptionsBuilder_ == null) { - if (languageOptionsCase_ == 11 && - languageOptions_ != com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) { - languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.BteqOptions.newBuilder((com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_) - .mergeFrom(value).buildPartial(); + if (languageOptionsCase_ == 11 + && languageOptions_ + != com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance()) { + languageOptions_ = + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.newBuilder( + (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_) + .mergeFrom(value) + .buildPartial(); } else { languageOptions_ = value; } @@ -2253,6 +2585,8 @@ public Builder mergeBteqOptions(com.google.cloud.bigquery.migration.v2alpha.Bteq return this; } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2276,6 +2610,8 @@ public Builder clearBteqOptions() { return this; } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2286,6 +2622,8 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder getBteqOp return getBteqOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2293,7 +2631,8 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder getBteqOp * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqOptionsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder + getBteqOptionsOrBuilder() { if ((languageOptionsCase_ == 11) && (bteqOptionsBuilder_ != null)) { return bteqOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2304,6 +2643,8 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqO } } /** + * + * *
      * The BTEQ specific settings for the translation task.
      * 
@@ -2311,38 +2652,47 @@ public com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqO * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.BteqOptions, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.BteqOptions, + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, + com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder> getBteqOptionsFieldBuilder() { if (bteqOptionsBuilder_ == null) { if (!(languageOptionsCase_ == 11)) { - languageOptions_ = com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); + languageOptions_ = + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.getDefaultInstance(); } - bteqOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.BteqOptions, com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder>( + bteqOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.BteqOptions, + com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder, + com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder>( (com.google.cloud.bigquery.migration.v2alpha.BteqOptions) languageOptions_, getParentForChildren(), isClean()); languageOptions_ = null; } languageOptionsCase_ = 11; - onChanged();; + onChanged(); + ; return bteqOptionsBuilder_; } private java.lang.Object inputPath_ = ""; /** + * + * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; + * * @return The inputPath. */ public java.lang.String getInputPath() { java.lang.Object ref = inputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputPath_ = s; return s; @@ -2351,20 +2701,21 @@ public java.lang.String getInputPath() { } } /** + * + * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; + * * @return The bytes for inputPath. */ - public com.google.protobuf.ByteString - getInputPathBytes() { + public com.google.protobuf.ByteString getInputPathBytes() { java.lang.Object ref = inputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputPath_ = b; return b; } else { @@ -2372,54 +2723,61 @@ public java.lang.String getInputPath() { } } /** + * + * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; + * * @param value The inputPath to set. * @return This builder for chaining. */ - public Builder setInputPath( - java.lang.String value) { + public Builder setInputPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputPath_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; + * * @return This builder for chaining. */ public Builder clearInputPath() { - + inputPath_ = getDefaultInstance().getInputPath(); onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for translation input files.
      * 
* * string input_path = 1; + * * @param value The bytes for inputPath to set. * @return This builder for chaining. */ - public Builder setInputPathBytes( - com.google.protobuf.ByteString value) { + public Builder setInputPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputPath_ = value; onChanged(); return this; @@ -2427,18 +2785,20 @@ public Builder setInputPathBytes( private java.lang.Object outputPath_ = ""; /** + * + * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; + * * @return The outputPath. */ public java.lang.String getOutputPath() { java.lang.Object ref = outputPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputPath_ = s; return s; @@ -2447,20 +2807,21 @@ public java.lang.String getOutputPath() { } } /** + * + * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; + * * @return The bytes for outputPath. */ - public com.google.protobuf.ByteString - getOutputPathBytes() { + public com.google.protobuf.ByteString getOutputPathBytes() { java.lang.Object ref = outputPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputPath_ = b; return b; } else { @@ -2468,79 +2829,97 @@ public java.lang.String getOutputPath() { } } /** + * + * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; + * * @param value The outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPath( - java.lang.String value) { + public Builder setOutputPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputPath_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; + * * @return This builder for chaining. */ public Builder clearOutputPath() { - + outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /** + * + * *
      * The Cloud Storage path for translation output files.
      * 
* * string output_path = 2; + * * @param value The bytes for outputPath to set. * @return This builder for chaining. */ - public Builder setOutputPathBytes( - com.google.protobuf.ByteString value) { + public Builder setOutputPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputPath_ = value; onChanged(); return this; } - private java.util.List filePaths_ = - java.util.Collections.emptyList(); + private java.util.List + filePaths_ = java.util.Collections.emptyList(); + private void ensureFilePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filePaths_ = new java.util.ArrayList(filePaths_); + filePaths_ = + new java.util.ArrayList< + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping>(filePaths_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> filePathsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> + filePathsBuilder_; /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public java.util.List getFilePathsList() { + public java.util.List + getFilePathsList() { if (filePathsBuilder_ == null) { return java.util.Collections.unmodifiableList(filePaths_); } else { @@ -2548,11 +2927,15 @@ public java.util.List * Cloud Storage files to be processed for translation. *
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public int getFilePathsCount() { if (filePathsBuilder_ == null) { @@ -2562,13 +2945,18 @@ public int getFilePathsCount() { } } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths(int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths( + int index) { if (filePathsBuilder_ == null) { return filePaths_.get(index); } else { @@ -2576,11 +2964,15 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFil } } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder setFilePaths( int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { @@ -2597,14 +2989,20 @@ public Builder setFilePaths( return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder setFilePaths( - int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder + builderForValue) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); filePaths_.set(index, builderForValue.build()); @@ -2615,13 +3013,18 @@ public Builder setFilePaths( return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public Builder addFilePaths(com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { + public Builder addFilePaths( + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { if (filePathsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2635,11 +3038,15 @@ public Builder addFilePaths(com.google.cloud.bigquery.migration.v2alpha.Translat return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder addFilePaths( int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping value) { @@ -2656,14 +3063,19 @@ public Builder addFilePaths( return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder addFilePaths( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder builderForValue) { + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder + builderForValue) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); filePaths_.add(builderForValue.build()); @@ -2674,14 +3086,20 @@ public Builder addFilePaths( return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder addFilePaths( - int index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder builderForValue) { + int index, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder + builderForValue) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); filePaths_.add(index, builderForValue.build()); @@ -2692,18 +3110,23 @@ public Builder addFilePaths( return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder addAllFilePaths( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping> + values) { if (filePathsBuilder_ == null) { ensureFilePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filePaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePaths_); onChanged(); } else { filePathsBuilder_.addAllMessages(values); @@ -2711,11 +3134,15 @@ public Builder addAllFilePaths( return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder clearFilePaths() { if (filePathsBuilder_ == null) { @@ -2728,11 +3155,15 @@ public Builder clearFilePaths() { return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ public Builder removeFilePaths(int index) { if (filePathsBuilder_ == null) { @@ -2745,39 +3176,53 @@ public Builder removeFilePaths(int index) { return this; } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder getFilePathsBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder + getFilePathsBuilder(int index) { return getFilePathsFieldBuilder().getBuilder(index); } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getFilePathsOrBuilder( - int index) { + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder + getFilePathsOrBuilder(int index) { if (filePathsBuilder_ == null) { - return filePaths_.get(index); } else { + return filePaths_.get(index); + } else { return filePathsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public java.util.List - getFilePathsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> + getFilePathsOrBuilderList() { if (filePathsBuilder_ != null) { return filePathsBuilder_.getMessageOrBuilderList(); } else { @@ -2785,49 +3230,71 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuild } } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder addFilePathsBuilder() { - return getFilePathsFieldBuilder().addBuilder( - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder + addFilePathsBuilder() { + return getFilePathsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + .getDefaultInstance()); } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder addFilePathsBuilder( - int index) { - return getFilePathsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.getDefaultInstance()); + public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder + addFilePathsBuilder(int index) { + return getFilePathsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping + .getDefaultInstance()); } /** + * + * *
      * Cloud Storage files to be processed for translation.
      * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - public java.util.List - getFilePathsBuilderList() { + public java.util.List< + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder> + getFilePathsBuilderList() { return getFilePathsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> getFilePathsFieldBuilder() { if (filePathsBuilder_ == null) { - filePathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder>( - filePaths_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filePathsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builder, + com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder>( + filePaths_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); filePaths_ = null; } return filePathsBuilder_; @@ -2835,19 +3302,21 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping.Builde private java.lang.Object schemaPath_ = ""; /** + * + * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; + * * @return The schemaPath. */ public java.lang.String getSchemaPath() { java.lang.Object ref = schemaPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaPath_ = s; return s; @@ -2856,21 +3325,22 @@ public java.lang.String getSchemaPath() { } } /** + * + * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; + * * @return The bytes for schemaPath. */ - public com.google.protobuf.ByteString - getSchemaPathBytes() { + public com.google.protobuf.ByteString getSchemaPathBytes() { java.lang.Object ref = schemaPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schemaPath_ = b; return b; } else { @@ -2878,57 +3348,64 @@ public java.lang.String getSchemaPath() { } } /** + * + * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; + * * @param value The schemaPath to set. * @return This builder for chaining. */ - public Builder setSchemaPath( - java.lang.String value) { + public Builder setSchemaPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schemaPath_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; + * * @return This builder for chaining. */ public Builder clearSchemaPath() { - + schemaPath_ = getDefaultInstance().getSchemaPath(); onChanged(); return this; } /** + * + * *
      * The Cloud Storage path to DDL files as table schema to assist semantic
      * translation.
      * 
* * string schema_path = 3; + * * @param value The bytes for schemaPath to set. * @return This builder for chaining. */ - public Builder setSchemaPathBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schemaPath_ = value; onChanged(); return this; @@ -2936,73 +3413,106 @@ public Builder setSchemaPathBytes( private int fileEncoding_ = 0; /** + * + * *
      * The file encoding type.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return The enum numeric value on the wire for fileEncoding. */ - @java.lang.Override public int getFileEncodingValue() { + @java.lang.Override + public int getFileEncodingValue() { return fileEncoding_; } /** + * + * *
      * The file encoding type.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @param value The enum numeric value on the wire for fileEncoding to set. * @return This builder for chaining. */ public Builder setFileEncodingValue(int value) { - + fileEncoding_ = value; onChanged(); return this; } /** + * + * *
      * The file encoding type.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return The fileEncoding. */ @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding getFileEncoding() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding + getFileEncoding() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf(fileEncoding_); - return result == null ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.UNRECOGNIZED : result; + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding result = + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding.valueOf( + fileEncoding_); + return result == null + ? com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding + .UNRECOGNIZED + : result; } /** + * + * *
      * The file encoding type.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @param value The fileEncoding to set. * @return This builder for chaining. */ - public Builder setFileEncoding(com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding value) { + public Builder setFileEncoding( + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding value) { if (value == null) { throw new NullPointerException(); } - + fileEncoding_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The file encoding type.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return This builder for chaining. */ public Builder clearFileEncoding() { - + fileEncoding_ = 0; onChanged(); return this; @@ -3010,41 +3520,58 @@ public Builder clearFileEncoding() { private com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifierSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> identifierSettingsBuilder_; + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> + identifierSettingsBuilder_; /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * + * * @return Whether the identifierSettings field is set. */ public boolean hasIdentifierSettings() { return identifierSettingsBuilder_ != null || identifierSettings_ != null; } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * + * * @return The identifierSettings. */ public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getIdentifierSettings() { if (identifierSettingsBuilder_ == null) { - return identifierSettings_ == null ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() : identifierSettings_; + return identifierSettings_ == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() + : identifierSettings_; } else { return identifierSettingsBuilder_.getMessage(); } } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ - public Builder setIdentifierSettings(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { + public Builder setIdentifierSettings( + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { if (identifierSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3058,11 +3585,14 @@ public Builder setIdentifierSettings(com.google.cloud.bigquery.migration.v2alpha return this; } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ public Builder setIdentifierSettings( com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder builderForValue) { @@ -3076,17 +3606,24 @@ public Builder setIdentifierSettings( return this; } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ - public Builder mergeIdentifierSettings(com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { + public Builder mergeIdentifierSettings( + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings value) { if (identifierSettingsBuilder_ == null) { if (identifierSettings_ != null) { identifierSettings_ = - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.newBuilder(identifierSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.newBuilder( + identifierSettings_) + .mergeFrom(value) + .buildPartial(); } else { identifierSettings_ = value; } @@ -3098,11 +3635,14 @@ public Builder mergeIdentifierSettings(com.google.cloud.bigquery.migration.v2alp return this; } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ public Builder clearIdentifierSettings() { if (identifierSettingsBuilder_ == null) { @@ -3116,69 +3656,87 @@ public Builder clearIdentifierSettings() { return this; } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder getIdentifierSettingsBuilder() { - + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder + getIdentifierSettingsBuilder() { + onChanged(); return getIdentifierSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ - public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder() { + public com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder + getIdentifierSettingsOrBuilder() { if (identifierSettingsBuilder_ != null) { return identifierSettingsBuilder_.getMessageOrBuilder(); } else { - return identifierSettings_ == null ? - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() : identifierSettings_; + return identifierSettings_ == null + ? com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.getDefaultInstance() + : identifierSettings_; } } /** + * + * *
      * The settings for SQL identifiers.
      * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder> getIdentifierSettingsFieldBuilder() { if (identifierSettingsBuilder_ == null) { - identifierSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder>( - getIdentifierSettings(), - getParentForChildren(), - isClean()); + identifierSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings.Builder, + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder>( + getIdentifierSettings(), getParentForChildren(), isClean()); identifierSettings_ = null; } return identifierSettingsBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> specialTokenMap_; + private com.google.protobuf.MapField specialTokenMap_; + private com.google.protobuf.MapField - internalGetSpecialTokenMap() { + internalGetSpecialTokenMap() { if (specialTokenMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SpecialTokenMapDefaultEntryHolder.defaultEntry); } return specialTokenMap_; } + private com.google.protobuf.MapField - internalGetMutableSpecialTokenMap() { - onChanged();; + internalGetMutableSpecialTokenMap() { + onChanged(); + ; if (specialTokenMap_ == null) { - specialTokenMap_ = com.google.protobuf.MapField.newMapField( - SpecialTokenMapDefaultEntryHolder.defaultEntry); + specialTokenMap_ = + com.google.protobuf.MapField.newMapField( + SpecialTokenMapDefaultEntryHolder.defaultEntry); } if (!specialTokenMap_.isMutable()) { specialTokenMap_ = specialTokenMap_.copy(); @@ -3190,6 +3748,8 @@ public int getSpecialTokenMapCount() { return internalGetSpecialTokenMap().getMap().size(); } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3199,25 +3759,29 @@ public int getSpecialTokenMapCount() {
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - @java.lang.Override - public boolean containsSpecialTokenMap( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsSpecialTokenMap(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetSpecialTokenMap().getMap().containsKey(key); } - /** - * Use {@link #getSpecialTokenMapMap()} instead. - */ + /** Use {@link #getSpecialTokenMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getSpecialTokenMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getSpecialTokenMap() { return getSpecialTokenMapMap(); } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3227,15 +3791,20 @@ public boolean containsSpecialTokenMap(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public java.util.Map - getSpecialTokenMapMap() { - return internalGetAdaptedSpecialTokenMapMap( - internalGetSpecialTokenMap().getMap());} + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getSpecialTokenMapMap() { + return internalGetAdaptedSpecialTokenMapMap(internalGetSpecialTokenMap().getMap()); + } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3245,23 +3814,30 @@ public boolean containsSpecialTokenMap(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + .TokenType + getSpecialTokenMapOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetSpecialTokenMap().getMap(); return map.containsKey(key) - ? specialTokenMapValueConverter.doForward(map.get(key)) - : defaultValue; + ? specialTokenMapValueConverter.doForward(map.get(key)) + : defaultValue; } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3271,13 +3847,16 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType get
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + getSpecialTokenMapOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { @@ -3285,16 +3864,15 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenT } return specialTokenMapValueConverter.doForward(map.get(key)); } - /** - * Use {@link #getSpecialTokenMapValueMap()} instead. - */ + /** Use {@link #getSpecialTokenMapValueMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getSpecialTokenMapValue() { + public java.util.Map getSpecialTokenMapValue() { return getSpecialTokenMapValueMap(); } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3304,15 +3882,17 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenT
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public java.util.Map - getSpecialTokenMapValueMap() { + public java.util.Map getSpecialTokenMapValueMap() { return internalGetSpecialTokenMap().getMap(); } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3322,19 +3902,22 @@ public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenT
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public int getSpecialTokenMapValueOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetSpecialTokenMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3344,13 +3927,15 @@ public int getSpecialTokenMapValueOrDefault(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ @java.lang.Override - - public int getSpecialTokenMapValueOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getSpecialTokenMapValueOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetSpecialTokenMap().getMap(); if (!map.containsKey(key)) { @@ -3360,11 +3945,12 @@ public int getSpecialTokenMapValueOrThrow( } public Builder clearSpecialTokenMap() { - internalGetMutableSpecialTokenMap().getMutableMap() - .clear(); + internalGetMutableSpecialTokenMap().getMutableMap().clear(); return this; } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3374,26 +3960,29 @@ public Builder clearSpecialTokenMap() {
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - - public Builder removeSpecialTokenMap( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableSpecialTokenMap().getMutableMap() - .remove(key); + public Builder removeSpecialTokenMap(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableSpecialTokenMap().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableSpecialTokenMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getMutableSpecialTokenMap() { return internalGetAdaptedSpecialTokenMapMap( - internalGetMutableSpecialTokenMap().getMutableMap()); + internalGetMutableSpecialTokenMap().getMutableMap()); } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3403,18 +3992,25 @@ public Builder removeSpecialTokenMap(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ public Builder putSpecialTokenMap( java.lang.String key, com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType value) { - if (key == null) { throw new NullPointerException("map key"); } - - internalGetMutableSpecialTokenMap().getMutableMap() + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableSpecialTokenMap() + .getMutableMap() .put(key, specialTokenMapValueConverter.doBackward(value)); return this; } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3424,24 +4020,27 @@ public Builder putSpecialTokenMap(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ public Builder putAllSpecialTokenMap( - java.util.Map values) { - internalGetAdaptedSpecialTokenMapMap( - internalGetMutableSpecialTokenMap().getMutableMap()) - .putAll(values); + java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + values) { + internalGetAdaptedSpecialTokenMapMap(internalGetMutableSpecialTokenMap().getMutableMap()) + .putAll(values); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableSpecialTokenMapValue() { + public java.util.Map getMutableSpecialTokenMapValue() { return internalGetMutableSpecialTokenMap().getMutableMap(); } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3451,18 +4050,21 @@ public Builder putAllSpecialTokenMap(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - public Builder putSpecialTokenMapValue( - java.lang.String key, - int value) { - if (key == null) { throw new NullPointerException("map key"); } - - internalGetMutableSpecialTokenMap().getMutableMap() - .put(key, value); + public Builder putSpecialTokenMapValue(java.lang.String key, int value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableSpecialTokenMap().getMutableMap().put(key, value); return this; } /** + * + * *
      * The map capturing special tokens to be replaced during translation. The key
      * is special token in string. The value is the token data type. This is used
@@ -3472,45 +4074,59 @@ public Builder putSpecialTokenMapValue(
      * how to parse them into proper structure with type information.
      * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ public Builder putAllSpecialTokenMapValue( java.util.Map values) { - internalGetMutableSpecialTokenMap().getMutableMap() - .putAll(values); + internalGetMutableSpecialTokenMap().getMutableMap().putAll(values); return this; } private com.google.cloud.bigquery.migration.v2alpha.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Filter, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> filterBuilder_; + com.google.cloud.bigquery.migration.v2alpha.Filter, + com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, + com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> + filterBuilder_; /** + * + * *
      * The filter applied to translation details.
      * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; + * * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** + * + * *
      * The filter applied to translation details.
      * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; + * * @return The filter. */ public com.google.cloud.bigquery.migration.v2alpha.Filter getFilter() { if (filterBuilder_ == null) { - return filter_ == null ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() + : filter_; } else { return filterBuilder_.getMessage(); } } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3531,6 +4147,8 @@ public Builder setFilter(com.google.cloud.bigquery.migration.v2alpha.Filter valu return this; } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3549,6 +4167,8 @@ public Builder setFilter( return this; } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3559,7 +4179,9 @@ public Builder mergeFilter(com.google.cloud.bigquery.migration.v2alpha.Filter va if (filterBuilder_ == null) { if (filter_ != null) { filter_ = - com.google.cloud.bigquery.migration.v2alpha.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.migration.v2alpha.Filter.newBuilder(filter_) + .mergeFrom(value) + .buildPartial(); } else { filter_ = value; } @@ -3571,6 +4193,8 @@ public Builder mergeFilter(com.google.cloud.bigquery.migration.v2alpha.Filter va return this; } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3589,6 +4213,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3596,11 +4222,13 @@ public Builder clearFilter() { * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; */ public com.google.cloud.bigquery.migration.v2alpha.Filter.Builder getFilterBuilder() { - + onChanged(); return getFilterFieldBuilder().getBuilder(); } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3611,11 +4239,14 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { - return filter_ == null ? - com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.cloud.bigquery.migration.v2alpha.Filter.getDefaultInstance() + : filter_; } } /** + * + * *
      * The filter applied to translation details.
      * 
@@ -3623,14 +4254,17 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Filter, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> + com.google.cloud.bigquery.migration.v2alpha.Filter, + com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, + com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { - filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.migration.v2alpha.Filter, com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder>( - getFilter(), - getParentForChildren(), - isClean()); + filterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.migration.v2alpha.Filter, + com.google.cloud.bigquery.migration.v2alpha.Filter.Builder, + com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder>( + getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; @@ -3638,6 +4272,8 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu private java.lang.Object translationExceptionTable_ = ""; /** + * + * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -3646,13 +4282,13 @@ public com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBu
      * 
* * string translation_exception_table = 13; + * * @return The translationExceptionTable. */ public java.lang.String getTranslationExceptionTable() { java.lang.Object ref = translationExceptionTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationExceptionTable_ = s; return s; @@ -3661,6 +4297,8 @@ public java.lang.String getTranslationExceptionTable() { } } /** + * + * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -3669,15 +4307,14 @@ public java.lang.String getTranslationExceptionTable() {
      * 
* * string translation_exception_table = 13; + * * @return The bytes for translationExceptionTable. */ - public com.google.protobuf.ByteString - getTranslationExceptionTableBytes() { + public com.google.protobuf.ByteString getTranslationExceptionTableBytes() { java.lang.Object ref = translationExceptionTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationExceptionTable_ = b; return b; } else { @@ -3685,6 +4322,8 @@ public java.lang.String getTranslationExceptionTable() { } } /** + * + * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -3693,20 +4332,22 @@ public java.lang.String getTranslationExceptionTable() {
      * 
* * string translation_exception_table = 13; + * * @param value The translationExceptionTable to set. * @return This builder for chaining. */ - public Builder setTranslationExceptionTable( - java.lang.String value) { + public Builder setTranslationExceptionTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + translationExceptionTable_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -3715,15 +4356,18 @@ public Builder setTranslationExceptionTable(
      * 
* * string translation_exception_table = 13; + * * @return This builder for chaining. */ public Builder clearTranslationExceptionTable() { - + translationExceptionTable_ = getDefaultInstance().getTranslationExceptionTable(); onChanged(); return this; } /** + * + * *
      * Specifies the exact name of the bigquery table ("dataset.table") to be used
      * for surfacing raw translation errors. If the table does not exist, we will
@@ -3732,23 +4376,23 @@ public Builder clearTranslationExceptionTable() {
      * 
* * string translation_exception_table = 13; + * * @param value The bytes for translationExceptionTable to set. * @return This builder for chaining. */ - public Builder setTranslationExceptionTableBytes( - com.google.protobuf.ByteString value) { + public Builder setTranslationExceptionTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + translationExceptionTable_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3758,30 +4402,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) - private static final com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails(); } - public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getDefaultInstance() { + public static com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranslationTaskDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TranslationTaskDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranslationTaskDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TranslationTaskDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3793,9 +4439,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getDefaultInstanceForType() { + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java similarity index 71% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java index 4d5154c..9dba084 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskDetailsOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/translation_task.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TranslationTaskDetailsOrBuilder extends +public interface TranslationTaskDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; + * * @return Whether the teradataOptions field is set. */ boolean hasTeradataOptions(); /** + * + * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; + * * @return The teradataOptions. */ com.google.cloud.bigquery.migration.v2alpha.TeradataOptions getTeradataOptions(); /** + * + * *
    * The Teradata SQL specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10; */ - com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder getTeradataOptionsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.TeradataOptionsOrBuilder + getTeradataOptionsOrBuilder(); /** + * + * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; + * * @return Whether the bteqOptions field is set. */ boolean hasBteqOptions(); /** + * + * *
    * The BTEQ specific settings for the translation task.
    * 
* * .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11; + * * @return The bteqOptions. */ com.google.cloud.bigquery.migration.v2alpha.BteqOptions getBteqOptions(); /** + * + * *
    * The BTEQ specific settings for the translation task.
    * 
@@ -62,158 +95,213 @@ public interface TranslationTaskDetailsOrBuilder extends com.google.cloud.bigquery.migration.v2alpha.BteqOptionsOrBuilder getBteqOptionsOrBuilder(); /** + * + * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; + * * @return The inputPath. */ java.lang.String getInputPath(); /** + * + * *
    * The Cloud Storage path for translation input files.
    * 
* * string input_path = 1; + * * @return The bytes for inputPath. */ - com.google.protobuf.ByteString - getInputPathBytes(); + com.google.protobuf.ByteString getInputPathBytes(); /** + * + * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; + * * @return The outputPath. */ java.lang.String getOutputPath(); /** + * + * *
    * The Cloud Storage path for translation output files.
    * 
* * string output_path = 2; + * * @return The bytes for outputPath. */ - com.google.protobuf.ByteString - getOutputPathBytes(); + com.google.protobuf.ByteString getOutputPathBytes(); /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - java.util.List + java.util.List getFilePathsList(); /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping getFilePaths(int index); /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ int getFilePathsCount(); /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder> getFilePathsOrBuilderList(); /** + * + * *
    * Cloud Storage files to be processed for translation.
    * 
* - * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12; + * */ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getFilePathsOrBuilder( int index); /** + * + * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; + * * @return The schemaPath. */ java.lang.String getSchemaPath(); /** + * + * *
    * The Cloud Storage path to DDL files as table schema to assist semantic
    * translation.
    * 
* * string schema_path = 3; + * * @return The bytes for schemaPath. */ - com.google.protobuf.ByteString - getSchemaPathBytes(); + com.google.protobuf.ByteString getSchemaPathBytes(); /** + * + * *
    * The file encoding type.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return The enum numeric value on the wire for fileEncoding. */ int getFileEncodingValue(); /** + * + * *
    * The file encoding type.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4; + * + * * @return The fileEncoding. */ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding getFileEncoding(); /** + * + * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * + * * @return Whether the identifierSettings field is set. */ boolean hasIdentifierSettings(); /** + * + * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * + * * @return The identifierSettings. */ com.google.cloud.bigquery.migration.v2alpha.IdentifierSettings getIdentifierSettings(); /** + * + * *
    * The settings for SQL identifiers.
    * 
* - * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5; + * */ - com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder(); + com.google.cloud.bigquery.migration.v2alpha.IdentifierSettingsOrBuilder + getIdentifierSettingsOrBuilder(); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -223,10 +311,14 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ int getSpecialTokenMapCount(); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -236,17 +328,20 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder getF
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - */ - boolean containsSpecialTokenMap( - java.lang.String key); - /** - * Use {@link #getSpecialTokenMapMap()} instead. + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ + boolean containsSpecialTokenMap(java.lang.String key); + /** Use {@link #getSpecialTokenMapMap()} instead. */ @java.lang.Deprecated - java.util.Map - getSpecialTokenMap(); + java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getSpecialTokenMap(); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -256,11 +351,17 @@ boolean containsSpecialTokenMap(
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - java.util.Map - getSpecialTokenMapMap(); + java.util.Map< + java.lang.String, + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> + getSpecialTokenMapMap(); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -270,14 +371,20 @@ boolean containsSpecialTokenMap(
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType defaultValue); + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + getSpecialTokenMapOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + defaultValue); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -287,17 +394,18 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType get
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; - */ - com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow( - java.lang.String key); - /** - * Use {@link #getSpecialTokenMapValueMap()} instead. + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ + com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType + getSpecialTokenMapOrThrow(java.lang.String key); + /** Use {@link #getSpecialTokenMapValueMap()} instead. */ @java.lang.Deprecated - java.util.Map - getSpecialTokenMapValue(); + java.util.Map getSpecialTokenMapValue(); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -307,11 +415,14 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType get
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - java.util.Map - getSpecialTokenMapValueMap(); + java.util.Map getSpecialTokenMapValueMap(); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -321,13 +432,14 @@ com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType get
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - - int getSpecialTokenMapValueOrDefault( - java.lang.String key, - int defaultValue); + int getSpecialTokenMapValueOrDefault(java.lang.String key, int defaultValue); /** + * + * *
    * The map capturing special tokens to be replaced during translation. The key
    * is special token in string. The value is the token data type. This is used
@@ -337,31 +449,39 @@ int getSpecialTokenMapValueOrDefault(
    * how to parse them into proper structure with type information.
    * 
* - * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * + * map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6; + * */ - - int getSpecialTokenMapValueOrThrow( - java.lang.String key); + int getSpecialTokenMapValueOrThrow(java.lang.String key); /** + * + * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
    * The filter applied to translation details.
    * 
* * .google.cloud.bigquery.migration.v2alpha.Filter filter = 7; + * * @return The filter. */ com.google.cloud.bigquery.migration.v2alpha.Filter getFilter(); /** + * + * *
    * The filter applied to translation details.
    * 
@@ -371,6 +491,8 @@ int getSpecialTokenMapValueOrThrow( com.google.cloud.bigquery.migration.v2alpha.FilterOrBuilder getFilterOrBuilder(); /** + * + * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -379,10 +501,13 @@ int getSpecialTokenMapValueOrThrow(
    * 
* * string translation_exception_table = 13; + * * @return The translationExceptionTable. */ java.lang.String getTranslationExceptionTable(); /** + * + * *
    * Specifies the exact name of the bigquery table ("dataset.table") to be used
    * for surfacing raw translation errors. If the table does not exist, we will
@@ -391,10 +516,11 @@ int getSpecialTokenMapValueOrThrow(
    * 
* * string translation_exception_table = 13; + * * @return The bytes for translationExceptionTable. */ - com.google.protobuf.ByteString - getTranslationExceptionTableBytes(); + com.google.protobuf.ByteString getTranslationExceptionTableBytes(); - public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase(); + public com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.LanguageOptionsCase + getLanguageOptionsCase(); } diff --git a/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java new file mode 100644 index 0000000..17ebdd7 --- /dev/null +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java @@ -0,0 +1,228 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/migration/v2alpha/translation_task.proto + +package com.google.cloud.bigquery.migration.v2alpha; + +public final class TranslationTaskProto { + private TranslationTaskProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n>google/cloud/bigquery/migration/v2alph" + + "a/translation_task.proto\022\'google.cloud.b" + + "igquery.migration.v2alpha\"A\n\026Translation" + + "FileMapping\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013outpu" + + "t_path\030\002 \001(\t\"\372\010\n\026TranslationTaskDetails\022" + + "T\n\020teradata_options\030\n \001(\01328.google.cloud" + + ".bigquery.migration.v2alpha.TeradataOpti" + + "onsH\000\022L\n\014bteq_options\030\013 \001(\01324.google.clo" + + "ud.bigquery.migration.v2alpha.BteqOption" + + "sH\000\022\022\n\ninput_path\030\001 \001(\t\022\023\n\013output_path\030\002" + + " \001(\t\022S\n\nfile_paths\030\014 \003(\0132?.google.cloud." + + "bigquery.migration.v2alpha.TranslationFi" + + "leMapping\022\023\n\013schema_path\030\003 \001(\t\022c\n\rfile_e" + + "ncoding\030\004 \001(\0162L.google.cloud.bigquery.mi" + + "gration.v2alpha.TranslationTaskDetails.F" + + "ileEncoding\022X\n\023identifier_settings\030\005 \001(\013" + + "2;.google.cloud.bigquery.migration.v2alp" + + "ha.IdentifierSettings\022o\n\021special_token_m" + + "ap\030\006 \003(\0132T.google.cloud.bigquery.migrati" + + "on.v2alpha.TranslationTaskDetails.Specia" + + "lTokenMapEntry\022?\n\006filter\030\007 \001(\0132/.google." + + "cloud.bigquery.migration.v2alpha.Filter\022" + + "#\n\033translation_exception_table\030\r \001(\t\032\201\001\n" + + "\024SpecialTokenMapEntry\022\013\n\003key\030\001 \001(\t\022X\n\005va" + + "lue\030\002 \001(\0162I.google.cloud.bigquery.migrat" + + "ion.v2alpha.TranslationTaskDetails.Token" + + "Type:\0028\001\"~\n\014FileEncoding\022\035\n\031FILE_ENCODIN" + + "G_UNSPECIFIED\020\000\022\t\n\005UTF_8\020\001\022\016\n\nISO_8859_1" + + "\020\002\022\014\n\010US_ASCII\020\003\022\n\n\006UTF_16\020\004\022\014\n\010UTF_16LE" + + "\020\005\022\014\n\010UTF_16BE\020\006\"{\n\tTokenType\022\032\n\026TOKEN_T" + + "YPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001\022\t\n\005INT64\020\002" + + "\022\013\n\007NUMERIC\020\003\022\010\n\004BOOL\020\004\022\013\n\007FLOAT64\020\005\022\010\n\004" + + "DATE\020\006\022\r\n\tTIMESTAMP\020\007B\022\n\020language_option" + + "s\"/\n\006Filter\022%\n\035input_file_exclusion_pref" + + "ixes\030\001 \003(\t\"\250\003\n\022IdentifierSettings\022j\n\026out" + + "put_identifier_case\030\001 \001(\0162J.google.cloud" + + ".bigquery.migration.v2alpha.IdentifierSe" + + "ttings.IdentifierCase\022r\n\027identifier_rewr" + + "ite_mode\030\002 \001(\0162Q.google.cloud.bigquery.m" + + "igration.v2alpha.IdentifierSettings.Iden" + + "tifierRewriteMode\"U\n\016IdentifierCase\022\037\n\033I" + + "DENTIFIER_CASE_UNSPECIFIED\020\000\022\014\n\010ORIGINAL" + + "\020\001\022\t\n\005UPPER\020\002\022\t\n\005LOWER\020\003\"[\n\025IdentifierRe" + + "writeMode\022\'\n#IDENTIFIER_REWRITE_MODE_UNS" + + "PECIFIED\020\000\022\010\n\004NONE\020\001\022\017\n\013REWRITE_ALL\020\002\"\021\n" + + "\017TeradataOptions\"\242\002\n\013BteqOptions\022R\n\017proj" + + "ect_dataset\030\001 \001(\01329.google.cloud.bigquer" + + "y.migration.v2alpha.DatasetReference\022\030\n\020" + + "default_path_uri\030\002 \001(\t\022j\n\024file_replaceme" + + "nt_map\030\003 \003(\0132L.google.cloud.bigquery.mig" + + "ration.v2alpha.BteqOptions.FileReplaceme" + + "ntMapEntry\0329\n\027FileReplacementMapEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\":\n\020Dataset" + + "Reference\022\022\n\ndataset_id\030\001 \001(\t\022\022\n\nproject" + + "_id\030\002 \001(\tB\353\001\n+com.google.cloud.bigquery." + + "migration.v2alphaB\024TranslationTaskProtoP" + + "\001ZPgoogle.golang.org/genproto/googleapis" + + "/cloud/bigquery/migration/v2alpha;migrat" + + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" + + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" + + "V2alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationFileMapping_descriptor, + new java.lang.String[] { + "InputPath", "OutputPath", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor, + new java.lang.String[] { + "TeradataOptions", + "BteqOptions", + "InputPath", + "OutputPath", + "FilePaths", + "SchemaPath", + "FileEncoding", + "IdentifierSettings", + "SpecialTokenMap", + "Filter", + "TranslationExceptionTable", + "LanguageOptions", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor = + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TranslationTaskDetails_SpecialTokenMapEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_Filter_descriptor, + new java.lang.String[] { + "InputFileExclusionPrefixes", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_IdentifierSettings_descriptor, + new java.lang.String[] { + "OutputIdentifierCase", "IdentifierRewriteMode", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_TeradataOptions_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor, + new java.lang.String[] { + "ProjectDataset", "DefaultPathUri", "FileReplacementMap", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor = + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_BteqOptions_FileReplacementMapEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_migration_v2alpha_DatasetReference_descriptor, + new java.lang.String[] { + "DatasetId", "ProjectId", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java similarity index 72% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java index 7991be9..a54298f 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValue.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; /** + * + * *
  * A single strongly-typed value.
  * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TypedValue} */ -public final class TypedValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TypedValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2alpha.TypedValue) TypedValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TypedValue.newBuilder() to construct. private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TypedValue() { - } + + private TypedValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TypedValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TypedValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,48 +68,52 @@ private TypedValue( case 0: done = true; break; - case 8: { - value_ = input.readBool(); - valueCase_ = 1; - break; - } - case 16: { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } - case 25: { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } - case 42: { - com.google.api.Distribution.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.api.Distribution) value_).toBuilder(); + case 8: + { + value_ = input.readBool(); + valueCase_ = 1; + break; } - value_ = - input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.api.Distribution) value_); - value_ = subBuilder.buildPartial(); + case 16: + { + value_ = input.readInt64(); + valueCase_ = 2; + break; } - valueCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 25: + { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + break; + } + case 42: + { + com.google.api.Distribution.Builder subBuilder = null; + if (valueCase_ == 5) { + subBuilder = ((com.google.api.Distribution) value_).toBuilder(); + } + value_ = input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.api.Distribution) value_); + value_ = subBuilder.buildPartial(); + } + valueCase_ = 5; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,30 +121,34 @@ private TypedValue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, + com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), @@ -133,6 +157,7 @@ public enum ValueCase DISTRIBUTION_VALUE(5), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -148,33 +173,42 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: return BOOL_VALUE; - case 2: return INT64_VALUE; - case 3: return DOUBLE_VALUE; - case 4: return STRING_VALUE; - case 5: return DISTRIBUTION_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 1: + return BOOL_VALUE; + case 2: + return INT64_VALUE; + case 3: + return DOUBLE_VALUE; + case 4: + return STRING_VALUE; + case 5: + return DISTRIBUTION_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -182,11 +216,14 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ @java.lang.Override @@ -199,11 +236,14 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -211,11 +251,14 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ @java.lang.Override @@ -228,6 +271,8 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -235,6 +280,7 @@ public long getInt64Value() {
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -242,6 +288,8 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -249,6 +297,7 @@ public boolean hasDoubleValue() {
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -261,22 +310,28 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -287,8 +342,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -297,23 +351,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -325,11 +380,14 @@ public java.lang.String getStringValue() { public static final int DISTRIBUTION_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -337,21 +395,26 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ @java.lang.Override public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /** + * + * *
    * A distribution value.
    * 
@@ -361,12 +424,13 @@ public com.google.api.Distribution getDistributionValue() { @java.lang.Override public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,19 +442,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueCase_ == 1) { - output.writeBool( - 1, (boolean)((java.lang.Boolean) value_)); + output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) value_)); + output.writeInt64(2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) value_)); + output.writeDouble(3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -408,26 +468,27 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 1, (boolean)((java.lang.Boolean) value_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) value_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) value_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); } if (valueCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.api.Distribution) value_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.api.Distribution) value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -437,35 +498,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.migration.v2alpha.TypedValue)) { return super.equals(obj); } - com.google.cloud.bigquery.migration.v2alpha.TypedValue other = (com.google.cloud.bigquery.migration.v2alpha.TypedValue) obj; + com.google.cloud.bigquery.migration.v2alpha.TypedValue other = + (com.google.cloud.bigquery.migration.v2alpha.TypedValue) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 4: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 5: - if (!getDistributionValue() - .equals(other.getDistributionValue())) return false; + if (!getDistributionValue().equals(other.getDistributionValue())) return false; break; case 0: default: @@ -484,18 +541,18 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -514,117 +571,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.migration.v2alpha.TypedValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.migration.v2alpha.TypedValue prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2alpha.TypedValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A single strongly-typed value.
    * 
* * Protobuf type {@code google.cloud.bigquery.migration.v2alpha.TypedValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.migration.v2alpha.TypedValue) com.google.cloud.bigquery.migration.v2alpha.TypedValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); + com.google.cloud.bigquery.migration.v2alpha.TypedValue.class, + com.google.cloud.bigquery.migration.v2alpha.TypedValue.Builder.class); } // Construct using com.google.cloud.bigquery.migration.v2alpha.TypedValue.newBuilder() @@ -632,16 +699,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -651,9 +717,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto.internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.migration.v2alpha.MigrationMetricsProto + .internal_static_google_cloud_bigquery_migration_v2alpha_TypedValue_descriptor; } @java.lang.Override @@ -672,7 +738,8 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValue build() { @java.lang.Override public com.google.cloud.bigquery.migration.v2alpha.TypedValue buildPartial() { - com.google.cloud.bigquery.migration.v2alpha.TypedValue result = new com.google.cloud.bigquery.migration.v2alpha.TypedValue(this); + com.google.cloud.bigquery.migration.v2alpha.TypedValue result = + new com.google.cloud.bigquery.migration.v2alpha.TypedValue(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -701,38 +768,39 @@ public com.google.cloud.bigquery.migration.v2alpha.TypedValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.migration.v2alpha.TypedValue) { - return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TypedValue)other); + return mergeFrom((com.google.cloud.bigquery.migration.v2alpha.TypedValue) other); } else { super.mergeFrom(other); return this; @@ -740,33 +808,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.migration.v2alpha.TypedValue other) { - if (other == com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.migration.v2alpha.TypedValue.getDefaultInstance()) + return this; switch (other.getValueCase()) { - case BOOL_VALUE: { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case DISTRIBUTION_VALUE: { - mergeDistributionValue(other.getDistributionValue()); - break; - } - case VALUE_NOT_SET: { - break; - } + case BOOL_VALUE: + { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: + { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case DISTRIBUTION_VALUE: + { + mergeDistributionValue(other.getDistributionValue()); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -787,7 +862,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.migration.v2alpha.TypedValue) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.migration.v2alpha.TypedValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -796,12 +872,12 @@ public Builder mergeFrom( } return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -811,24 +887,29 @@ public Builder clearValue() { return this; } - /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -838,11 +919,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -853,11 +937,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -870,22 +957,28 @@ public Builder clearBoolValue() { } /** + * + * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; + * * @return The int64Value. */ public long getInt64Value() { @@ -895,11 +988,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -910,11 +1006,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * A 64-bit integer. Its range is approximately +/-9.2x10^18.
      * 
* * int64 int64_value = 2; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -927,6 +1026,8 @@ public Builder clearInt64Value() { } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -934,12 +1035,15 @@ public Builder clearInt64Value() {
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -947,6 +1051,7 @@ public boolean hasDoubleValue() {
      * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -956,6 +1061,8 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -963,6 +1070,7 @@ public double getDoubleValue() {
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -973,6 +1081,8 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -980,6 +1090,7 @@ public Builder setDoubleValue(double value) {
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -992,11 +1103,14 @@ public Builder clearDoubleValue() { } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1004,11 +1118,14 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return The stringValue. */ @java.lang.Override @@ -1018,8 +1135,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1030,24 +1146,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1057,30 +1174,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1092,20 +1214,22 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); @@ -1113,13 +1237,19 @@ public Builder setStringValueBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> distributionValueBuilder_; + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder> + distributionValueBuilder_; /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -1127,11 +1257,14 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ @java.lang.Override @@ -1149,6 +1282,8 @@ public com.google.api.Distribution getDistributionValue() { } } /** + * + * *
      * A distribution value.
      * 
@@ -1169,14 +1304,15 @@ public Builder setDistributionValue(com.google.api.Distribution value) { return this; } /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; */ - public Builder setDistributionValue( - com.google.api.Distribution.Builder builderForValue) { + public Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue) { if (distributionValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1187,6 +1323,8 @@ public Builder setDistributionValue( return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1195,10 +1333,11 @@ public Builder setDistributionValue( */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { - if (valueCase_ == 5 && - value_ != com.google.api.Distribution.getDefaultInstance()) { - value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) - .mergeFrom(value).buildPartial(); + if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { + value_ = + com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -1214,6 +1353,8 @@ public Builder mergeDistributionValue(com.google.api.Distribution value) { return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1237,6 +1378,8 @@ public Builder clearDistributionValue() { return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1247,6 +1390,8 @@ public com.google.api.Distribution.Builder getDistributionValueBuilder() { return getDistributionValueFieldBuilder().getBuilder(); } /** + * + * *
      * A distribution value.
      * 
@@ -1265,6 +1410,8 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { } } /** + * + * *
      * A distribution value.
      * 
@@ -1272,26 +1419,30 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { * .google.api.Distribution distribution_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } - distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( - (com.google.api.Distribution) value_, - getParentForChildren(), - isClean()); + distributionValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder>( + (com.google.api.Distribution) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 5; - onChanged();; + onChanged(); + ; return distributionValueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1301,12 +1452,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.migration.v2alpha.TypedValue) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.migration.v2alpha.TypedValue) private static final com.google.cloud.bigquery.migration.v2alpha.TypedValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.migration.v2alpha.TypedValue(); } @@ -1315,16 +1466,16 @@ public static com.google.cloud.bigquery.migration.v2alpha.TypedValue getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TypedValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TypedValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1339,6 +1490,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.migration.v2alpha.TypedValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java similarity index 77% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java index faf74ab..656d1f7 100644 --- a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java +++ b/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TypedValueOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/migration/v2alpha/migration_metrics.proto package com.google.cloud.bigquery.migration.v2alpha; -public interface TypedValueOrBuilder extends +public interface TypedValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.TypedValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ boolean getBoolValue(); /** + * + * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * A 64-bit integer. Its range is approximately +/-9.2x10^18.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -53,10 +83,13 @@ public interface TypedValueOrBuilder extends
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately +/-10^(+/-300) and it has 16 significant digits of
@@ -64,58 +97,75 @@ public interface TypedValueOrBuilder extends
    * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ boolean hasDistributionValue(); /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ com.google.api.Distribution getDistributionValue(); /** + * + * *
    * A distribution value.
    * 
diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto b/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto b/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto b/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto b/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto b/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto diff --git a/owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto b/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto similarity index 100% rename from owl-bot-staging/v2alpha/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto rename to proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto